http://qs321.pair.com?node_id=484577


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
foreach $qbase ($q_start .. $q_end) # qbase is now a number { if ( ($query_sequence[$qbase] =~ /[nN]/) && ($subj_sequence[$qbase] +!~ /[nN]/) ) { ++$ncount; } }
poj