Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JasonR
    Junior Member
    • Mar 2011
    • 1

    #1

    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!
  • chenjy
    Member
    • Oct 2010
    • 22

    #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

    • m_elena_bioinfo
      Member
      • Oct 2009
      • 99

      #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

      • gennadyM
        Junior Member
        • May 2013
        • 2

        #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

        • swbarnes2
          Senior Member
          • May 2008
          • 910

          #5
          Try adding -B to the pileup command.

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

          Comment

          • gennadyM
            Junior Member
            • May 2013
            • 2

            #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

            • 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
            • SEQadmin2
              New Genomics Technologies Take Aim at Long-Standing Limits
              by SEQadmin2


              Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

              We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
              ...
              09-28-2026, 10:25 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 10-22-2026, 11:13 AM
            0 responses
            27 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-22-2026, 10:48 AM
            0 responses
            20 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-15-2026, 10:52 AM
            0 responses
            36 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-14-2026, 05:39 AM
            0 responses
            43 views
            0 reactions
            Last Post SEQadmin2  
            Working...