Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • TopHat samtools snp calling

    Hey all,

    I am trying to call SNPs on tophat output and am missing known SNPs with good coverage. I hoping to get advice on tuning samtools/bcftools for RNA-seq data or recommendations for alternative pipelines.

    I have directional, polyA-selected, paired-end 101bp libraries sequenced on an Illumina HiSeq machine. I t used tophat (v1.1.4) to map trimmed reads and samtools (version 0.1.11 (r851)) to sort the accepted.hits.bam file and used mpileup/bcftools (I also tried pileup) to call variants. I followed the suggestions in the samtools manual (samtools mpileup -ugf ref.fa aln.bam | bcftools view -bvcg - > var.raw.bcf
    bcftools view var.raw.bcf | vcfutils.pl varFilter -D 100 > var.flt.vcf), except I played with the -D parameter a bit.

    Using these parameters I call around 22,000 snps. However, I miss around half of a set of known snps with genes.

    As an example, a T to C snp, which I know is in my sample from Sanger on the DNA, didn't show up in this analysis. Even if I call pileup with only -c -f, I can't find this position, which doesn't make any sense to me because I was under the impression that omitting -v would provide information on all covered positions. Using tview, I know that I have 119 reads that cover the position in the bam file and 38 are ref, 79 are C and 2 are G.

    This maybe as good as it gets, but I would appreciate any suggestions on altering samtools parameters or alternative methods. Thanks!

  • #2
    Originally posted by JasonR View Post
    Hey all,

    I am trying to call SNPs on tophat output and am missing known SNPs with good coverage. I hoping to get advice on tuning samtools/bcftools for RNA-seq data or recommendations for alternative pipelines.

    I have directional, polyA-selected, paired-end 101bp libraries sequenced on an Illumina HiSeq machine. I t used tophat (v1.1.4) to map trimmed reads and samtools (version 0.1.11 (r851)) to sort the accepted.hits.bam file and used mpileup/bcftools (I also tried pileup) to call variants. I followed the suggestions in the samtools manual (samtools mpileup -ugf ref.fa aln.bam | bcftools view -bvcg - > var.raw.bcf
    bcftools view var.raw.bcf | vcfutils.pl varFilter -D 100 > var.flt.vcf), except I played with the -D parameter a bit.

    Using these parameters I call around 22,000 snps. However, I miss around half of a set of known snps with genes.

    As an example, a T to C snp, which I know is in my sample from Sanger on the DNA, didn't show up in this analysis. Even if I call pileup with only -c -f, I can't find this position, which doesn't make any sense to me because I was under the impression that omitting -v would provide information on all covered positions. Using tview, I know that I have 119 reads that cover the position in the bam file and 38 are ref, 79 are C and 2 are G.

    This maybe as good as it gets, but I would appreciate any suggestions on altering samtools parameters or alternative methods. Thanks!

    hi,

    do you have any method bypassing this problems now?

    thank you. looking forward to your reply.

    Comment


    • #3
      Hi!
      I've the same problem: known deletion and SNP in a sample that I can't detected by variant calling in RNASeq alignment from Tophat.
      Have you fix the problem?
      Thanx a lot

      Comment


      • #4
        I've just started to do the same thing - call SNPs from RNA-Seq alignments - and ran into the same issue, so I think this still might be useful:

        Try using '-A' flag with samtools mpileup - this flag is well hidden in the man page, because it doesn't start from a new line, but goes after '-6' flag. But you can also see it by simply typing 'samtools mpileup' without any arguments. Also, the following post might be useful (and the first reply to it mentions -A): http://massgenomics.org/2012/03/5-th...s-mpileup.html

        Comment


        • #5
          Try adding -B to the pileup command.

          Sometimes, the BAQ "corrections" eat real SNPs. -B will turn them off.

          Comment


          • #6
            I tried to use either -B or -E (it's also discussed in the link I mentioned), but neither helped. the interval of ~55 bases was missing from the samtools mpileup output, while in fact there are tens of RNA-Seq reads aligned there, with good base and mapping qualities. Even those positions at the flanks of that interval also counted a small fraction of reads (1 or 2 out of many). The SNP I was looking for is a known mutation in a gene (exon), and it's clearly seen in the data (e.g., IGV browser). I was just testing if I see something "obvious" and I didn't ... until I've put '-A'. I think you're right though that -B might give additional improvements if the realignment to transcriptome is not going to work well.

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Essential Discoveries and Tools in Epitranscriptomics
              by seqadmin




              The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
              04-22-2024, 07:01 AM
            • seqadmin
              Current Approaches to Protein Sequencing
              by seqadmin


              Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
              04-04-2024, 04:25 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 11:49 AM
            0 responses
            13 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-24-2024, 08:47 AM
            0 responses
            16 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            61 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            60 views
            0 likes
            Last Post seqadmin  
            Working...
            X