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
              Recent Advances in Sequencing Analysis Tools
              by seqadmin


              The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
              05-06-2024, 07:48 AM
            • 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

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 06:35 AM
            0 responses
            15 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 05-09-2024, 02:46 PM
            0 responses
            21 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 05-07-2024, 06:57 AM
            0 responses
            18 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 05-06-2024, 07:17 AM
            0 responses
            19 views
            0 likes
            Last Post seqadmin  
            Working...
            X