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
            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,...
            10-30-2026, 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, Yesterday, 07:59 AM
          0 responses
          16 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-05-2026, 09:25 AM
          0 responses
          32 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-03-2026, 11:54 AM
          0 responses
          47 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-28-2026, 09:57 AM
          0 responses
          172 views
          0 reactions
          Last Post SEQadmin2  
          Working...