DNA sequence analyzer
Analysis of a DNA sequence: base composition, GC content, complement and reverse complement, with ambiguous IUPAC codes supported.
Composition along the sequence
301 bases · 25-base windowGC content of the windowuncertainty from ambiguous basesGC content of the whole sequencethe current window, on the sequence
Playback varies only the window position, from one end of the sequence to the other in about twelve seconds, and every frame is fully recalculated.
- GC content
- (G + C) / N = 150 / 301 = 49.8339%
- Window
- 25 bases, odd, slid along the whole sequence · 139 points plotted
- Composition
- 301 determined bases, none ambiguous
Notes (2)
The y-axis runs from 0 to 100%, with no rescaling.
Profile smoothed over a sliding window of 25 bases: a departure from the overall GC content marks a locally GC-rich or AT-rich region.
Result
continuous calculation- Total lengthN
- 301 bases
- Determined basesNd
- 301
Calculation, assumptions and sources
OverviewBase composition, GC content, complement and reverse complement of a DNA sequence pasted as FASTA or raw text, with or without numbering.
Base composition, GC content, complement and reverse complement of a DNA sequence pasted as FASTA or raw text, with or without numbering. Invalid characters are flagged; IUPAC ambiguity codes are handled.
Method & formulasA ↔ T
In double-stranded DNA, adenine (A) pairs with thymine (T) and guanine (G) with cytosine (C) (Watson-Crick rule). Ambiguous IUPAC codes follow the same rule: the complement of R (A or G) is Y (C or T).
- R
- purine, A or G.
- Y
- pyrimidine, C or T.
- S
- strong, 3 hydrogen bonds, G or C.
- W
- weak, 2 hydrogen bonds, A or T.
- K
- keto, G or T.
- M
- amino, A or C.
- B, D, H, V
- any base except A, C, G or T respectively.
- N
- any base, A, C, G or T.
Validity domainAn ambiguous code that may stand for either G/C or A/T (R, N…) gives a GC content as a range; S (G or C) and W (A or T) keep it exact.
An ambiguous code that may stand for either G/C or A/T (R, N…) gives a GC content as a range; S (G or C) and W (A or T) keep it exact. A sequence’s stability and melting temperature also depend on length, base order (stacking), ionic strength and concentration.
GC content: definitionGC content is the proportion of guanine (G) and cytosine (C) in the sequence, as a percentage.
GC content is the proportion of guanine (G) and cytosine (C) in the sequence, as a percentage. It varies between organisms and genome regions. G-C pairs, with 3 hydrogen bonds, are more thermally stable than A-T pairs, with 2.
Complement and reverse complementThe complement replaces each base with its complementary base.
The complement replaces each base with its complementary base. The reverse complement reads it backwards: it is the paired strand, read in its own 5'→3' direction (the strands are antiparallel), used to design a primer on the opposite strand.
EcoRI restriction siteGAATTC is the recognition site of the restriction enzyme EcoRI.
GAATTC is the recognition site of the restriction enzyme EcoRI. It is a palindrome: its reverse complement is the sequence itself, as for most sites of type II restriction enzymes.