Skip to content

Commit

Permalink
fixed edge case for M2 palindrome transformer (#5080)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbenjamin authored Aug 2, 2018
1 parent cadc340 commit 6f833df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public PalindromeArtifactClipReadTransformer(final ReferenceDataSource reference
@Override
public GATKRead apply(final GATKRead read) {
final int adaptorBoundary = read.getAdaptorBoundary();
if (adaptorBoundary == ReadUtils.CANNOT_COMPUTE_ADAPTOR_BOUNDARY) {
if (!read.isProperlyPaired() || adaptorBoundary == ReadUtils.CANNOT_COMPUTE_ADAPTOR_BOUNDARY) {
return read;
}

Expand Down

0 comments on commit 6f833df

Please sign in to comment.