baselookup
Find nucleotide codes, integers, names, and complements
Syntax
baselookup
baselookup('Complement', SeqNT)
baselookup('Code', CodeValue)
baselookup('Integer', IntegerValue)
baselookup('Name', NameValue)
Arguments
SeqNT | Nucleotide sequence(s) represented by one of the following:
Note If the input is multiple sequences, the complement for each sequence is determined independently. |
CodeValue | Nucleotide letter code represented by one of the following:
|
IntegerValue | Single integer representing a nucleotide. For valid integers, see the table Nucleotide Lookup. |
NameValue | Nucleotide name represented by one of the following:
|
Description
baselookup displays a table of nucleotide
codes, integers, names, and complements.
Nucleotide Lookup
| Code | Integer | Nucleotide Name | Meaning | Complement |
|---|---|---|---|---|
A | 1 | Adenine | A | T |
C | 2 | Cytosine | C | G |
G | 3 | Guanine | G | C |
T | 4 | Thymine | T | A |
U | 4 | Uracil | U | A |
R | 5 | Purine | A or G | Y |
Y | 6 | Pyrimidine | C or T | R |
K | 7 | Keto | G or T | M |
M | 8 | Amino | A or C | K |
S | 9 | Strong interaction (3 H bonds) | C or G | S |
W | 10 | Weak interaction (2 H bonds) | A or T | W |
B | 11 | Not A | C or G or T | V |
D | 12 | Not C | A or G or T | H |
H | 13 | Not G | A or C or T | D |
V | 14 | Not T or U | A or C or G | B |
N, X | 15 | Any nucleotide | A or C or G or T or U | N |
- | 16 | Gap of indeterminate length | Gap | - |
baselookup('Complement', displays
the complementary nucleotide sequence.SeqNT)
baselookup('Code', displays
the corresponding meaning and nucleotide name. For ambiguous nucleotide
codes (CodeValue)R, Y, K, M, S, W, B, D, H, V, N,
and X), the nucleotide name is a descriptive name.
baselookup('Integer', displays
the corresponding letter code, meaning, and nucleotide name. IntegerValue)
baselookup('Name', displays
the corresponding letter code, meaning, and nucleotide name or descriptive
name. NameValue)
Examples
Version History
Introduced before R2006a
See Also
aa2nt | basecount | codoncount | dimercount | geneticcode | int2nt | nt2aa | nt2int | revgeneticcode