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
              Strategies for Sequencing Challenging Samples
              by seqadmin


              Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
              03-22-2024, 06:39 AM
            • seqadmin
              Techniques and Challenges in Conservation Genomics
              by seqadmin



              The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

              Avian Conservation
              Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
              03-08-2024, 10:41 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 06:37 PM
            0 responses
            8 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, Yesterday, 06:07 PM
            0 responses
            8 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-22-2024, 10:03 AM
            0 responses
            49 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-21-2024, 07:32 AM
            0 responses
            67 views
            0 likes
            Last Post seqadmin  
            Working...
            X