Use the older murmur hash implementation that is included in the gatk jar.

This commit is contained in:
Chris Norman 2016-03-29 10:20:44 -04:00
parent ea615f8918
commit 017828e4b7
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}
}