Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Genbank file parsing

by stajich (Chaplain)
on Jan 11, 2005 at 16:56 UTC ( #421331=note: print w/ replies, xml ) Need Help??


in reply to Genbank file parsing

You can also try not to reinvent the wheel. Bio::SeqIO can parse genbank files.

use Bio::SeqIO; use strict; my $in = Bio::SeqIO->new(-format =>'genbank',-file => $file); # print the sequence from the genbank file while( my $seq = $in->next_seq ) { print $seq->seq(), "\n"; }
Also see Ian Korf's lightweight GenBank parser: GBlite.pm


Comment on Re: Genbank file parsing
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://421331]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (14)
As of 2014-12-19 17:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (90 votes), past polls