Inconsistency between alignment rates of BWA-mem and bowtie2
1
0
Entering edit mode
3.0 years ago

I have been trying to align a few bacterial species with the human genome to check the alignment rate (using BWA-mem and Bowtie2). However, both tools give very different alignment rates. While using bowtie2 all species have an overall alignment rate < 1% whereas while using bwa-mem, the alignment rates are very high (10% - 30%). Does anyone know why this is happening?

Bowtie NGS BWA • 2.3k views
ADD COMMENT
0
Entering edit mode

align a few bacterial species with the human genome

What exactly does this mean? What form is the query data in? Fastq reads or fasta genomes?

ADD REPLY
0
Entering edit mode

I am using fastq reads of bacterial species against human genome reference

ADD REPLY
1
Entering edit mode

Curious as to the reason behind doing this? Trying to align data to non-homologous reference is going to produce alignments that may be found simply due to chance sequence similarity in short reads.

You also need to pay attention to default parameters that allow certain number of mismatches (likely different for the two programs). This will affect results as you are observing.

ADD REPLY
0
Entering edit mode

Actually, I am trying to find if my samples have any human contamination. That's why I thought of aligning it with a non-homologous reference. As for the parameters, I have used the default parameters for both tools

ADD REPLY
1
Entering edit mode

Better option then would be try and bin the reads using the human genome. You may want to look at removehuman from BBMap suite.

ADD REPLY
6
Entering edit mode
3.0 years ago
Rob 6.5k

Bowtie2, by default, performs global alignment, and BWA-MEM only does local. To compare mapping rates, you should first decide if local makes sense and, if so, run Bowtie2 with the local flag (and appropriate parameters).

ADD COMMENT
2
Entering edit mode

Here are some presets according to the help:

Presets:                 Same as:
  For --end-to-end:
   --very-fast            -D 5 -R 1 -N 0 -L 22 -i S,0,2.50
   --fast                 -D 10 -R 2 -N 0 -L 22 -i S,0,2.50
   --sensitive            -D 15 -R 2 -N 0 -L 22 -i S,1,1.15 (default)
   --very-sensitive       -D 20 -R 3 -N 0 -L 20 -i S,1,0.50

  For --local:
   --very-fast-local      -D 5 -R 1 -N 0 -L 25 -i S,1,2.00
   --fast-local           -D 10 -R 2 -N 0 -L 22 -i S,1,1.75
   --sensitive-local      -D 15 -R 2 -N 0 -L 20 -i S,1,0.75 (default)
   --very-sensitive-local -D 20 -R 3 -N 0 -L 20 -i S,1,0.50
ADD REPLY

Login before adding your answer.

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