Convertion Of Gff3 To Gtf
1
0
Entering edit mode
3.0 years ago
daalsa98 ▴ 10

Hi, I'm trying to use this tool to match genomic regions to the closest gene (rgMatch) https://bitbucket.org/pfurio/rgmatch/src/master/, in order to compute the associations, RGmatch needs the following information:

  • A GTF annotation file providing the chromosome positions of all the features to be considered (genes, transcripts and exons). This GTF file should include annotations at exon level, that is, the 3rd column of the GTF must contain "exon" tag.
  • List item A BED file containing the regions of interest to be associated to features.

However, I have .GFF3 file, I have already tried to use gffread, but when i try to use rgMatch, with the output of gffread, this happens:

> python3 rgmatch.py -g OE9D.gtf -b 70m.bed -o prueba.txt

I have tried to use bioinfokit toolkit, but when I try to convert my gff3, this happens:

Any help would be appreciated

gtf gff • 1.8k views
ADD COMMENT
1
Entering edit mode
3.0 years ago

you can have a look at the AGAT toolkit AGAT - Another Gff/Gtf Analysis Toolkit , there might be some tool in it that can do this.

ADD COMMENT
0
Entering edit mode

Oh, thanks!, I'll take a look and see if it works

ADD REPLY
2
Entering edit mode

Apparently you should use agat_sp_fix_cds_phases.pl first if you need proper phases, but you need the original fasta file used to create this annotation file to do so.
Then use agat_convert_sp_gff2gtf.pl

ADD REPLY
0
Entering edit mode

So, it kinda worked, but didnt, I followed your advice, and when I tried to run again rgMatch with the new gtf created by AGAT, this happened:

At the end, in KeyError: 'Oe9_s00819', the weird thing It's there is no scaffold Oe9_s00819 in the new gtf, I don't know what it could be happening.

ADD REPLY
0
Entering edit mode

Sounds to be a python problem. Maybe your tool is expecting python 2.7 and not python3.

ADD REPLY
0
Entering edit mode

I've already tried, it happens the same thing

ADD REPLY
0
Entering edit mode

The warning are definitely Python problem. For the error you should try to get in touch with the rgMatch developer.

ADD REPLY
0
Entering edit mode

I will do it, thanks for everything, you have already helped me a lot, really appreciated;)

ADD REPLY

Login before adding your answer.

Traffic: 2695 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6