Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • csoong
    Member
    • Jun 2009
    • 74

    SAM format readgroup, what is it exactly?

    EDIT:I found an old thread saying that each read group refers to a lane for the Illumina platform. My question now becomes, if I had two lanes of the same library and sample, could I assign them different read group ID while be able to merge them as a single dataset for downstream analysis? Thanks and sorry for not looking up thoroughly in the first place.


    Could anyone comment on what exactly does read group means physically?
    Under SAM file format, the RG header consists of different subfields. I am having a hard time imagining what exactly is readgroup(ID), library(LB) and sample(SM) referring to in real life. My guess is that the SM refers to the sample-name I assign to the DNA material that's being prepped up as library for example HUMAN_SAMPLE_A, and then LB is just another name I make up when I finish making a library for example batch1_of_HUMAN_SAMPLE_A, batch2_of_HUMAN_SAMPLE_A, and readgroup is another name but I have no idea how it links to the real world and/or how it affects downstream analysis.
    thanks,

    CSoong
    Last edited by csoong; 12-23-2010, 01:58 PM. Reason: found an old thread about read group
  • drio
    Senior Member
    • Oct 2008
    • 323

    #2
    All the tags from the @RG record are optional except ID.

    The record is useful when you have a BAM containing data (alignments) from multiple sources. The level of granularity tries to capture all the different possibilities, meaning, you may have reads from different libraries, different runs, different instruments, different platforms, etc... The @RG record allows you to have one single BAM but still be able to determine (with all the detail you want) from where that read was coming from.

    The ID tag in the @RG record links together reads that are under the same group (You define what a group means for you with all the other tags in the RG record).
    -drd

    Comment

    • csoong
      Member
      • Jun 2009
      • 74

      #3
      Thanks again Drio.

      I pasted the example from sam1.pdf below: (SAM format spec pdf file page 4)
      It has 2 RG headers, how could one tell which RG ID the trailing 2 reads belong to? I don't see a correspondence between the read records and RG IDs.
      ~~~~
      I see it, the info is in the last column
      ~~~~
      @HD VN:1.0
      @SQ SN:chr20 LN:62435964
      @RG ID:L1 PU:SC_1_10 LB:SC_1 SM:NA12891
      @RG ID:L2 PU:SC_2_12 LB:SC_2 SM:NA12891
      read_28833_29006_6945 99 chr20 28833 20 10M1D25M = 28993 195 \
      AGCTTAGCTAGCTACCTATATCTTGGTCTTGGCCG <<<<<<<<<<<<<<<<<<<<<
      <9/,&,22;;<<< NM:i:1 RG:Z:L1

      read_28701_28881_323b 147 chr20 28834 30 35M = 28701 -168 \
      ACCTATATCTTGGCCTTGGCCGATGCGGCCTTGCA <<<<<;<<<<7;:<<<6;<<<<<<<<<<<<7<<<< MF:i:18 RG:Z:L2
      Last edited by csoong; 12-23-2010, 03:36 PM. Reason: I sEE it

      Comment

      • drio
        Senior Member
        • Oct 2008
        • 323

        #4
        Check the RG field at the end of each read entry. Read1 points toread group L1 and read 2 to L2.
        -drd

        Comment

        Latest Articles

        Collapse

        • 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
        • SEQadmin2
          Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
          by SEQadmin2



          Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
          ...
          07-09-2026, 11:10 AM
        • SEQadmin2
          Cancer Drug Resistance: The Lingering Barrier to Rising Survival
          by SEQadmin2



          Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

          There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
          07-08-2026, 05:17 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 07-20-2026, 11:10 AM
        0 responses
        14 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-13-2026, 10:26 AM
        0 responses
        31 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-09-2026, 10:04 AM
        0 responses
        42 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-08-2026, 10:08 AM
        0 responses
        28 views
        0 reactions
        Last Post SEQadmin2  
        Working...