Hi! Is there any script or tool that allows to find similar sequences given the maximum acceptable number of mismatches? What I want is something similar to a Blastn search, but instead of filtering with the e-value I want to filter with the number of mismatches. I've tried with Perl regular expressions but I couldn't find a solution. Thanks!
Bio::SearchIO
from bioperl will allow you to do this. In fact there are examples in the How-to that can easily be adapted for this functionality.Thanks, Alastair!