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
              Strategies for Sequencing Challenging Samples
              by seqadmin


              Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
              03-22-2024, 06:39 AM
            • seqadmin
              Techniques and Challenges in Conservation Genomics
              by seqadmin



              The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

              Avian Conservation
              Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
              03-08-2024, 10:41 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 06:37 PM
            0 responses
            8 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, Yesterday, 06:07 PM
            0 responses
            8 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-22-2024, 10:03 AM
            0 responses
            49 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-21-2024, 07:32 AM
            0 responses
            66 views
            0 likes
            Last Post seqadmin  
            Working...
            X