Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • grillino
    Junior Member
    • Jan 2014
    • 5

    #1

    mpileup -B decreases coverage

    Hi all!!
    I am new in this forum, I am working on Illumina NGS data since recently, and I have some troubles!

    I was using this command:

    samtools mpileup -C50 -q 25 -f reference.fa file.bam > file.mpileup

    when I realised it was producing strange valleys in base quality phred scores in correspondence to mismatches to the reference genome, I now think the BAQ (base alignment quality computation) was responsible for those, so I added the -B option:

    samtools mpileup -B -C50 -q 25 -f reference.fa file.bam > file.mpileup

    Now the valleys in base quality seem to have disappeared, but I see much lower coverage in different regions of the genome… Of course, the 2 commands were used on the very same .bam file, nothing else should be different apart from the -B option…
    I can't see how the -B option can cause the discard of any read, thus the lower coverage I see in my pileup files. Unless in the previous command, the default BAQ computation was disabling some other option, like the -q 25???

    Any help is veeeeery welcome!!
    Thanks a lot!
    grillino
  • grillino
    Junior Member
    • Jan 2014
    • 5

    #2
    Pleaseee!!

    Comment

    • SNPsaurus
      Registered Vendor
      • May 2013
      • 525

      #3
      I also have used the -B option because of how it reduces the quality of all SNPs, it seems. I didn't notice the read loss though (at least, it wasn't obvious enough for me to notice). Do you need to use -C50? Try it without that.
      Providing nextRAD genotyping and PacBio sequencing services. http://snpsaurus.com

      Comment

      • grillino
        Junior Member
        • Jan 2014
        • 5

        #4
        Originally posted by SNPsaurus View Post
        I also have used the -B option because of how it reduces the quality of all SNPs, it seems. I didn't notice the read loss though (at least, it wasn't obvious enough for me to notice). Do you need to use -C50? Try it without that.

        I am running the same 2 commands without -C50, I'll see what happens…. The effect of decreased coverage was very evident, but I think not everywhere in the genome… It was localised.

        I still can't see how this can be!!

        Comment

        • grillino
          Junior Member
          • Jan 2014
          • 5

          #5
          Originally posted by SNPsaurus View Post
          I also have used the -B option because of how it reduces the quality of all SNPs, it seems. I didn't notice the read loss though (at least, it wasn't obvious enough for me to notice). Do you need to use -C50? Try it without that.


          Actually eliminating -C50 I see intermediate coverage with respect to the combinations "-B -C50" and "-C50" alone.

          At one position I took as example, for different parameter combinations I see this coverage:

          "-C50" coverage = 10
          "-C50 -B" coverage = 2
          "-B" coverage = 5

          So the -C50 is behaving reasonably I guess, if I disable it coverage increases. But why coverage decreases with -B option, given everything else is the same, I cannot see.

          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-22-2026, 11:13 AM
          0 responses
          24 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 10:48 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          36 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...