Seqanswers Leaderboard Ad

Collapse

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
        Essential Discoveries and Tools in Epitranscriptomics
        by seqadmin




        The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
        04-22-2024, 07:01 AM
      • seqadmin
        Current Approaches to Protein Sequencing
        by seqadmin


        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
        04-04-2024, 04:25 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      59 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      57 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      51 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      55 views
      0 likes
      Last Post seqadmin  
      Working...
      X