Hi there,
I am trying to map single-end 33 bp SOLiD data using bwa. I mapped the data using bowtie (-v2 -m1 --best --strata i.e. uniquely mapping reads in the best strata of alignment allowing upto 2 mismatches) and got about 40% of reads mapping. I wanted to try bwa since it supports gapped alignment.
I have a few questions.
1. I have a very large number of reads (4,085,198,187) ... it’s nucleosome mapping data and I want the mapping to be conservative. Its ok if I lose reads but I want the mapping to be accurate. It’s the first time I am trying to use BWA since it is able to do gapped alignments, so I was interested in some suggestions regarding parameters. It seems like the default parameters for bwa aln are reasonably conservative. So do you suggest I just go with them?
The parameters I mainly want feedback on are
-n
-k
-o (max number of gaps)
-e (max gap extensions)
-R
-q
2. Also, I want to keep only uniquely mapping reads. It wasn’t clear to me at which stage this filtering occurs i.e. bwa aln or samse or postprocessing. Is there some parameter in bwa aln that controls this (similar to –m in bowtie)?
–R seems to be control the criterion for proceeding with suboptimal alignments so it doesn’t seem to be exactly what I am looking for?
Or is it the –n parameter in bwa samse?
Or do I have to postprocess the BAM output from bwa samse using the XT/X0 tag?
3. For the XT tag, what is the definition of unique. Is it that the number of hits in the best stratum of alignment must be 1 i.e. X0 tag must take value 1? Or does it mean that the total number of hits (including suboptimal ones) based on the bwa aln parameters must be 1?
4. I’m not clear what the –n INT parameter does in bwa samse : Does that only control what gets written in the XA tag? Or does it also filter out reads that map more than –n INT locations? What is the default value for –n INT? The manual says repetitive hits will be chosen randomly. So for a read that has more than 1 best hit, only one of the locations will be chosen at random and reported?
I apologize if these are naive questions. I did try to find answers online, by reading the manual and in the forum archives but didn’t get any information to my satisfaction.
Your input is greatly appreciated.
Seqanswers Leaderboard Ad
Collapse
Announcement
Collapse
No announcement yet.
X
Latest Articles
Collapse
-
by seqadmin
The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...-
Channel: Articles
02-24-2025, 06:31 AM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, 03-03-2025, 01:15 PM
|
0 responses
170 views
0 likes
|
Last Post
by seqadmin
03-03-2025, 01:15 PM
|
||
Started by seqadmin, 02-28-2025, 12:58 PM
|
0 responses
259 views
0 likes
|
Last Post
by seqadmin
02-28-2025, 12:58 PM
|
||
Started by seqadmin, 02-24-2025, 02:48 PM
|
0 responses
642 views
0 likes
|
Last Post
by seqadmin
02-24-2025, 02:48 PM
|
||
Started by seqadmin, 02-21-2025, 02:46 PM
|
0 responses
265 views
0 likes
|
Last Post
by seqadmin
02-21-2025, 02:46 PM
|