Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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?

  • #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

    • seqadmin
      Addressing Off-Target Effects in CRISPR Technologies
      by seqadmin






      The first FDA-approved CRISPR-based therapy marked the transition of therapeutic gene editing from a dream to reality1. CRISPR technologies have streamlined gene editing, and CRISPR screens have become an important approach for identifying genes involved in disease processes2. This technique introduces targeted mutations across numerous genes, enabling large-scale identification of gene functions, interactions, and pathways3. Identifying the full range...
      08-27-2024, 04:44 AM
    • seqadmin
      Selecting and Optimizing mRNA Library Preparations
      by seqadmin



      Sequencing mRNA provides a snapshot of cellular activity, allowing researchers to study the dynamics of cellular processes, compare gene expression across different tissue types, and gain insights into the mechanisms of complex diseases. “mRNA’s central role in the dogma of molecular biology makes it a logical and relevant focus for transcriptomic studies,” stated Sebastian Aguilar Pierlé, Ph.D., Application Development Lead at Inorevia. “One of the major hurdles for...
      08-07-2024, 12:11 PM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 08-27-2024, 04:40 AM
    0 responses
    16 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 08-22-2024, 05:00 AM
    0 responses
    293 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 08-21-2024, 10:49 AM
    0 responses
    135 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 08-19-2024, 05:12 AM
    0 responses
    124 views
    0 likes
    Last Post seqadmin  
    Working...
    X