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

Method getMinimumKmerCoverage

src/rnabloom/util/GraphUtils.java:119–131  ·  view source on GitHub ↗
(final Iterable<Kmer> kmers)

Source from the content-addressed store, hash-verified

117 }
118
119 public static float getMinimumKmerCoverage(final Iterable<Kmer> kmers) {
120 float min = Float.MAX_VALUE;
121
122 float c;
123 for (Kmer kmer : kmers) {
124 c = kmer.count;
125 if (c < min) {
126 min = c;
127 }
128 }
129
130 return min;
131 }
132
133 public static float getMinimumKmerCoverage(final ArrayList<Kmer> kmers, int start, int end) {
134 float min = kmers.get(start).count;

Callers 15

writeMethod · 0.95
joinMethod · 0.95
extendRightSEMethod · 0.95
extendLeftSEMethod · 0.95
extendRightPEMethod · 0.95
extendLeftPEMethod · 0.95
extendSEMethod · 0.95
extendPEMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected