Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • illuminaGA
    Member
    • Dec 2012
    • 71

    Question about SAM file.Thanks.

    Hello guys

    I have a very basic question.

    I got a sam file after mapping by BWA and I found lots of format like this:


    ILLUMINA-XXXXXX:7:FC6XXXXXXXX:2:1:8471:2169 141 * 0 0 * * 0 0 TTTTTGTTCAAAAACACTCTGGAACTTAAAAGTAAAACTCTTCCACGTACATCTCTGGCTTATTGGTGTCTTTTTCTCTTTTTGAAGGCGTTTTGAAATGG IIIIIIIIIIIIIHIIIIIIIIIIIIIFIIIIIIIIIIHIGIIIGIIIIIIIDGIIIIIGIBHGIIEGFGGIIHIDDDIIIIHHB>HC<F?C>EECAFGGD


    Others like this

    ILLUMINA-XXXXXX:7:FCXXXXXXXX:2:1:13814:2169 163 chr24 42647385 60 101M = 42647444 160 AAACATTGTTTATCAACATTAGATGTAACATAAATCTCTAATGTACATACCTGATGGGAAAACAAGTAAAACAATTCATATTGATGTCAACCAAATGCATA GIDGGGECEGAAGGGG@GGGGGGGGDGBIIIIHDIIIHIHGGHIIEDHIIHIIIIHIIIIIIGHHIHIHHGHDIIGHHDHBEEDIIIG<D@DDDGGGGDDD XT:A:U NM:i:3 SM:i:23 AM:i:23 X0:i:1 X1:i:1 XM:i:3 XO:i:0 XG:i:0 MD:Z:44G4A15C35 XA:Z:chr24,-42545737,101M,4;

    Is previous one a unmapping reads?

    Thanks a lot!
    Last edited by illuminaGA; 10-17-2013, 01:34 PM.
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    The first read isn't mapped (neither is its mate), the second is (and so is its mate). When trying to figure out a read's flag (the second column), it's convenient to have a calculator open in "programmer" mode, so you can just type a number and see visually which bits are set.

    Comment

    • illuminaGA
      Member
      • Dec 2012
      • 71

      #3
      [QUOTE=dpryan;119110]The first read isn't mapped (neither is its mate), the second is (and so is its mate). When trying to figure out a read's flag (the second column), it's convenient to have a calculator open in "programmer" mode, so you can just type a number and see visually which bits are set.[/QUOT

      Thank you so much!

      Comment

      • harryzs
        Member
        • Dec 2010
        • 30

        #4
        Originally posted by illuminaGA View Post
        Hello guys

        I have a very basic question.

        I got a sam file after mapping by BWA and I found lots of format like this:


        ILLUMINA-XXXXXX:7:FC6XXXXXXXX:2:1:8471:2169 141 * 0 0 * * 0 0 TTTTTGTTCAAAAACACTCTGGAACTTAAAAGTAAAACTCTTCCACGTACATCTCTGGCTTATTGGTGTCTTTTTCTCTTTTTGAAGGCGTTTTGAAATGG IIIIIIIIIIIIIHIIIIIIIIIIIIIFIIIIIIIIIIHIGIIIGIIIIIIIDGIIIIIGIBHGIIEGFGGIIHIDDDIIIIHHB>HC<F?C>EECAFGGD


        Others like this

        ILLUMINA-XXXXXX:7:FCXXXXXXXX:2:1:13814:2169 163 chr24 42647385 60 101M = 42647444 160 AAACATTGTTTATCAACATTAGATGTAACATAAATCTCTAATGTACATACCTGATGGGAAAACAAGTAAAACAATTCATATTGATGTCAACCAAATGCATA GIDGGGECEGAAGGGG@GGGGGGGGDGBIIIIHDIIIHIHGGHIIEDHIIHIIIIHIIIIIIGHHIHIHHGHDIIGHHDHBEEDIIIG<D@DDDGGGGDDD XT:A:U NM:i:3 SM:i:23 AM:i:23 X0:i:1 X1:i:1 XM:i:3 XO:i:0 XG:i:0 MD:Z:44G4A15C35 XA:Z:chr24,-42545737,101M,4;

        Is previous one a unmapping reads?

        Thanks a lot!

        There is a tool from picard


        use the number at second column (e.g. for the first read: 141 )

        Comment

        • illuminaGA
          Member
          • Dec 2012
          • 71

          #5
          Originally posted by harryzs View Post
          There is a tool from picard


          use the number at second column (e.g. for the first read: 141 )
          Thank you so much!!

          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, Yesterday, 11:05 AM
          0 responses
          7 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-02-2026, 11:08 AM
          0 responses
          28 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-30-2026, 05:37 AM
          0 responses
          27 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-26-2026, 11:10 AM
          0 responses
          27 views
          0 reactions
          Last Post SEQadmin2  
          Working...