Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (12 sloc) 331 Bytes
#!/usr/bin/env python
from parse_gff3 import parse_gff3
import fasta
import sys
if len(sys.argv) != 3:
print "Usage: %s gff_file output_fasta_file"
g = parse_gff3(sys.argv[1])
f = fasta.Fasta()
for x in g:
f.add_seq(fasta.Sequence( + ' ' + x[0].sequence_name, x.protein_seq))
Jump to Line
Something went wrong with that request. Please try again.