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

Method getLastKmer

src/rnabloom/util/SeqUtils.java:1059–1062  ·  view source on GitHub ↗
(String seq, int k)

Source from the content-addressed store, hash-verified

1057 }
1058
1059 public static final String getLastKmer(String seq, int k) {
1060 int seqLen = seq.length();
1061 return seq.substring(seqLen-k, seqLen);
1062 }
1063
1064 public static class KmerSeqIterator implements Iterator<String> {
1065 private String seq;

Callers 1

connectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected