MCPcopy Create free account
hub / github.com/BirolLab/abyss / nucleotideToColourSpace

Function nucleotideToColourSpace

Common/Sequence.cpp:133–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133char nucleotideToColourSpace(char a, char b)
134{
135 if (toupper(a) == 'N' || toupper(b) == 'N')
136 return islower(a) || islower(b) ? 'n' : 'N';
137 return "0123"[cstont[baseToCode(a)][baseToCode(b)]];
138}
139
140/** Convert the specified ambiguity code to a bitmask. */
141unsigned ambiguityToBitmask(char c)

Callers 1

consensusFunction · 0.85

Calls 1

baseToCodeFunction · 0.85

Tested by

no test coverage detected