I have a primer pair and I want to test it against a given set of many target genes. How can I do that while allowing some mismatches?
I tried using primer3 (and primer-blast), but it only found matches where the exact primer sequence is contained in the target sequence. Even if the target sequence contained an 'N', the primer sequence had to also contain an 'N' at the same location to be found by primer3.
To be clear, I don't want to test the primers against some online data base, but against my own local database.
Thanks in advance for your advice!! Rotem
Some mismatches means you allow 1 or 2 mismatches, or does it also matter where in the primer those mismatches are? If I'm not terribly mistaken mismatches at the 5' are better tolerated than 3' mismatches. Do you have some programming experience?
You can try to write a script which first will generate all possible primer sequences with one mismatch, then with two mismatch etc. And then try to align with reference. To do that you can use PrimerMap with a list of all generated primer sequences.
http://www.bioinformatics.org/sms2/primer_map.html