Template literal tag for RNA sequences
Creates validated RNA sequences with U instead of T. Supports all IUPAC ambiguity codes for RNA analysis.
Template strings array from template literal
Any interpolated values
Branded RNA sequence that widens to string
const mrna = rna`AUCGAUCG`; // ✅ Valid RNA with Uconst withIUPAC = rna`AUCGRYSWKMN`; // ✅ IUPAC codes in RNAconst withT = rna`ATCGATCG`; // ❌ Compiler error - T not valid in RNAconst invalid = rna`AUCGXYZ`; // ❌ Compiler error - X,Y,Z invalid Copy
const mrna = rna`AUCGAUCG`; // ✅ Valid RNA with Uconst withIUPAC = rna`AUCGRYSWKMN`; // ✅ IUPAC codes in RNAconst withT = rna`ATCGATCG`; // ❌ Compiler error - T not valid in RNAconst invalid = rna`AUCGXYZ`; // ❌ Compiler error - X,Y,Z invalid
Template literal tag for RNA sequences
Creates validated RNA sequences with U instead of T. Supports all IUPAC ambiguity codes for RNA analysis.