Dear all, Before I only one sample in my analysis, but when I merge the bam file from different lane, I used the different RG. Just like the following:
@RG ID:Ptrem PL:ILLUMINA LB:Ptrem SM:Ptrem
@RG ID:PtPE14c PL:ILLUMINA LB:PtPE14c SM:PtPE14c
@RG ID:PtPE14d PL:ILLUMINA LB:PtPE14d SM:PtPE14d
@RG ID:PtPE15 PL:ILLUMINA LB:PtPE15 SM:PtPE15
@RG ID:PtPE16 PL:ILLUMINA LB:PtPE16 SM:PtPE16
@RG ID:PtPE1a PL:ILLUMINA LB:PtPE1a SM:PtPE1a
@RG ID:PtPE1a1 PL:ILLUMINA LB:PtPE1a1 SM:PtPE1a1
@RG ID:PtPE1a2 PL:ILLUMINA LB:PtPE1a2 SM:PtPE1a2
Now, I want to delete some RG from the BAM file. How could I do that? I just want to have onely one RG in the right BAM file.