View Single Post
Old 06-04-2012, 02:39 AM   #2
arvid
Senior Member
 
Location: Berlin

Join Date: Jul 2011
Posts: 156
Default

If you are able to do a bit of Python coding on your own you could use the bcbio BioPython module for GFF parsing/writing from the following page; there is a description on how to convert GenBank flat format annotation files into GFF3:
http://biopython.org/wiki/GFF_Parsing#Writing_GFF3

Then you could use the GenomeTools (http://genometools.org/) gff3_to_gtf tool to get proper GTF (if necessary, many tools can use GFF3 as well).
I've done this before though I've seen troubles with certain GenBank files, as some features are difficult to correctly translate into GFF3. You might need to manually check that the contents are correct, or filter out stuff that isn't needed in the end, to avoid problems with the GenomeTools converter.
arvid is offline   Reply With Quote