Do you know where your variables are? | |
PerlMonks |
Re: Extracting BLAST hits from a list of sequencesby no_slogan (Deacon) |
on Jan 20, 2014 at 00:38 UTC ( [id://1071249]=note: print w/replies, xml ) | Need Help?? |
I know nothing about BLAST files, but it's probably because my $blastcut = substr $blastline, 7;is sometimes an empty string. Maybe do something like this: if ($blastline =~ /$ender/ && $headerline =~ /\Q$blastcut\E/) {or this:
In Section
Seekers of Perl Wisdom
|
|