This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Converting Fasta To Gtf

Hi,

is there a way to convert a fasta file to gtf?

thanks

Tomas

gtf fasta conversion

1 answer

Fasta files give the user sequence data. GTF files give the user coordinate data among other things. They differ by data content, not simply formatting. Unless your fasta file has extra data in the headers that you can use to create a GTF file, there is no straightforward way to convert fasta to GTF.

The other option is to to map your sequences to whatever reference sequence you want and then make a GTF file from the mapping.

As Damian Kao said: OP can map sequences and make a GTF.
Here are some suggestions:

Hi Damian!

Could you tell me how to make a GTF file from mapped reads? Thanks!

Log in to answer this question.