Merge branch 'master' of ssh://nickel.broadinstitute.org/humgen/gsa-scr1/gsa-engineering/git/stable
This commit is contained in:
commit
9d4add3268
|
|
@ -135,6 +135,11 @@ public class NWaySAMFileWriter implements SAMFileWriter {
|
|||
|
||||
public void addAlignment(SAMRecord samRecord) {
|
||||
final SAMReaderID id = toolkit.getReaderIDForRead(samRecord);
|
||||
String rg = samRecord.getStringAttribute("RG");
|
||||
if ( rg != null ) {
|
||||
String rg_orig = toolkit.getReadsDataSource().getOriginalReadGroupId(rg);
|
||||
samRecord.setAttribute("RG",rg_orig);
|
||||
}
|
||||
writerMap.get(id).addAlignment(samRecord);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue