outputting the RG information
setReadGroup now sets the read group attribute for the GATKSAMRecord
This commit is contained in:
parent
315ac68b0b
commit
0d8983feee
|
|
@ -167,6 +167,7 @@ public class GATKSAMRecord extends BAMRecord {
|
||||||
public void setReadGroup( final GATKSAMReadGroupRecord readGroup ) {
|
public void setReadGroup( final GATKSAMReadGroupRecord readGroup ) {
|
||||||
mReadGroup = readGroup;
|
mReadGroup = readGroup;
|
||||||
retrievedReadGroup = true;
|
retrievedReadGroup = true;
|
||||||
|
setAttribute("RG", mReadGroup.getId()); // todo -- this should be standardized, but we don't have access to SAMTagUtils!
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue