Seqanswers Leaderboard Ad

Collapse

Announcement

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

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

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


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


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

        • seqadmin
          Non-Coding RNA Research and Technologies
          by seqadmin




          Non-coding RNAs (ncRNAs) do not code for proteins but play important roles in numerous cellular processes including gene silencing, developmental pathways, and more. There are numerous types including microRNA (miRNA), long ncRNA (lncRNA), circular RNA (circRNA), and more. In this article, we discuss innovative ncRNA research and explore recent technological advancements that improve the study of ncRNAs.

          Nobel Prize for MicroRNA Discovery
          This week,...
          10-07-2024, 08:07 AM
        • seqadmin
          Recent Developments in Metagenomics
          by seqadmin





          Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
          09-23-2024, 06:35 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 10-02-2024, 04:51 AM
        0 responses
        101 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 10-01-2024, 07:10 AM
        0 responses
        110 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 09-30-2024, 08:33 AM
        1 response
        114 views
        0 likes
        Last Post EmiTom
        by EmiTom
         
        Started by seqadmin, 09-26-2024, 12:57 PM
        0 responses
        20 views
        0 likes
        Last Post seqadmin  
        Working...
        X