Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • tujchl
    Member
    • Sep 2009
    • 74

    which one indicate strand on bowtie outputs?

    HI everyone:
    I use bowtie to map reads to genome on Galaxy using recommend option. and results like below (just one read show here):
    HWUSI-EAS455_0034_FC630CNAAXX:4:1:1045:9169#0/1 16 chr10 10711690
    255 40M * 0 0 GGATGTTGGAGTGCCCAGTGTACTCCATTTCAAAATACTA
    HHHHHHDGHGHHHHGHHHHHHFGDGDGHHFHHHHHHHGGG XA:i:0 MD:Z:40 NM:i:0

    could you point out which is indicate strand of my reads mapped to? I known 16 on the 2nd column indicates - and 4 is nomatch and do you know 0 indicates what? (0 is highly prevail in my data)

    By the way there are always 0,4,16 in my data, Is it normal?
    Last edited by tujchl; 03-23-2011, 06:26 AM.
  • ttnguyen
    Member
    • Mar 2010
    • 41

    #2
    You may want to refer to these for further information about SAM format:



    It is normal to output 0,4,16 often. You can use the code below to count the number of 0, 4, 16,.... in your SAM. In SE data, the proportion of reads mapped to forward strand (0) should be approximately equal to the proportion of reads mapped to reverse strand (16).

    awk 'BEGIN {FS=OFS="\t"} {a[$2]++} END{for (i in a) print i, a[i]}' SAM_FILE

    Comment

    • volks
      Member
      • Jun 2010
      • 80

      #3
      this might be of interest to you: http://picard.sourceforge.net/explain-flags.html

      Comment

      • tujchl
        Member
        • Sep 2009
        • 74

        #4
        Got it! thank you

        Comment

        Latest Articles

        Collapse

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Today, 11:58 AM
        0 responses
        6 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-05-2026, 10:09 AM
        0 responses
        21 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-04-2026, 08:59 AM
        0 responses
        34 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-02-2026, 12:03 PM
        0 responses
        55 views
        0 reactions
        Last Post SEQadmin2  
        Working...