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

Are you aware of any gb2gtf converter?

genbank gtf conversion python biopython

2 answers

I have written naive gb2gtf converter. You can find it here.
Let me know if you have any comments.

Thanks for the script! I needed a gtf file to use with RSEM and this worked wonderfully. The code is nicely annotated so that I could modify as needed.

BioPerl does have a [?]bp_genbank2gff.pl[?]

You can then convert the GFF to GTF. I am not sure if there is any standardize tool that can do that because GFF can be kinda vague with its formatting. You can use BioPerl again to parse the GFF and convert it to the correct [?]GTF format[?].

Log in to answer this question.