Oct 22, 2012, 3:55 PM
I see some errors in your program, but, it would be helpful if you could attach a file, (part of your input file), with lines in it that would match LOCUS, ORGANISM and Equinodermata.
Re: [andreiareis] filter huge genbank file by organism
Looking at your program, it is hard to determine what it is you wish to capture, save, etc.
Please try to describe what it is you want to achieve. :-)
Update: I think you are parsing a 'genbank' file. I've attached a sample genbank file. Is this what you are parsing and what do you want from it?
(This post was edited by Chris Charley on Oct 23, 2012, 7:29 AM)