[Biopython] GFF3Writer

Brad Chapman chapmanb at 50mail.com
Fri Apr 8 12:06:55 UTC 2011


Michal;

> I have found only this example
> http://www.biopython.org/wiki/GFF_Parsing#Writing_GFF3 how to write
> Genbank file to GFF3.
> 
> However, I can not find any examples how to generate GFF3 files with
> feature and sub_feature. Are there some examples how to write to
> GFF3?

Thanks for the feedback. I added an example of how to build up
SeqRecord and SeqFeature objects and write them to GFF:

http://www.biopython.org/wiki/GFF_Parsing#Writing_GFF3_from_scratch

I also made a small update to the output code to support numbers and
non-lists in the features, so to run the example code you should
grab the latest version from:

https://github.com/chapmanb/bcbb/tree/master/gff

Hope this helps,
Brad



More information about the Biopython mailing list