Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ynwh
    Member
    • Jul 2011
    • 16

    #1

    inconsistency between samtools mpileup and igvtools

    Hi all,
    I'm checking reads mapping coverage on rice genome using IGV but find something strange:
    (1) I generate .tdf file for IGV using the following command:
    igvtools count -z 10 -w 1 a.sorted.bam a.tdf rice.genome
    where rice.genome is the genome file generated by igv

    (2) I generate coverage file using samtools using the following command:
    samtools mpileup -BQ0 -d10000000 -f rice.fasta a.sorted.bam >a.mpileup

    However, I find regions where a.tdf shows reads mapped but a.mpileup does not. The following is an example:

    a.mpileup (mpileup.jpg) suggests no reads mapped between 16097520 and 16103121

    a.tdf (igvtools.jpg) suggests several regions between 16097520 and 16103121 are covered by reads.

    Can anybody explain and solve this problem?

    Many thanks

    Hao
    Attached Files
  • swbarnes2
    Senior Member
    • May 2008
    • 910

    #2
    IGV and mpileup are two different tools, they are probably filtering things differently.

    For starters, I bet mpileup is not showing anomalous pairs, and I bet IGV is.

    So start by getting some read names from IGV, and seeing what their sam entry looks like. Maybe then you can figure out why mpileup isn't putting them where IGV does.

    Comment

    • dariober
      Senior Member
      • May 2010
      • 311

      #3
      I don't if it is relevant to your case... I think mpileup is hard-coded to skip reads with flag 1024 (duplicates).

      Dario

      Comment

      • ynwh
        Member
        • Jul 2011
        • 16

        #4
        Thanks for your advices. Now what I want is to get accurate coverage on each base, what tools and what parameter settings should I use?

        Comment

        • GenoMax
          Senior Member
          • Feb 2008
          • 7142

          #5
          Originally posted by ynwh View Post
          Thanks for your advices. Now what I want is to get accurate coverage on each base, what tools and what parameter settings should I use?
          http://www.biostars.org/p/5165/

          Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc

          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
          26 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          32 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-13-2026, 09:56 AM
          0 responses
          31 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...