Reverse complement
From BioPerl
The reverse complement of a DNA/RNA sequence is that DNA/RNA sequence derived by reading the original sequence backwards (in reverse order) and exchanging each nucelotide with that of its complement (see Table below).
| Base | Name | Bases represented | Complementary Base |
|---|---|---|---|
| A | Adenine | A | T |
| T | Thymidine | T | A |
| U | Uridine (RNA only) | U | A |
| G | Guanidine | G | C |
| C | Cytidine | C | G |
| Y | pYrimidine | C T | R |
| R | puRine | A G | Y |
| S | Strong (3 H-bonds) | G C | S |
| W | Weak (2 H-bonds) | A T | W |
| K | Keto | T/U G | M |
| M | aMino | A C | K |
| B | not A | C G T | V |
| D | not C | A G T | H |
| H | not G | A C T | D |
| V | not T/U | A C G | B |
| N | Unknown | A C G T | N |