Merge pull request #1329 from broadinstitute/cn_murmur_hash
Use older version of murmur hash implementation included in gatk…
This commit is contained in:
commit
68b068d2b3
|
|
@ -125,7 +125,7 @@ public class DroppedReadsTracker {
|
||||||
// filtering/trimming etc., but that distinguishes paired reads from their mate, secondary etc.
|
// filtering/trimming etc., but that distinguishes paired reads from their mate, secondary etc.
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
// Use a murmur hash of the flags to distribute the values more uniformly over the full range of int
|
// 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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue