Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ardmore
    Member
    • Jun 2011
    • 51

    #1

    About FLAG



    Code:
    FLAG: bitwise FLAG. Each bit is explained in the following table:
    Bit Description
    0x1 template having multiple segments in sequencing
    0x2 each segment properly aligned according to the aligner
    0x4 segment unmapped
    0x8 next segment in the template unmapped
    0x10 SEQ being reverse complemented
    0x20 SEQ of the next segment in the template being reversed
    0x40 the rst segment in the template
    0x80 the last segment in the template
    0x100 secondary alignment
    0x200 not passing quality controls
    0x400 PCR or optical duplicate
    In the SAM format alignment section, the bitwise FLAG is as above table.
    If the FLAG=165
    OR FLAG=1133,
    Then which category it falls in? Need a little explanation.
    Thanks.
  • ffinkernagel
    Senior Member
    • Oct 2009
    • 110

    #2
    165 is A5 in hexadecimal - or in this case 0x1 | 0x4 | 0x20 | 0x80.

    You can start by substracting the largest value smaller than your number - here 0x80 or 128 - that's set for sure. leaves you 37, that means 32 (0x20) is also set. Leaves you five, and it's easily seen that that`s 4 + 1. (With bit flags, bitwise or and addition are the same operations.

    I'll leave 1133 as an exercise.

    Comment

    • ETHANol
      Senior Member
      • Feb 2010
      • 308

      #3
      Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc
      --------------
      Ethan

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
        by SEQadmin2



        CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

        Despite this, “CRISPR helped turn genome editing from a specialized technique into
        ...
        07-31-2026, 11:01 AM
      • SEQadmin2
        Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
        by SEQadmin2


        Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

        The systematic characterization of the human proteome has
        ...
        07-20-2026, 11:48 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Today, 12:22 PM
      0 responses
      8 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-11-2026, 10:35 AM
      0 responses
      11 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-06-2026, 07:41 AM
      0 responses
      30 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-03-2026, 10:13 AM
      0 responses
      48 views
      0 reactions
      Last Post SEQadmin2  
      Working...