MCPcopy Create free account
hub / github.com/RealTimeGenomics/rtg-tools / getDNA

Method getDNA

src/main/java/com/rtg/mode/DNA.java:288–290  ·  view source on GitHub ↗

Get an integer in the range (0=N, ... 4=T) @param charAt character to be converted. @return integer representation of nucleotide.

(final char charAt)

Source from the content-addressed store, hash-verified

286 * @return integer representation of nucleotide.
287 */
288 public static int getDNA(final char charAt) {
289 return valueOf(charAt).ordinal();
290 }
291}
292

Callers 3

testGetDNAMethod · 0.95
stringDNAtoByteMethod · 0.95
byteDNAtoByteMethod · 0.95

Calls 2

valueOfMethod · 0.95
ordinalMethod · 0.65

Tested by 1

testGetDNAMethod · 0.76