Function: normalizeBase()
normalizeBase(
base):BaseSymbol
Defined in: src/mobjects/biology/biologyColors.ts:86
Normalize a base symbol to its uppercase letter.
Only A, T, G and C are recognized DNA bases. An unrecognized input (for example RNA 'U' or junk) is still returned uppercased, but it is logged as a warning so the data error is visible instead of silent. This function does not add RNA support.
Parameters
base
string
The raw base symbol (any case).
Returns
The uppercase base symbol.