Skip to content

Commit

Permalink
MarkDuplicates: Add read group ID instead of string "RG" (#1937)
Browse files Browse the repository at this point in the history
* fixes #1936
  • Loading branch information
michaelgatzen authored Jan 11, 2024
1 parent 5706839 commit 546b5e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ private void buildSortedReadEndLists(final boolean useBarcodes) {

if (rec.getReadPairedFlag() && !rec.getMateUnmappedFlag()) {
final StringBuilder key = new StringBuilder();
key.append(ReservedTagConstants.READ_GROUP_ID);
key.append(rec.getReadGroup().getReadGroupId());
key.append(rec.getReadName());
ReadEndsForMarkDuplicates pairedEnds = tmp.remove(rec.getReferenceIndex(), key.toString());

Expand Down

0 comments on commit 546b5e5

Please sign in to comment.