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
              Best Practices for Single-Cell Sequencing Analysis
              by seqadmin



              While isolating and preparing single cells for sequencing was historically the bottleneck, recent technological advancements have shifted the challenge to data analysis. This highlights the rapidly evolving nature of single-cell sequencing. The inherent complexity of single-cell analysis has intensified with the surge in data volume and the incorporation of diverse and more complex datasets. This article explores the challenges in analysis, examines common pitfalls, offers...
              06-06-2024, 07:15 AM
            • seqadmin
              Latest Developments in Precision Medicine
              by seqadmin



              Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

              Somatic Genomics
              “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
              05-24-2024, 01:16 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 07:24 AM
            0 responses
            11 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 06-13-2024, 08:58 AM
            0 responses
            11 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 06-12-2024, 02:20 PM
            0 responses
            16 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 06-07-2024, 06:58 AM
            0 responses
            184 views
            0 likes
            Last Post seqadmin  
            Working...
            X