NBISweden / AGAT

Another Gtf/Gff Analysis Toolkit
GNU General Public License v3.0
467 stars 56 forks source link

Chromosome "0" becomes "SEQ" #368

Closed sivasubramanics closed 1 year ago

sivasubramanics commented 1 year ago

Describe the bug While I attempt to convert GFF to GTF, which contains "0" as chromosome name, the output GTF contains "SEQ" instead of "0".

General (please complete the following information):

To Reproduce You can try with any GFF with 0 as sequence name

Expected behavior The sequence name should be retained.

Juke34 commented 1 year ago

Hi,

Sounds a perl problem. 0 is interpreted as false. When the sequence is checked and the value is 0, we think there is no sequence ID so SEQ value is put by default. But I guess this Is BioPerl issue, not related to AGAT.