Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tulia
    Junior Member
    • Mar 2014
    • 4

    #1

    Bowtie mapped reads all unique

    Hi,

    I am aligning several different sets ChIP-Seq data from an illumina hiseq2500 with bowtie and have found that all the mapped reads are unique when I run SAMTOOLS. This seems a little suspicious.

    This is what I have done so far:
    mapped with bowtie:
    ./bowtie-0.12.7/bowtie -S --fr -p 6 --un unaligned.fastq \
    mm9 \
    sample.fastq \
    accepted_hits.sam 2>filter.bowtie.err

    extract the mapped reads with samtools:
    /share/apps/samtools/samtools view -Sb -F 4 accepted_hits.bam > mapped.bam

    extract the unique reads:
    samtools view -b -q 255 mapped.bam >unique.bam
    also tried
    samtools/samtools view -b -q 1 mapped.bam >unique.bam

    The files where exactly the same for for the mapped.bam and the unique.bam either why I tried it. I then tried to use the bowtie flag -m 10 to include only unique reads and found that this was indeed smaller than my original mapping without the -m 10 flag. Mapping twice however wouldn't be a practical solution as I need to take extract the unique reads out later on.

    I would appreciate any feedback on what may be causing all the mapped reads to be considered unique when I run samtools.
    Last edited by tulia; 03-12-2014, 02:00 PM.
  • TiborNagy
    Senior Member
    • Mar 2010
    • 329

    #2
    Bowtie does not calculate mapping quality, so it is not a good measure:
    Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc

    Comment

    • tulia
      Junior Member
      • Mar 2014
      • 4

      #3
      Thanks for your reply.

      Comment

      • jgreenbaum
        Junior Member
        • Aug 2011
        • 3

        #4
        I believe tulia meant to say '-m 1' instead of '-m 10'.

        In any case, the link that you sent seems to reaffirm that that mapping qualities reported by bowtie are an indication of uniqueness, as does the bowtie manual. In the original mapping results (without specifying '-m 1'), the mapq of all reads is 255, and indeed all read IDs are unique. However, specifying '-m 1' produces a SAM file with only a subset of the output.

        Can anyone explain what the '-m 1' parameter is doing differently than filtering for reads with a 255 mapq? Are we not understanding the parameter correctly?

        Thanks,

        J

        Comment

        • TiborNagy
          Senior Member
          • Mar 2010
          • 329

          #5
          You are right, running bowtie with -m 1 gives unique alignments.

          Comment

          Latest Articles

          Collapse

          • 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
          • SEQadmin2
            New Genomics Technologies Take Aim at Long-Standing Limits
            by SEQadmin2


            Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

            We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
            ...
            09-28-2026, 10:25 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          25 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          31 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-13-2026, 09:56 AM
          0 responses
          28 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-09-2026, 11:14 AM
          0 responses
          28 views
          0 reactions
          Last Post SEQadmin2  
          Working...