[Biopython-dev] Consumer of "KW" in embl format

Xabier Bello xbello at gmail.com
Tue Mar 12 09:36:35 UTC 2013


I don't know if this is the right way to do this. The code:

records = SeqIO.parse(open("MyFile.embl", "r"), "embl")
for record in records:
    print record.annotations["keywords"]

Doesn't work

I've added to Bio/GenBank/Scanner.py, in _feed_header_lines():

elif line_type == 'KW':

And now it seems to parse the keyword lines.


More information about the Biopython-dev mailing list