Unconfigured Ad
Collapse
X
-
You'll likely have to contact the original authors. There are a number of undocumented areas of bowtie2 that would require someone to go through all of the source code. It's usually faster to just ask Ben Langmead (just post a synopsis of the reply here so others don't have to bug Ben in the future).
-
Yes, but his point is that there's no reason for that to happen; it makes no sense.Originally posted by mastal View PostIf you look back at your original post, the overall alignment rate increases slightly as you increase -k.
Leave a comment:
-
If you look back at your original post, the overall alignment rate increases slightly as you increase -k.
k is defined slightly differently in bowtie1 and bowtie2.
Leave a comment:
-
issue does not occur in bowtie-1.0.0
sorry to belabor the point but I just wanted to add that I have tested this with bowtie-1.0.0 and changing k does not affect the number of reads which have at least one valid alignment. I found that running bowtie in default reporting mode, or with -k (tried values 2, 10, and 1000), or with -a -m 200, always resulted in the same % of reads with at least one valid alignment (78.71% to be precise, or 76.36% aligned and 2.35% suppressed with -a -m 200 options used).
If it matters for this discussion, I also used -n 2 -l 25 options.
Thanks
Leave a comment:
-
Thanks mastal for the reply, but I understand this is bowtie2 and not bowtie. The manual for bowtie2 states:
So I get that the total number of alignments reported for each read changes, but I don't get why the percentage of reads with at least one valid alignment changes. If I set -k to 2 or 2000 it should not change the fact that x% of reads have one or more valid alignments-k mode: search for one or more alignments, report each
In -k mode, Bowtie 2 searches for up to N distinct, valid alignments for each read, where N equals the integer specified with the -k parameter. That is, if -k 2 is specified, Bowtie 2 will search for at most 2 distinct alignments. It reports all alignments found, in descending order by alignment score. The alignment score for a paired-end alignment equals the sum of the alignment scores of the individual mates. Each reported read or pair alignment beyond the first has the SAM 'secondary' bit (which equals 256) set in its FLAGS field. See the SAM specification for details.
Bowtie 2 does not "find" alignments in any specific order, so for reads that have more than N distinct, valid alignments, Bowtie 2 does not gaurantee that the N alignments reported are the best possible in terms of alignment score. Still, this mode can be effective and fast in situations where the user cares more about whether a read aligns (or aligns a certain number of times) than where exactly it originated.
Leave a comment:
-
Hi,
I think you may be confusing Bowtie(1) and Bowtie2.
The Bowtie2 manual says that -k specifies the number of
alignments bowtie searches for, and it will report all of them,
but if there are more alignments than what it searches for,
they won't be found or reported.
http://bowtie-bio.sourceforge.net/bo...ts-report-each
Leave a comment:
-
bowtie2 changing -k affects overall alignment rate - why?
Hello, and sorry if this question is in the wrong section of the forum or if the answer is obvious to all but me...
I am new to using bowtie2 (2.2.0), aligning ~ 300,000 single-end 454 cDNA reads to a de-novo transcriptome. I am finding that changing the value for -k results in a dramatic change in the overall alignment rate, but it is my understanding that the -k option should only change the number of alignments reported, and not the percentage of reads which have at least one valid alignment.
With all other options as default, and only changing the value for -k, I find the following:
without -k specified (default)
22.69% of reads aligned exactly 1 time
60.52% of reads aligned > 1 times
83.20% overall alignment rate
-k 2
22.23% of reads aligned exactly 1 time
61.70% of reads aligned > 1 times
83.92% overall alignment rate
-k 10
22.02% of reads aligned exactly 1 time
62.25% of reads aligned > 1 times
84.26% overall alignment rate
-k 200
22.02% of reads aligned exactly 1 time
62.29% of reads aligned > 1 times
84.31% overall alignment rate
Granted, this is a small change overall (a few tenths of a percent), but this becomes a bit more dramatic when I use the some settings recommended for RSEM (--very-sensitive --dpad 0 --gbar 99999999 --mp 1,1 --mp 1 --score-min L,0,-0.1) except that -k is varied
-k 2
15.92% of reads aligned exactly 1 time
24.93% of reads aligned > 1 times
40.86% overall alignment rate
-k 10
15.78% of reads aligned exactly 1 time
28.06% of reads aligned > 1 times
43.84% overall alignment rate
-k 200
15.89% of reads aligned exactly 1 time
30.25% of reads aligned > 1 times
46.14% overall alignment rate
-k 1000
15.89% of reads aligned exactly 1 time
30.27% of reads aligned > 1 times
46.16% overall alignment rate
Why do these values change? From reading the manual I believe that the only change will be in the maximum number of alignments per read that get reported. To my mind, a read still has an alignment regardless of whether you report only 1 alignment for that read, or up to 1000, so that the overall alignment rate should not change.
Hoping that someone can shed some light on this. ThanksLast edited by JasonM; 03-06-2014, 05:13 PM.
Latest Articles
Collapse
-
by kinpict.comThe part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
-
Channel: Articles
Today, 06:37 PM -
-
by SEQadmin2
NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...-
Channel: Articles
10-30-2026, 06:46 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, 11-12-2026, 07:59 AM
|
0 responses
28 views
0 reactions
|
Last Post
by SEQadmin2
11-12-2026, 07:59 AM
|
||
|
Started by SEQadmin2, 11-05-2026, 09:25 AM
|
0 responses
35 views
0 reactions
|
Last Post
by SEQadmin2
11-05-2026, 09:25 AM
|
||
|
Started by SEQadmin2, 11-03-2026, 11:54 AM
|
2 responses
56 views
0 reactions
|
Last Post
by kinpict.com
Today, 06:49 PM
|
||
|
Genome Sequencing Reveals Large, Repeat-Rich DNA in Trapdoor Spider Named for Stephen Colbert
by SEQadmin2
Started by SEQadmin2, 10-28-2026, 09:57 AM
|
0 responses
175 views
0 reactions
|
Last Post
by SEQadmin2
10-28-2026, 09:57 AM
|
Leave a comment: