Why does `bowtie` only find perfect matches even when specifying mismatches? (ie. `-n 3`)
1
0
Entering edit mode
16 months ago
giova34 ▴ 10

I tried a few methods to align a set of 32-mers against a reference genome, to find where they may potentially align with at most 3 mismatches.

bowtie --sam -v 3 -p 8 --all -f --norc hg38 kmers.fa kmers_aln.sam

When using bowtie, even though I specify the number of mismatches -v 3 and to capture all possible alignments -a, the resultant matches are all perfect matches (CIGAR = 32M). Is there a different parameter I am missing that increases the aligner's sensitivity? Additionally, for personal learning, why isn't bowtie able to capture the mismatches - is it because it only ranks its matches and saves only the exact matches?

ngs alignment bowtie kmer • 507 views
ADD COMMENT
1
Entering edit mode
16 months ago

You can't tell the number of mismatches from the CIGAR. Just insertions, deletions, clippings, etc.

ADD COMMENT

Login before adding your answer.

Traffic: 2386 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