Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peromhc
    Senior Member
    • Sep 2009
    • 108

    #1

    samtools mpileup hates Bowtie2???

    Hi All,

    I have been struggling with an issue where mpileup refuses to work find variation in a given bamfile. In fact, when using the standard mpileup routine described on the samtools website, the vcf file contains only 11 'SNPs', all of which are filtered out by the default conditions in vcfutils.pl step. This is a pooled sample from multiple unrelated individuals (birds), so I know that there is variation.

    Anyway, I had been using Bowtie2, but on a whim, tried Bowtie1, and like magic, now there are 10K SNP's, which is a reasonable number for my study design.

    So, I am wondering, what is it about Bowtie2 that mpileup does not like?

    Here is a SAM entry for a read in bowtie2

    Code:
    HS2:124:C097KACXX:7:2307:12782:66337	113	4	2	42	98M	396128	3022	0	AGCTCCAGCCATTCCCTGGGGGCTGTCCCTGATCATCACAGCCTCTCTGGCCACCCTGGGCTGAGCACGGTGTCTGAGTCTGCTTTGACCCAGGACCA	BC??BBCB@A?BBBBB@BBBBBBCBBECCDEDDD?EC?FEHIIIIIIGIGIGBIHGDGFIIIIHGFDGEGIIIIIIHGFIGHAHGCCAGHFEDDD@@@	AS:i:0	XN:i:0	XM:i:0	XO:i:0	XG:i:0	NM:i:0	MD:Z:98	YS:i:0	YT:Z:DP
    Here is the same read in bowtie1

    Code:
    HS2:124:C097KACXX:7:2307:12782:66337	16	4	2	255	98M	*	0	0	AGCTCCAGCCATTCCCTGGGGGCTGTCCCTGATCATCACAGCCTCTCTGGCCACCCTGGGCTGAGCACGGTGTCTGAGTCTGCTTTGACCCAGGACCA	BC??BBCB@A?BBBBB@BBBBBBCBBECCDEDDD?EC?FEHIIIIIIGIGIGBIHGDGFIIIIHGFDGEGIIIIIIHGFIGHAHGCCAGHFEDDD@@@	XA:i:0	MD:Z:98	NM:i:0
    What do you guys think? Is this a SAM format issue, a bug in mpileup, something else?
  • swbarnes2
    Senior Member
    • May 2008
    • 910

    #2
    Well, for one thing, you didn't align with paired reads in bowtie 1. For another, that read in bowtie2 has a binary flag of 113, which is very strange. That's 64+32+16+1. Basically, it thinks that both of your reads are aligned in the reverse direction, which is an anomalous pair. I think mpileup by default skips anomlous pairs, so if most of your data looks like that, maybe that's why it won't call anything, because your data is so weird-loooking, it's ignoring most of it. Try running mpileup with -A, that allows it to include anomalous pairs.

    Spot-check your bowtie2 .sam file, see how many reads have weird binary flags. The binary flags you want to see are 63, 99, 147, and 163. Most of your reads should have one of those four numbers. If that's not the case, your fastq's are weird.

    Comment

    Latest Articles

    Collapse

    • SEQadmin2
      Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
      by SEQadmin2



      CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

      Despite this, “CRISPR helped turn genome editing from a specialized technique into
      ...
      Yesterday, 11:01 AM
    • SEQadmin2
      Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
      by SEQadmin2


      Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

      The systematic characterization of the human proteome has
      ...
      07-20-2026, 11:48 AM
    • SEQadmin2
      Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
      by SEQadmin2



      Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
      ...
      07-09-2026, 11:10 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, Yesterday, 02:55 AM
    0 responses
    12 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 07-24-2026, 12:17 PM
    0 responses
    12 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 07-23-2026, 11:41 AM
    0 responses
    13 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 07-20-2026, 11:10 AM
    0 responses
    24 views
    0 reactions
    Last Post SEQadmin2  
    Working...