MCPcopy Create free account
hub / github.com/BirolLab/RNA-Bloom / next

Method next

src/rnabloom/bloom/hash/NTHashIterator.java:56–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 }
55
56 public void next() {
57 if (pos == start) {
58 // hash first kmer
59 NTM64(seq, k, h, ++pos, hVals);
60 }
61 else if (pos < max) {
62 NTM64(seq.charAt(pos), seq.charAt(pos+k), k, h, hVals, kMod64);
63 ++pos;
64 }
65 else {
66 Arrays.fill(hVals, 0);
67 hVals = null;
68 }
69 }
70
71 public boolean hasNext() {
72 return pos < max;

Callers 5

runMethod · 0.95
isValidSeqMethod · 0.95
getKmersMethod · 0.95
minimalSetMethod · 0.95
getBestSegmentMethod · 0.95

Calls 1

NTM64Method · 0.80

Tested by

no test coverage detected