Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • SAM tools output question

    Column 3 in SAM output format is supposed to be "the name of the reference sequence where alignment occurs" - as per documentation.
    If I see an asterisk (*) in column 3, what does that indicate ? Did the read not map at all ?

  • #2
    Hi,

    hope you don't mind if I'll make it easy for myself and pass over to the the SAM Format Specification
    (you can download it via http://samtools.sourceforge.net/SAM1.pdf )

    "QNAME and FLAG are required for all alignments. If the mapping position of the query is not available, RNAME and CIGAR are set as *, and POS and MAPQ as 0. If the query is unpaired or pairing information is not available, MRNM equals *, and MPOS and ISIZE equal 0. SEQ and QUAL can both be absent, represented as a star *. If QUAL is not a star, it must be of the same length as SEQ."

    Thus, you're right and the read didn't map. Hope it helps.

    Comment


    • #3
      Thank you. But that is for QNAME and FLAG, the first and second fields. I am talking about RNAME, the third field, which is supposed to contain the name of the reference sequence that the read mapped to. It makes sense that this field should be * if the read did not map to any reference, but I just wanted to be sure.

      Comment


      • #4
        Hi,
        Was ForeignMan referring to this part of the note?,
        "If the mapping position of the query is not available, RNAME and CIGAR are set as *, and POS and MAPQ as 0."
        It does mention that RNAME can be '*', when the read did not map.

        Misko

        Comment


        • #5
          I think the problem might also be different names used for your reference sequences in your reference and the sam header (or the origin of it). I've been using Bioscope and had the same problem when taking the samfile generated by Bioscope and converting it to bam with samtools. The problem for me was "chr1" in the reference and "Chr1" in the sam library file used to generate the sam header.
          But that would result in * everywhere in column 3, I don't know if that's the case with your data. Well, maybe this still helps.

          Comment


          • #6
            Thanks guys. Sorry foreignman, I missed the RNAME part of your reply.

            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
            11 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