Skip to content

Commit

Permalink
Reverted whitespace changes in MarkDuplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyasoifer committed Feb 10, 2024
1 parent 0b0e6ca commit 0ce00d1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main/java/picard/sam/markduplicates/MarkDuplicates.java
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,6 @@ private void buildSortedReadEndLists(final boolean useBarcodes) {
}

pairedEnds.score += calcHelper.getReadDuplicateScore(rec, pairedEnds);

this.pairSort.add(pairedEnds);
}
}
Expand Down Expand Up @@ -808,8 +807,7 @@ protected void handleChunk(List<ReadEndsForMarkDuplicates> nextChunk) {
}
}

protected boolean areComparableForDuplicates(final ReadEndsForMarkDuplicates lhs, final ReadEndsForMarkDuplicates rhs,
final boolean compareRead2, final boolean useBarcodes) {
protected boolean areComparableForDuplicates(final ReadEndsForMarkDuplicates lhs, final ReadEndsForMarkDuplicates rhs, final boolean compareRead2, final boolean useBarcodes) {
boolean areComparable = lhs.libraryId == rhs.libraryId;

if (useBarcodes && areComparable) { // areComparable is useful here to avoid the casts below
Expand All @@ -822,7 +820,7 @@ protected boolean areComparableForDuplicates(final ReadEndsForMarkDuplicates lhs

if (areComparable) {
areComparable = lhs.read1ReferenceIndex == rhs.read1ReferenceIndex &&
lhs.read1Coordinate==rhs.read1Coordinate &&
lhs.read1Coordinate == rhs.read1Coordinate &&
lhs.orientation == rhs.orientation;
}

Expand Down

0 comments on commit 0ce00d1

Please sign in to comment.