Closed qifei9 closed 2 years ago
Bowtie seems to be finding the correct alignment, but is somehow reporting the wrong reference name (should be b
, not n
). The SAM flag, NM:i:0
, also supports this since bowtie would report a value of 7 if it aligned against reference n
.
I have not found the exact cause of this issue, but it maybe tied to the --best
parameter since we obtain the correct output with this flag omitted.
I took another shot at this issue and may have found a potential solution. I am not certain whether it scales well to many such reads, but would appreciate if you can test and let me know.
This issue was resolved in v1.3.0.
The reference and a read for test is in test.zip. bowtie version 1.2.3, bowtie2 version 2.3.5.1, linux x86_64.
The command is
When I build the index by
bowtie-build
, the result isIt's a 100% identical alignment.
However, if I build the index by
bowtie2-build
(version 2.3.5.1), the result will beThe alignment is
which does not fit the
-n 0 -l 10
parameter.