Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • samtools mpileup only uses reads with IsProperPair set to 1?

    Hi,

    I have some questions about the samtools mpileup usage, what kind of filters does it apply before generating the consensus (or variant call)?

    1. it seems all reads with the IsProperPair flag unset (0) are all discarded. Unfortunately, none of the reads in my BAM files has this flag set, so running samtools mpileup gives a blank output.

    2. what about orphan reads (i.e., one read is mapped but not the mate, so it could not possibly be a "proper pair")? Yet, I'd like to incorporate info from these reads to make variant calling

    3. I'd suppose mpileup will discard reads with 0 mapping quality, but just want to confirm

    Thanks,

  • #2
    Does anyone have any opinion on these questions? I just posted a similar question in an independent thread before seeing this one:

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


    I also observed the same number of SNPs from mpileup when not using "-q 1" to filter any reads and when using "-q 1" to filter alignments with mapping quality score 0.

    Any suggestion would be appreciated!

    Comment


    • #3
      I've run into this issue as well. I think it would be helpful if there was a option to allow non-properly paired reads in mpileup.

      Comment


      • #4
        Use "-A" to override the default behaviour.

        Comment

        Latest Articles

        Collapse

        • seqadmin
          New Genomics Tools and Methods Shared at AGBT 2025
          by seqadmin


          This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

          The Headliner
          The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
          03-03-2025, 01:39 PM
        • seqadmin
          Investigating the Gut Microbiome Through Diet and Spatial Biology
          by seqadmin




          The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
          02-24-2025, 06:31 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Today, 07:27 AM
        0 responses
        10 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, Yesterday, 12:50 PM
        0 responses
        14 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 03-03-2025, 01:15 PM
        0 responses
        185 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 02-28-2025, 12:58 PM
        0 responses
        280 views
        0 likes
        Last Post seqadmin  
        Working...
        X