IUPAC Ambiguous Codes
IUPAC ambiguous nucleotide codes are automatically detected and handled:| Code | Meaning | Bases |
|---|---|---|
| R | puRine | A or G |
| Y | pYrimidine | C or T |
| W | Weak | A or T |
| S | Strong | G or C |
| K | Keto | G or T |
| M | aMino | A or C |
| B | not A | C, G, or T |
| D | not C | A, G, or T |
| H | not G | A, C, or T |
| V | not T | A, C, or G |
Behavior
When IUPAC codes are detected:- Warning displayed to user
- Codes converted to N (masked)
- Regions excluded from primer placement
RNA Sequences
RNA sequences (containing Uracil) are automatically detected and converted:| Detected | Converted To |
|---|---|
| U (Uracil) | T (Thymine) |
| u (lowercase) | t (then uppercase) |
Behavior
When RNA is detected:- Warning displayed to user
- U → T conversion applied
- Design proceeds with DNA sequence
Sequence Validation
PrimerLab validates sequences before design:| Check | Requirement | Error Code |
|---|---|---|
| Length | ≥ 50 bp | ERR_SEQ_TOO_SHORT |
| Characters | A, T, G, C, N only | ERR_SEQ_INVALID_CHAR |
| Non-empty | Sequence provided | ERR_SEQ_EMPTY |