Get the reverse complement, complement or reverse of a DNA or RNA sequence, with FASTA records, every IUPAC code, kept letter case and GC content.
DNA has two strands that run in opposite directions. To design a reverse primer, check whether a probe binds, or read a gene on the minus strand, you need the other strand written the usual way, 5′ to 3′: every base swapped for its partner and the whole sequence read backwards.
Paste a sequence, plain or as FASTA, and the reverse complement appears at once. The same page gives the plain complement or the plain reverse, writes the answer with T or U, wraps it at 60, 70 or 80 bases a line, and reports length, base counts and GC content.
The page opens on ATGCGTACGTTAGCCTAGGA. Its reverse complement is TCCTAGGCTAACGTACGCAT, 20 bp at 50.0% GC. Load Sample then steps through a two-line FASTA record with an EcoRI site (GAATTC is its own reverse complement, so the enzyme recognises the same site on both strands), every IUPAC code (ACGTRYKMSWBDHVN becomes NBDHVWSKMRYACGT), an RNA strand that comes back as UCAGCGGCCCAUUACAAUGGCCAU, and 60 bases of the pUC19 cloning site pasted with GenBank numbering, 55.0% GC.
Anything that is not a nucleotide is pointed out by position rather than silently dropped, so a stray letter cannot shift your primer: “The sequence has "X" at base 5, which is not a nucleotide or IUPAC code (A C G T U R Y S W K M B D H V N, or - for a gap).” A sequence that mixes T and U is refused too, and a FASTA header with nothing under it is named. Everything runs in your browser; nothing is uploaded.
Output
The other strand, read 5′→3′.
Spaces, line breaks and position numbers are ignored. Upper and lower case are kept, and all IUPAC codes (R, Y, N…) are paired.
Write the result as
Reverse complement (5′→3′)
TCCTAGGCTAACGTACGCAT
Length
20 bp
GC content
50.0%
Bases
A 5 · C 4 · G 6 · T 5