Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • washy
    Junior Member
    • Sep 2009
    • 4

    #1

    TopHat "-M" option and Unmapped.bam file

    We have questions regarding TopHat "-M/--prefilter-multihits" option and Unmapped.bam file.

    First, adapter sequences and low quality bases were removed from FASTQ file, all of reads should be mapped on Mouse genome sequences.
    The versioin of TopHat2 and Bowtie2 used in this test were v.2.0.3 and v.2.0.0-beta6 respectively.
    We run TopHat with following options.

    # tophat2 -o $output_dir -G $annotation_gtf -p 2 $bowtie2_index $fastq1 $fastq2

    From this result, only 60% of total reads were without "secondary aligment" flag in BAM file, which means that 60% of reads were correctly mapped to Mouse genome.

    On the other hand, many reads, 30% of total reads were saved into Unmapped.bam.
    Since we don't know why so many reads were saved in Unmapped.bam, we investigated what kind of reads were in Unmapped.bam.
    We found that many kind of Mouse repetitive sequences, such as Transposable element, Ribosomal proteins and Ribosomal rRNAs were in Unmapped.bam.



    From the result, we have three questions regarding "-M" option and Unmapped.bam file.


    ---------------------------------------
    Q1. Was -M option automatically enabled when -G option was used?

    The TopHat Manual told that "-M/--prefilter-multihits" option must be used with -G/--GTF option as follows.
    ------------
    (The following options in this section are only used when the transcriptome search was activated with -G/--GTF and/or --transcriptome-index)

    ------------

    But we didn't use -M option but -G option.
    So, Repetitive sequences (ie, multihit reads) were saved into Unmapped.bam file without -M option.
    "-M" option was automatically enabled when -G option was used?

    ---------------------------------------
    Q2. The filtered reads were dumped into Unmapped.bam file if -M option was used?

    We are wondering why many reads were dumped into Unmapped.bam file.
    Multihit reads were saved into Unmapped.bam file if "-M" option is used?

    ------------
    Q3. How to distinguish between multihit reads and unmapped reads in Unmapped.bam file?

    What kind of reads were dumped in Unmapped.bam file?
    If the sample was contaminated with Bacteria, these Bacterial unmapped reads will be saved in same Unmapped.bam file?
    If so, how to distinguish between multihit reads and Bacterial unmapped reads in Unmapped.bam file?
    ------------


    Thank you for your coperation.
  • hrajasim
    Member
    • Aug 2009
    • 27

    #2
    Originally posted by washy View Post
    We have questions regarding TopHat "-M/--prefilter-multihits" option and Unmapped.bam file.

    First, adapter sequences and low quality bases were removed from FASTQ file, all of reads should be mapped on Mouse genome sequences.
    The versioin of TopHat2 and Bowtie2 used in this test were v.2.0.3 and v.2.0.0-beta6 respectively.
    We run TopHat with following options.

    # tophat2 -o $output_dir -G $annotation_gtf -p 2 $bowtie2_index $fastq1 $fastq2

    From this result, only 60% of total reads were without "secondary aligment" flag in BAM file, which means that 60% of reads were correctly mapped to Mouse genome.

    On the other hand, many reads, 30% of total reads were saved into Unmapped.bam.
    Since we don't know why so many reads were saved in Unmapped.bam, we investigated what kind of reads were in Unmapped.bam.
    We found that many kind of Mouse repetitive sequences, such as Transposable element, Ribosomal proteins and Ribosomal rRNAs were in Unmapped.bam.



    From the result, we have three questions regarding "-M" option and Unmapped.bam file.


    ---------------------------------------
    Q1. Was -M option automatically enabled when -G option was used?

    The TopHat Manual told that "-M/--prefilter-multihits" option must be used with -G/--GTF option as follows.
    ------------
    (The following options in this section are only used when the transcriptome search was activated with -G/--GTF and/or --transcriptome-index)

    ------------

    But we didn't use -M option but -G option.
    So, Repetitive sequences (ie, multihit reads) were saved into Unmapped.bam file without -M option.
    "-M" option was automatically enabled when -G option was used?

    ---------------------------------------
    Q2. The filtered reads were dumped into Unmapped.bam file if -M option was used?

    We are wondering why many reads were dumped into Unmapped.bam file.
    Multihit reads were saved into Unmapped.bam file if "-M" option is used?

    ------------
    Q3. How to distinguish between multihit reads and unmapped reads in Unmapped.bam file?

    What kind of reads were dumped in Unmapped.bam file?
    If the sample was contaminated with Bacteria, these Bacterial unmapped reads will be saved in same Unmapped.bam file?
    If so, how to distinguish between multihit reads and Bacterial unmapped reads in Unmapped.bam file?
    ------------


    Thank you for your coperation.
    This clarification will help many in this forum. Awaiting a response myself.
    Thanks,

    Comment

    • swaraj
      Member
      • Feb 2012
      • 50

      #3
      1. I have noticed that disabling the -M option allows for more reads to map especially in repeat rich regions. I do not think -M is automatically enabled with -G, at least in tophat 2.0.8b which I am using.

      2. The counting of unmapped reads can be accomplished by a combination of samtools and unix. The following command should work

      samtools view file.bam|cut -f 1,3,10|sort|uniq -d|sort -nr > multi.out

      3. You can get the meaning of flags in the output (column 2) file from http://picard.sourceforge.net/explain-flags.html

      ----------******-----------

      Hope it helps.
      Last edited by swaraj; 05-24-2013, 06:24 AM.

      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, Yesterday, 11:13 AM
      0 responses
      16 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, Yesterday, 10:48 AM
      0 responses
      15 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      35 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      42 views
      0 reactions
      Last Post SEQadmin2  
      Working...