Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Genbank file parsing

by Anonymous Monk
on Jan 11, 2005 at 13:43 UTC ( #421269=note: print w/replies, xml ) Need Help??


in reply to Genbank file parsing

Untested:
while (<FILE>) { $features = $1, next if /FEATURES\s+(\w+)/; $count = $1, next if /COUNT\s+(\w+)/; push @seq, $1 if /^ORIGIN/ .. m!//!; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://421269]
help
Chatterbox?
[1nickt]: perl -wE 'say for map { ... } 1..3;' # "Unimplemented at -e line 1" ... <c>perlsyn says that should throw a syntax error...
[karlgoethebier]: 1nickt: "Edge cases..." Yes, it seems so. Thanks Nick

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2017-11-18 19:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?