bowtie mismatch 0 alignment output
1
0
Entering edit mode
3.5 years ago
kb_93 ▴ 10

Hello there!

I'm a little confused with my output from bowtie (not bowtie2) and hoping someone may be able to clarify stuff for me. For my bowtie command I selected no mismatches using the flag -v 0. However, when I look at the output, many alignments in my sam file have XM:i:3 i.e. 3 mismatches in the alignment.

If anyone could please explain why the alignments have mismatches if I selected no mismatches in the command line it would be a great help!

Thanks

sequencing bam sam bowtie rna-seq • 1.7k views
ADD COMMENT
0
Entering edit mode

First of all, why not bowtie2?

ADD REPLY
0
Entering edit mode

I'm aligning small RNAs, so bowtie is more appropriate

ADD REPLY
1
Entering edit mode

Understood. I think you really should add that information to the post. About the mismatches. check this similar but really old post and this not that old one

There are many other posts and I won't stress showing you al of them, instead, you can google around. Good luck

ADD REPLY
0
Entering edit mode
13 months ago
feng10749 • 0

Hi, I‘ve encountered the same question when I aligned my sRNA data using bowtie, and I found that the XM: i: N flag in the output of bowtie actually doesn't represent the number of mismatches, the manual of bowtie says it represents the number of the valid alignments: when there is no alignment, <N> = 0; when -m is specified, <N> = m + 1, which means there are at least that many valid alignments; and when -m is not specified, <N> = the number of alignments +1.

Reference: https://bowtie-bio.sourceforge.net/manual.shtml#default-bowtie-output

ADD COMMENT

Login before adding your answer.

Traffic: 1695 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6