Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PFS
    Member
    • Mar 2010
    • 55

    #1

    Bowtie call to get unique, multi-hits and nonmatching reads

    Hello there,

    I want to estimate (1) the number of reads that map uniquely (in one place only), (2) the number of reads that map in multiple places and (3) the number of reads that do not map at all.

    Is this the correct bowtie call?

    -m 1 --un nomatch_reads.txt -- max multihits_reads.txt

    Thanks!
  • kwatts59
    Member
    • Apr 2011
    • 46

    #2
    First find the number of reads that map at least once. To do this, run bowtie with "-k 1" option. Lets call this number K1.

    Then run bowtie with the "-k 2" option. This will report up to two alignments per read. Lets call this number K2.

    Subtracting the K1 from K2 gives the number of reads that mapped two or more times. Lets call this number K2p.

    To find the number of reads that mapped exactly once, subtract K2p from K1.

    To find the number of reads that did not map at all, just subtract K1 from the total number of reads in your sample.

    Comment

    • chadn737
      Senior Member
      • Jan 2009
      • 392

      #3
      Not sure if this is what you want, but a few months back I wrote a very simple perl script (probably not very good, I'm a biologist not a programmer, so my scripts tend to be brute force approaches) that will take a sam file and spit out the names of the reads that map more than once and how many times they mapped.

      Now I can't even remember what I was using it for, but maybe it will help you get to where you need.
      Attached Files
      Last edited by chadn737; 07-19-2011, 01:21 PM.

      Comment

      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
      14 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 11:13 AM
      0 responses
      67 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      47 views
      0 reactions
      Last Post SEQadmin2  
      Working...