From 017828e4b7a802e4367a4f1923671dacb7445c9e Mon Sep 17 00:00:00 2001 From: Chris Norman Date: Tue, 29 Mar 2016 10:20:44 -0400 Subject: [PATCH] Use the older murmur hash implementation that is included in the gatk jar. --- .../gatk/utils/haplotypeBAMWriter/DroppedReadsTracker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protected/gatk-tools-protected/src/main/java/org/broadinstitute/gatk/utils/haplotypeBAMWriter/DroppedReadsTracker.java b/protected/gatk-tools-protected/src/main/java/org/broadinstitute/gatk/utils/haplotypeBAMWriter/DroppedReadsTracker.java index 50a0e5394..b4bfc1519 100644 --- a/protected/gatk-tools-protected/src/main/java/org/broadinstitute/gatk/utils/haplotypeBAMWriter/DroppedReadsTracker.java +++ b/protected/gatk-tools-protected/src/main/java/org/broadinstitute/gatk/utils/haplotypeBAMWriter/DroppedReadsTracker.java @@ -125,7 +125,7 @@ public class DroppedReadsTracker { // filtering/trimming etc., but that distinguishes paired reads from their mate, secondary etc. public int hashCode() { // Use a murmur hash of the flags to distribute the values more uniformly over the full range of int - return samRec.getReadName().hashCode() + (31 * murmurHasher.hashInt(samRec.getFlags()).asInt()); + return samRec.getReadName().hashCode() + (31 * murmurHasher.hashLong(samRec.getFlags()).asInt()); } }