Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • flag inside sam file

    I got a read aligned as below:
    HWI-1KL138:2:2105:12847:125331#GCCAATGCCAAT 161 chr1 12036 1 74M = 12645 1188 CTGTGCCAGGGTGCAAGCTGAGCACTGGAGTGGAGTTTTCCTGTGGAGAGGAGCCATGCCTAGAGTGGGATGGG hhhhhhhhhhhghhhhhhhhhhhhhhhhhheffffdffffhhhghhehefhhhhhghhfhfffWdbfffbffff NM:i:0 NH:i:3 CC:Z:chr15 CP:i:102519061 HI:i:0

    The flag here is 161=128+32+1. 128 means 2nd pair; 32 means mated reverse strand; 1 means paired read. I am wondering why there is no information about the alignment in this flag. The alignment info can be either both aligned, read unmapped, mate unmapped indicated by 0x2, 0x4, 0x8 in sam files. Thanks advance for any answer or comment.

    fanping

  • #2
    The lack of 4 and 8 means that both aligned.

    The 2 flag means "properly paired", not "both aligned". That means not only did both ends map, but that their orientation and distance is what the software was expecting. Your reads are more than a kb apart. This may be why the software didn't think they were properly paired.

    Comment


    • #3
      Thanks. It makes sense.

      fanping
      Originally posted by swbarnes2 View Post
      The lack of 4 and 8 means that both aligned.

      The 2 flag means "properly paired", not "both aligned". That means not only did both ends map, but that their orientation and distance is what the software was expecting. Your reads are more than a kb apart. This may be why the software didn't think they were properly paired.

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Advanced Methods for the Detection of Infectious Disease
        by seqadmin




        The recent pandemic caused worldwide health, economic, and social disruptions with its reverberations still felt today. A key takeaway from this event is the need for accurate and accessible tools for detecting and tracking infectious diseases. Timely identification is essential for early intervention, managing outbreaks, and preventing their spread. This article reviews several valuable tools employed in the detection and surveillance of infectious diseases.
        ...
        Yesterday, 01:15 PM
      • seqadmin
        Strategies for Investigating the Microbiome
        by seqadmin




        Microbiome research has led to the discovery of important connections to human and environmental health. Sequencing has become a core investigational tool in microbiome research, a subject that we covered during a recent webinar. Our expert speakers shared a number of advancements including improved experimental workflows, research involving transmission dynamics, and invaluable analysis resources. This article recaps their informative presentations, offering insights...
        11-09-2023, 07:02 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Yesterday, 08:12 AM
      0 responses
      14 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 11-22-2023, 09:29 AM
      1 response
      46 views
      0 likes
      Last Post VilliamPast  
      Started by seqadmin, 11-22-2023, 08:53 AM
      0 responses
      30 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 11-21-2023, 08:24 AM
      0 responses
      23 views
      0 likes
      Last Post seqadmin  
      Working...
      X