Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • frankyue50
    Member
    • Nov 2008
    • 34

    help with sam files

    Can someone help me with this rna-seq file:

    SOLEXA1_0001:1:90:12539:8935#0 16 chr1 3003182 3 8M1708N28M * 0 0 CCCCCATACCCACCCCCCAATCCCCTACCCACCCAC BCCCCB>6@@@<CCCCCCCB>AAAA=0BCC=CCCBC NM:i:2 XS:A:- NS:i:2

    What does NS mean? I couldn't find it in sam document. Thanks.
  • mrawlins
    Member
    • Apr 2010
    • 63

    #2
    NS is a tag specific to the program you're using to generate your SAM file. I can only guess what it means but it may be in the documentation of the program that generated the file.

    NM is a standard tag that's an abbreviation of Number Mismatched(or Nucleotides Mismatched). In a similar vein, NS may be Number Substituted, in which case it differs from NM by insertion/deletion of individual nucleotides.
    Because NS is not in the standard, any program that reads this SAM file can interpret it in any way. Most will simply ignore it.

    Comment

    • frankyue50
      Member
      • Nov 2008
      • 34

      #3
      Thanks. The rna-seq data was processed by tophat. I think the line in my example is a junction. what do you guys think?

      Originally posted by mrawlins View Post
      NS is a tag specific to the program you're using to generate your SAM file. I can only guess what it means but it may be in the documentation of the program that generated the file.

      NM is a standard tag that's an abbreviation of Number Mismatched(or Nucleotides Mismatched). In a similar vein, NS may be Number Substituted, in which case it differs from NM by insertion/deletion of individual nucleotides.
      Because NS is not in the standard, any program that reads this SAM file can interpret it in any way. Most will simply ignore it.

      Comment

      • john_mu
        Member
        • May 2010
        • 88

        #4
        EDIT: has been answered
        SpliceMap: De novo detection of splice junctions from RNA-seq
        Download SpliceMap Comment here

        Comment

        • mrawlins
          Member
          • Apr 2010
          • 63

          #5
          Ah, well, if it's tophat it's pretty easy to look it up in the code.
          Mismatches within min_anchor_len of a splice junction
          (from bwt_map.cpp:813 and bwt_map.h:233 in tophat source)

          It's mismatches within the anchor of a splice junction. NM covers the entire read, while NS will cover only the anchor.
          Last edited by mrawlins; 08-19-2010, 12:21 PM. Reason: Added code reference

          Comment

          • frankyue50
            Member
            • Nov 2008
            • 34

            #6
            Hi, mrawlins, you are the best! Thanks!

            Originally posted by mrawlins View Post
            Ah, well, if it's tophat it's pretty easy to look it up in the code.

            (from bwt_map.cpp:813 and bwt_map.h:233 in tophat source)

            It's mismatches within the anchor of a splice junction. NM covers the entire read, while NS will cover only the anchor.

            Comment

            Latest Articles

            Collapse

            • GATTACAT
              Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
              by GATTACAT
              Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
              07-01-2026, 11:43 AM
            • SEQadmin2
              Nine Things a Sample Prep Scientist Thinks About Before Sequencing
              by SEQadmin2


              I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

              Here are nine questions we think about, in roughly the order they matter, before...
              06-18-2026, 07:11 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 07-02-2026, 11:08 AM
            0 responses
            23 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-30-2026, 05:37 AM
            0 responses
            23 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-26-2026, 11:10 AM
            0 responses
            23 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-17-2026, 06:09 AM
            0 responses
            55 views
            0 reactions
            Last Post SEQadmin2  
            Working...