Question: bowtie issues: unable to map significant amount of pairs
gravatar for from the mountains
5.1 years ago by
United States
from the mountains90 wrote:

I am trying to map Illumina paired-end reads of the Bacillus subtilus natto genome to the reference genome. Everything is running smoothly, but I am only able to get 50 mapped reads at best. Here are my commands:

./fastq-dump --split-files ~/DRR000001.sra #Gives Forward and Reverse files

./fastq_quality_filter -Q33 -q 30 -p 70 -i ~/DRR000001_1.fastq -o ~/natto1_trim.fastq

./fastq_quality_filter -Q33 -q 30 -p 70 -i ~/DRR000001_2.fastq -o ~/natto2_trim.fastq

bowtie-build -f bsubtilisnatto.fasta natto

bowtie natto -1 natto1_trim.fastq -2 natto2_trim.fastq pair.sam --al pair.align --un pair.unmapped -l 20 -X 300 --fr -q -t --sam -n 3 --solexa-quals -p 8

The filter leaves about 700,000 and 400,000 reads. The reference fasta file is about 4 Mbp. This may be low, but surely it's not 50 mapped reads low. I've tinkered with the bowtie command, using --rf, --ff, lowering thresholds, ommitting --solexa-quals, all to no avail. 

Your help would be much appreciated!

assembly bowtie illumina • 1.3k views
ADD COMMENTlink modified 5.1 years ago by Brian Bushnell17k • written 5.1 years ago by from the mountains90

"The filter leaves about 700,000 and 400,000 reads" Does it mean that the reads in the two fastq file is not the same after filtering, i.e. the two files are no longer synchronized? If so, this is definitely wrong. If you remove a read from one fastq file you should remove that read also in the other file. Use an adapter and/or quality trimmer that can handle paired files, like cutadapt. Also, I wouldn't use bowtie, if anything bowtie2 or bwa mem (if read longer than 70bp).

ADD REPLYlink written 5.1 years ago by dariober11k
gravatar for geek_y
5.1 years ago by
geek_y11k wrote:

You may need to reorder the reads in both the fastq files after quality filter.

ADD COMMENTlink written 5.1 years ago by geek_y11k

thank you--any tips on how i do this?

ADD REPLYlink written 5.1 years ago by from the mountains90

Though you can reorder reads with, assuming they have standard Illumina names, I'd suggest just starting over with BBDuk instead for quality-trimming: -Xmx1g in=read1.fq in=read2.fq out1=clean1.fq out2=clean2.fq qtrim=rl trimq=10

ADD REPLYlink modified 5.1 years ago • written 5.1 years ago by Brian Bushnell17k
gravatar for Brian Bushnell
5.1 years ago by
Walnut Creek, USA
Brian Bushnell17k wrote:

Bowtie cannot handle indels at all, and only up to 3 mismatches.  If you are mapping against a different strain, for example, perhaps almost nothing would map.  Also, if the insert sizes were short, such that reads have adapter sequence, nothing would map (kind of unlikely with 50bp reads, though).  So typically, I'd advise you to try a more sensitive aligner such as BBMap...  but it seems likely that in this case, in light of the fact that only 50 reads mapped, you are mapping against the wrong genome.  Take a dozen reads or so and BLAST them against nt or something to ensure that they are what you expect, and do the same with the reference, because it's likely that they don't go together.

Oh - and as Geek_y mentioned, the quality filtering you did will probably have destroyed the pairing.  I suggest you use pair-aware quality-filtering programs such as BBDuk and process both files at once, to keep pairs together.  That said, Q30 is very high (too high, IMO) for filtering.  I don't think that reordering will solve the issue, though, as presumably bowtie would have still mapped many reads single-ended.

ADD COMMENTlink modified 5.1 years ago • written 5.1 years ago by Brian Bushnell17k

thanks...i tried the process with a different set of paired-end Illumina reads and its respective genome which I got the exact strain of...still the same issue. and with bwa I get even less mapping. I'm beginning to think it is my trimmer.

ADD REPLYlink written 5.1 years ago by from the mountains90
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1214 users visited in the last hour