Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dagarfield
    Member
    • Aug 2010
    • 39

    #1

    Why are there all these As in my consensus sequence: An issue with samtools pileup

    Hey folks,

    I've run into an interesting problem. I've aligned a bunch of 454 reads from one species against the reference genome of a closely related species. The goal is to construct, the the extent our low-coverage allows, a map of the differences between species A and species B.

    I've been using the samtools pileup tool followed by the samtools.pl pileup2fq to pull out the consensus sequence as suggested by the SAMtools FAQ (http://tinyurl.com/64r9mdf).

    Frustratingly, the program seems to do something odd even with high confidence indels: Even when all of the reads show a deletion, some portion of the reference sequence is transformed into As. An example is shown below.



    For reasons that are totally unclear to me, the program changes the reference from GTT to AAA starting at base 172292 even though the reference GTT is the only information. Arg.

    Any thoughts?


    On a related note, pileup2fq skips all insertions. Does anyone know of a method to more directly transform a pileup into a consensus fasta or fastq?

    Many thanks!!
  • dagarfield
    Member
    • Aug 2010
    • 39

    #2
    Oh, I get to respond to my own post.
    tview seems to always produce the As, as does pileup.
    If you use mpileup, things are fine.

    Comment

    • swbarnes2
      Senior Member
      • May 2008
      • 910

      #3
      I wish there were a way to get pileup2fq to deal with indels properly. I don't know of any automated way to do that either.

      There is a known bug with pileup producing A's in the consensus when it shouldn't. IT's mentioned in a wikia somewhere.

      Comment

      • dagarfield
        Member
        • Aug 2010
        • 39

        #4
        Yeah, I found the reference on the SAMTOOLS FAQ. By posting in the forum over at SAMTOOLS, I learned that this has been dealt with in mpileup. There appear to be no plans to fix pileup itself any time soon.

        Unfortunately, mpileup doesn't appear to produce a consensus sequence (no -c option), so that may be the end of the utility of pileup2fq in any event.

        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, Yesterday, 11:13 AM
        0 responses
        19 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, Yesterday, 10:48 AM
        0 responses
        18 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
        42 views
        0 reactions
        Last Post SEQadmin2  
        Working...