Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nico86
    Junior Member
    • Apr 2013
    • 2

    #1

    How BWA and Bowtie mention unique reads in SAM files?

    Hello everybody,

    I am trying to figure how BWA and Bowtie define a read as unique.
    Making here an algorithm to decide if a read is unique or not is not the purpose. Just to look how BWA and Bowtie mention a read as unique.

    I don't have much experience in using aligners but here is what I understood:
    - BWA: looking at the XT:A:U flag is perfect in my case. I noticed in several SAM files that when this flag is present, X0 is always equal to 1 (which makes sense ).
    - Bowtie: I'm a bit confused and here is my real issue. For now, I check if the XS flag is set or not. It is set only when a second-best alignment is found. So if it is not set: my read is unique…

    I have been looking for a while for that answer and I only found information about "How to get unique reads in Bowtie using command line". But this is in Bowtie; I want to process here its SAM output!

    Am I going wrong somewhere here?
    Is there a better way to figure that out?

    Any help would be greatly appreciated

    Thanks a lot!

    PS: I am not taking into account the MAPQ here since it is the purpose of another filter of my application.

Latest Articles

Collapse

  • SEQadmin2
    16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
    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, detection...
    Today, 06:46 AM
  • SEQadmin2
    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
    by SEQadmin2



    Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

    Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
    ...
    10-14-2026, 09:55 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 10-28-2026, 09:57 AM
0 responses
22 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-28-2026, 09:51 AM
0 responses
15 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 11:13 AM
0 responses
68 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
48 views
0 reactions
Last Post SEQadmin2  
Working...