I've been making small modification of your code:
while (<INFILE>) { if (/^>/) { $in_sequence = 1; next; } $dna .= $_ if $in_sequence; } }
Also, I'd like to suggest you look at site of BioPerl if you haven't seen yet it ;)
~ Schiller
In reply to Re: input record separator help
by nite_man
in thread input record separator help
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |