Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

secondary alignment flag #139

Open
adthrasher opened this issue Oct 30, 2023 · 0 comments
Open

secondary alignment flag #139

adthrasher opened this issue Oct 30, 2023 · 0 comments

Comments

@adthrasher
Copy link

Hello, and apologies if this duplicates another issue. I searched but didn't see anything.

When running bowtie in a mode to output multiple alignments, I was surprised to see that additional alignments were not given the secondary alignment flag.

When running the following command

bowtie --chunkmbs=256 -l 51 -p 1 -k 2 -m 2 -X 600 --fr -S bowtie_index/GRCh37.p13.genome.fa-index -1 test.r1.fq -2 test.r2.fq

I get the expected 2 alignments. However, I was expecting the second pair of alignment records to have the secondary flag.

A00637:141:HFYKGDRXX:2:2269:27389:25661 99      chr1    953546  255     51M     =       953784  289     GGTGCTGATTGGTGTATTTACAATCCCTGAGCTAGACATAAAGGTTCTCCA     FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF     XA:i:0  MD:Z:51 NM:i:0  XM:i:2
A00637:141:HFYKGDRXX:2:2269:27389:25661 147     chr1    953784  255     51M     =       953546  -289    GGAGGGGGTGGGAGGCTCAGGCATGGTGGGCTGCAGGTCCCCAGCTCTTCC     FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF     XA:i:1  MD:Z:48G2       NM:i:1       XM:i:2
A00637:141:HFYKGDRXX:2:2269:27389:25661 99      chr1    953423  255     51M     =       953784  412     GGTGCTGATTGGTGTATTTACAATCCCTGAGCTAGACATAAAGGTTCTCCA     FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF     XA:i:2  MD:Z:0A4C45     NM:i:2       XM:i:2
A00637:141:HFYKGDRXX:2:2269:27389:25661 147     chr1    953784  255     51M     =       953423  -412    GGAGGGGGTGGGAGGCTCAGGCATGGTGGGCTGCAGGTCCCCAGCTCTTCC     FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF     XA:i:1  MD:Z:48G2       NM:i:1       XM:i:2

Is there an option to enable flagging that I have missed? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant