outputting the RG information

setReadGroup now sets the read group attribute for the GATKSAMRecord
This commit is contained in:
Mauricio Carneiro 2011-11-09 23:34:29 -05:00
parent 315ac68b0b
commit 0d8983feee
1 changed files with 1 additions and 0 deletions

View File

@ -167,6 +167,7 @@ public class GATKSAMRecord extends BAMRecord {
public void setReadGroup( final GATKSAMReadGroupRecord readGroup ) {
mReadGroup = readGroup;
retrievedReadGroup = true;
setAttribute("RG", mReadGroup.getId()); // todo -- this should be standardized, but we don't have access to SAMTagUtils!
}
///////////////////////////////////////////////////////////////////////////////