Unconfigured Ad

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

    #1

    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
        http://picard.sourceforge.net/explain-flags.html

        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
          http://picard.sourceforge.net/explain-flags.html

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

          Comment

          Latest Articles

          Collapse

          • kinpict.com
            Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by kinpict.com
            The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
            Today, 06:37 PM
          • SEQadmin2
            16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by SEQadmin2





            NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
            10-30-2026, 06:46 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 11-12-2026, 07:59 AM
          0 responses
          27 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-05-2026, 09:25 AM
          0 responses
          35 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-03-2026, 11:54 AM
          2 responses
          56 views
          0 reactions
          Last Post kinpict.com  
          Started by SEQadmin2, 10-28-2026, 09:57 AM
          0 responses
          175 views
          0 reactions
          Last Post SEQadmin2  
          Working...