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
              Recent Advances in Sequencing Analysis Tools
              by seqadmin


              The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
              05-06-2024, 07:48 AM
            • 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

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Today, 07:03 AM
            0 responses
            10 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 05-10-2024, 06:35 AM
            0 responses
            29 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 05-09-2024, 02:46 PM
            0 responses
            35 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 05-07-2024, 06:57 AM
            0 responses
            30 views
            0 likes
            Last Post seqadmin  
            Working...
            X