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

Method getBase

src/main/java/com/rtg/mode/DnaUtils.java:134–136  ·  view source on GitHub ↗

Convert from a 0-4 based numerical base to an uppercase NACGT style character. @param b byte representing the numerical value of the base @return character representation of the byte ( NACGT )

(final int b)

Source from the content-addressed store, hash-verified

132 * @return character representation of the byte (<code>NACGT</code>)
133 */
134 public static char getBase(final int b) {
135 return BASES[b];
136 }
137
138 /**
139 * Converts an encoded base into a uppercase <code>ACGTN</code> character.

Callers 3

baseMethod · 0.95
replayAllMethod · 0.95
getReferenceBasesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected