Closed RezwanCAAS closed 5 months ago
By default AGAT reads any type of GTF/GFF and creates GFF3 output:
agat_convert_sp_gxf2gxf.pl --gtf infile.gtf -o outfile.gff
By default AGAT reads any type of GTF/GFF and creates GFF3 output:
agat_convert_sp_gxf2gxf.pl --gtf infile.gtf -o outfile.gff
Thank you. it works. but I have another question, this given code is numbering exon or CDS in a series like from position 1 to last position of last genes (~10,000). why not it gives numbering, e.g., a gene has 3 exon and giving number from 1 to 3. if second gene has 5 exon, then numbering should be 1 to 5. what do you think. I share the output of your code results
chr01 AUGUSTUS exon 529102 529191 . - . ID=agat-exon-126;Parent=Sguat.condor.v1.01G00026.1;gene_id=Sguat.condor.v1.01G00026;transcript_id=Sguat.condor.v1.01G00026.1
chr01 AUGUSTUS exon 529318 529404 . - . ID=agat-exon-127;Parent=Sguat.condor.v1.01G00026.1;gene_id=Sguat.condor.v1.01G00026;transcript_id=Sguat.condor.v1.01G00026.1
It's the default behavior. If you wish different Identifier you will have to use then agat_sp_manage_IDs.pl
Keep in mind that ID are supposed to be used only for relationship purpose between the features within GFF/GTF file.
Hi, I have a annotation file in gtf format. How can I convert it into gff3 format. I shared a chunk of data for an example.