Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • pileup output format

    Hey guys, I went through pileup format specifications on the website many times, but still have some silly questions. Would you please give me some hints? Thanks!

    One sentence in http://samtools.sourceforge.net/pileup.shtml says that "The ASCII of the character following `^' minus 33 gives the mapping quality." Take the first line as an example:

    seq1 272 T 24 ,.$.....,,.,.,...,,,.,..^+. <<<+;<<<<<<<<<<<=<;<;7<&

    This line shows that there are 24 reads covering this chromosome position on the reference, and the first base (^+.) in the last read matches the reference base at the same position with a "mapping quality" of 10 (43 - 33 = 10).

    I have two questions:

    1. Does "mapping quality" in the sentence "The ASCII of the character following `^' minus 33 gives the mapping quality" mean "mapping quality" of that read base, or "mapping quality" of the read containing that base?

    2. Why this "mapping quality" is only available for the first read base (starting with ^), but not for all the other 23 read bases at the same position?


    Sorry for the stupid questions because I really can't figure out those details.

    Thanks in advance for any insights you will provide!

  • #2
    Single bases don't have mapping quality; how could they? Mapping quality is an attribute of a read, not a base. Look at the entries in the sam file for the reads crossing that base, each letter has a quality, but the read as a whole has a mapping quality.

    Comment


    • #3
      Originally posted by swbarnes2 View Post
      Single bases don't have mapping quality; how could they? Mapping quality is an attribute of a read, not a base. Look at the entries in the sam file for the reads crossing that base, each letter has a quality, but the read as a whole has a mapping quality.
      Hi swbarnes2, thank you very much for your reply! So why the mapping quality is only available for one read, but not for the remaining 23 reads? I still have no idea about this. Do you have any clue?

      Comment


      • #4
        As far as I understand, the pileup only contains the bases read in all reads covering a given position (in your example: ,.$.....,,.,.,...,,,.,..^+.) and their base qualities (<<<+;<<<<<<<<<<<=<;<;7<&).

        Then there are sort of special characters, that may appear in some lines of the pileup, but not necessarily:
        The $. that indicates that this base is the last base on a read and
        The ^+. that indicates that this base is the first base on a read. In the latter case, for some reason, the mapping quality of this read is given.

        I am still not entirely clear on this either.

        cheers,
        Sophia

        Comment


        • #5
          Originally posted by sdvie View Post
          As far as I understand, the pileup only contains the bases read in all reads covering a given position (in your example: ,.$.....,,.,.,...,,,.,..^+.) and their base qualities (<<<+;<<<<<<<<<<<=<;<;7<&).

          Then there are sort of special characters, that may appear in some lines of the pileup, but not necessarily:
          The $. that indicates that this base is the last base on a read and
          The ^+. that indicates that this base is the first base on a read. In the latter case, for some reason, the mapping quality of this read is given.

          I am still not entirely clear on this either.

          cheers,
          Sophia
          Thank you, Sophia! I did see a lot of .$ in my pileup output, and will check if either .$ or $. (as you mentioned) indicates that it's the last base in the read matching the reference on the forward strand.

          Comment


          • #6
            Originally posted by charlie_sequencing View Post
            Hi swbarnes2, thank you very much for your reply! So why the mapping quality is only available for one read, but not for the remaining 23 reads? I still have no idea about this. Do you have any clue?
            The mapping quality is available for every single read in the pileup. It's placed at the first base of every read, wherever that falls. It would take up way too much space to put it at every single position of the read, for every single read. And how else could you expect to see all 23 of them at position 272 or wherever?

            It's also available in the sam file.

            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, Today, 08:47 AM
            0 responses
            12 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            60 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            59 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 09:21 AM
            0 responses
            54 views
            0 likes
            Last Post seqadmin  
            Working...
            X