Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • what is a read group?

    Hi,

    I am sure this is a silly question, but what is a read group in bam files? A lane? a flow cell? a library? or any meaningful thing that can group reads together?

    Thanks!

    Wen

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

    Comment


    • #3
      I define the term read-group as a set of reads that are the result of the exact same wet lab protocol, from isolation of samples to attached barcodes and indexing. Informally I use the term read-group when referring to a GaIIx lane or HiSeq index.

      Do they use that same convention?

      Comment


      • #4
        I've checked out the samtools man and other documents, but I'm still confussed on the read group line.

        I am looking at 3 populations each of 8 individuals and want to do some SNP calling and downstream analysis. All 24 individuls were barcoded and run in one illumina lane.

        To keep track of individuals and populations how would I set up the readgroup line? RG= population name and SM= individual (as below)? or is it even possible to keep track of both?

        Thanks in advance for any insight!

        rg.txt file for use with following command: samtools merge -rh rg.txt merged.bam *.bam

        @RG ID:Pop1 SM:27861 PL:Illumina
        @RG ID:Pop1 SM:27862 PL:Illumina
        @RG ID:Pop2 SM:27863 PL:Illumina
        @RG ID:Pop2 SM:27864 PL:Illumina
        @RG ID:Pop3 SM:27865 PL:Illumina
        @RG ID:Pop3 SM:27866 PL:Illumina
        .
        .
        .

        Comment


        • #5
          Originally posted by weeseda View Post
          I've checked out the samtools man and other documents, but I'm still confussed on the read group line.

          I am looking at 3 populations each of 8 individuals and want to do some SNP calling and downstream analysis. All 24 individuls were barcoded and run in one illumina lane.

          To keep track of individuals and populations how would I set up the readgroup line? RG= population name and SM= individual (as below)? or is it even possible to keep track of both?

          Thanks in advance for any insight!

          rg.txt file for use with following command: samtools merge -rh rg.txt merged.bam *.bam

          Code:
          @RG	ID:Pop1	SM:27861	PL:Illumina
          @RG	ID:Pop1	SM:27862	PL:Illumina
          @RG	ID:Pop2	SM:27863	PL:Illumina
          @RG	ID:Pop2	SM:27864	PL:Illumina
          @RG	ID:Pop3	SM:27865	PL:Illumina
          @RG	ID:Pop3	SM:27866	PL:Illumina
          .
          .
          .
          Each read group you define must have a unique ID. Your example does not, it uses each ID (Pop1, Pop2, Pop3) twice. Try something like this:

          Code:
          @RG	ID:1	SM:Pop1-27861	PL:Illumina
          @RG	ID:2	SM:Pop1-27862	PL:Illumina
          @RG	ID:3	SM:Pop2-27863	PL:Illumina
          @RG	ID:4	SM:Pop2-27864	PL:Illumina
          @RG	ID:5	SM:Pop3-27865	PL:Illumina
          @RG	ID:6	SM:Pop3-27866	PL:Illumina

          Comment


          • #6
            Great work!



            basket random

            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, Yesterday, 08:47 AM
            0 responses
            12 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            60 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            60 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 09:21 AM
            0 responses
            54 views
            0 likes
            Last Post seqadmin  
            Working...
            X