Has anyone else encountered an issue with setting two mismatches on bowtie2, using the -N flag (e.g., -N 2)? The error was:
Error: -N was set to 2, but cannot be set greater than 1
Error: Encountered internal Bowtie 2 exception (#1)
I'm aware that there's a way to filter the resultant SAM file. However, is there an optimal computational way to go about returning output with two mismatches or less in the seed alignment?
P.S. Just to be clear, I'm referring to the "Alignment options" section of the Bowtie2 manual (http://bowtie-bio.sourceforge.net/bowtie2/manual.shtml) (as you can see, it doesn't explicitly forbid two or more mismatches here, it just says it makes the alignment slower.... so the question is: is this a bug in the software or is it an error in the manual?):
Sets the number of mismatches to allowed in a seed alignment during multiseed alignment. Can be set to 0 or 1. Setting this higher makes alignment slower (often much slower) but increases sensitivity. Default: 0.