in reply to Re: Why does this happen?
in thread Why does this happen?
Because $qbase is a letter, $query_sequence[$qbase] is not valid. To fix it change to this
pojforeach $qbase ($q_start .. $q_end) # qbase is now a number { if ( ($query_sequence[$qbase] =~ /[nN]/) && ($subj_sequence[$qbase] +!~ /[nN]/) ) { ++$ncount; } }
In Section
Seekers of Perl Wisdom