revComp(dna)
Imcompletely specified base in DNA sequences must use the standard abbreviations:
R |
= G or A |
Y |
= C or T |
M |
= A or C |
K |
= G or T |
S |
= G or C |
W |
= A or T |
B |
= not A (C or G or T) |
D |
= not C (A or G or T) |
H |
= not G (A or C or T) |
V |
= not T (A or C or G) |
N |
= A or C or G or T |
### revComp() example
revComp("TTGAACC")
Run the code above in your browser using DataLab