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

Method smallestStrand

src/rnabloom/util/SeqUtils.java:1295–1304  ·  view source on GitHub ↗
(String seq)

Source from the content-addressed store, hash-verified

1293 }
1294
1295 public static final String smallestStrand(String seq) {
1296 String rc = reverseComplement(seq);
1297
1298 if (seq.compareTo(rc) > 0) {
1299 return rc;
1300 }
1301 else {
1302 return seq;
1303 }
1304 }
1305
1306 public static final String[] smallestStrand(String seq1, String seq2) {
1307 String rc2 = reverseComplement(seq2);

Callers

nothing calls this directly

Calls 2

reverseComplementMethod · 0.95
compareToMethod · 0.45

Tested by

no test coverage detected