Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sowmyai
    Member
    • Jan 2010
    • 27

    #1

    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 ?
  • ForeignMan
    Member
    • Jun 2010
    • 20

    #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

    • sowmyai
      Member
      • Jan 2010
      • 27

      #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

      • misko
        Junior Member
        • Jun 2010
        • 7

        #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

        • bpetersen
          Member
          • Mar 2010
          • 20

          #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

          • sowmyai
            Member
            • Jan 2010
            • 27

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

            Comment

            Latest Articles

            Collapse

            • SEQadmin2
              Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
              by SEQadmin2



              Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

              Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
              ...
              10-14-2026, 09:55 AM
            • SEQadmin2
              New Genomics Technologies Take Aim at Long-Standing Limits
              by SEQadmin2


              Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

              We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
              ...
              09-28-2026, 10:25 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 10-22-2026, 11:13 AM
            0 responses
            30 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-22-2026, 10:48 AM
            0 responses
            22 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-15-2026, 10:52 AM
            0 responses
            39 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-14-2026, 05:39 AM
            0 responses
            45 views
            0 reactions
            Last Post SEQadmin2  
            Working...