Sequence Logo Generator

Figran

Make a sequence logo from aligned sites or a motif matrix and download it for your paper.

  • Sites, FASTA or matrix
  • Bits or probability
  • Free SVG and 300 DPI PNG

49 sequences · FASTA · 22 positions · DNA

Letter height

Units

Positions

Range

Appearance

012BitsPosition 1 · C 0.02 · 0.01 BitsPosition 1 · G 0.08 · 0.04 BitsPosition 1 · T 0.43 · 0.22 BitsPosition 1 · A 0.47 · 0.24 Bits1Position 2 · C 0.04 · 0.01 BitsPosition 2 · G 0.12 · 0.04 BitsPosition 2 · T 0.37 · 0.13 BitsPosition 2 · A 0.47 · 0.17 BitsPosition 3 · C 0.08 · 0.01 BitsPosition 3 · G 0.18 · 0.03 BitsPosition 3 · A 0.37 · 0.06 BitsPosition 3 · T 0.37 · 0.06 BitsPosition 4 · G 0.04 · 0.04 BitsPosition 4 · C 0.16 · 0.18 BitsPosition 4 · T 0.80 · 0.86 BitsPosition 5 · C 0.02 · 0.02 BitsPosition 5 · A 0.04 · 0.04 BitsPosition 5 · T 0.12 · 0.13 BitsPosition 5 · G 0.82 · 0.85 BitsPosition 6 · A 0.02 · 0.02 BitsPosition 6 · C 0.16 · 0.19 BitsPosition 6 · T 0.82 · 0.96 Bits6Position 7 · A 0.08 · 0.09 BitsPosition 7 · T 0.08 · 0.09 BitsPosition 7 · G 0.84 · 0.96 BitsPosition 8 · C 0.06 · 0.08 BitsPosition 8 · G 0.06 · 0.08 BitsPosition 8 · A 0.88 · 1.14 BitsPosition 9 · A 0.12 · 0.02 BitsPosition 9 · G 0.18 · 0.03 BitsPosition 9 · C 0.20 · 0.03 BitsPosition 9 · T 0.49 · 0.08 BitsPosition 11 · G 0.10 · 0.01 BitsPosition 11 · A 0.18 · 0.02 BitsPosition 11 · C 0.31 · 0.04 BitsPosition 11 · T 0.41 · 0.05 Bits11Position 12 · C 0.14 · 0.00 BitsPosition 12 · T 0.20 · 0.01 BitsPosition 12 · A 0.31 · 0.01 BitsPosition 12 · G 0.35 · 0.01 BitsPosition 13 · C 0.16 · 0.01 BitsPosition 13 · A 0.20 · 0.01 BitsPosition 13 · T 0.20 · 0.01 BitsPosition 13 · G 0.43 · 0.03 BitsPosition 14 · C 0.22 · 0.00 BitsPosition 14 · T 0.31 · 0.01 BitsPosition 14 · A 0.33 · 0.01 BitsPosition 15 · C 0.06 · 0.03 BitsPosition 15 · A 0.12 · 0.07 BitsPosition 15 · G 0.14 · 0.08 BitsPosition 15 · T 0.67 · 0.37 BitsPosition 16 · T 0.06 · 0.06 BitsPosition 16 · A 0.14 · 0.15 BitsPosition 16 · C 0.80 · 0.83 Bits16Position 17 · C 0.02 · 0.02 BitsPosition 17 · T 0.06 · 0.05 BitsPosition 17 · G 0.20 · 0.16 BitsPosition 17 · A 0.71 · 0.56 BitsPosition 18 · T 0.14 · 0.10 BitsPosition 18 · A 0.20 · 0.14 BitsPosition 18 · C 0.65 · 0.45 BitsPosition 19 · C 0.08 · 0.04 BitsPosition 19 · G 0.12 · 0.07 BitsPosition 19 · T 0.12 · 0.07 BitsPosition 19 · A 0.67 · 0.36 BitsPosition 20 · G 0.14 · 0.01 BitsPosition 20 · C 0.18 · 0.02 BitsPosition 20 · A 0.24 · 0.02 BitsPosition 20 · T 0.43 · 0.04 BitsPosition 21 · C 0.02 · 0.02 BitsPosition 21 · A 0.37 · 0.32 BitsPosition 21 · T 0.61 · 0.54 Bits21Position 22 · G 0.08 · 0.02 BitsPosition 22 · C 0.14 · 0.03 BitsPosition 22 · A 0.29 · 0.07 BitsPosition 22 · T 0.49 · 0.12 Bits

Sequence logo generator examples

Start with an example and adapt it to your data.

012Bits16111621

CRP binding sites in E. coli

Explore an E. coli transcription factor binding motif.

Source: WebLogo example data

012Bits16111619

CTCF motif from JASPAR

Plot a position frequency matrix for CTCF.

Source: JASPAR MA0139.1 (CC BY 4.0)

012Bits−20−15−10−51

Splice acceptor sites

Inspect the acceptor window around a splice junction.

Source: WebLogo example data

012Bits16111620

LexA SOS boxes, small sample

See how small-sample correction affects 19 sites.

Source: WebLogo example data

01234Bits16111621263134

Helix-turn-helix protein motif

View residue conservation in a protein DNA-binding motif.

Source: WebLogo example data

00.51Probability−13−8−32Position

Signal peptide cleavage sites

Compare residues around human signal peptide cleavage sites.

Source: UniProt (CC BY 4.0)

How to make a sequence logo

Turn aligned sites or a motif matrix into a figure in four steps.

  1. 1Add your data

    Paste aligned sequences or a matrix, or import a file.

  2. 2Choose units

    Show information in bits or show letter probabilities.

  3. 3Adjust the figure

    Set the position numbers and choose colors.

  4. 4Download

    Download PNG or SVG; use SVG in a Figran multi-panel figure.

Sequence logo input formats

Paste aligned sequences or a motif matrix in any of these formats.

FormatExampleCommon sourceHow it is read
Aligned sitesACGT
ACGA
ACGT
MEME / HOMEROne aligned sequence per line
FASTA>site1
ACGT
>site2
ACGA
FASTAHeaders identify sequences; lowercase letters are retained and converted to uppercase.
Clustal / StockholmCLUSTAL
site1 ACGT
site2 ACGA
Clustal / MAFFTSequence blocks are combined by name.
JASPARA [ 1 2 ]
C [ 2 0 ]
G [ 0 1 ]
T [ 1 1 ]
JASPARCounts / Frequencies
TRANSFACP0 A C G T
01 1 2 3 4
02 4 3 2 1
TRANSFACCounts
MEMEALPHABET= ACGT
letter-probability matrix: alength=4 w=1
0.25 0.25 0.25 0.25
MEMEFrequencies
TableA C G T
1 2 3 4
4 3 2 1
CSV / TSVOne row per letter or position.

Read a sequence logo

Each stack is one position; the relative heights show the letters observed there.

012Bits16111621
  1. 1Position number
  2. 2Information scale
  3. 3Letter height reflects frequency
  4. 4Stack height reflects information
R=log2N−H−e(n)

N = alphabet size; H = Shannon entropy at this position; e(n) = small-sample correction.

Bits or probability

In bits, the total stack height shows information relative to the background. In probability, each nonempty stack sums to one.

Bits
012Bits16111621
Probability
00.51Probability16111621

References: Schneider & Stephens 1990 · Schneider et al. 1986 · Crooks et al. 2004

Sequence logo generator FAQ

What do bits mean in a sequence logo?

Bits measure the information at a position. With an equal background, DNA has at most 2 bits and protein has at most log₂20, approximately 4.32 bits; letter heights are proportional to frequency.

Why are some positions shorter with few sequences?

Small-sample correction reduces the upward bias caused by estimating information from few observations. It can be turned off and requires counts. For a nonuniform GC background, this tool uses relative entropy without that correction.

Can I make a logo from a position weight matrix?

Yes. Paste a JASPAR, TRANSFAC, MEME or tabular matrix. Counts, frequencies and log₂ odds can be selected; log odds are converted to probabilities using the background.

Should I use bits or probability?

Bits show conservation, while a probability logo makes composition easier to compare at positions with low information.

How is this different from WebLogo?

Both show sequence logos, with different options for calculating information. This tool updates locally and reads JASPAR and MEME matrices; WebLogo offers error bars and more units. Your sequences and matrices stay in your browser.

What colors are used for protein and DNA logos?

The classic DNA scheme colors A green, C blue, G orange and T red. Protein chemistry colors group residues by chemical properties; other schemes and custom colors are available.

How are gaps and ambiguous letters handled?

Gaps and characters outside the selected alphabet are excluded from counts and sample size. For DNA and RNA, this includes N; Sequence Alignment Viewer counts N in its logo, so nucleotide columns containing N can differ. Protein N is counted as asparagine. Occupancy scaling is optional.

Do I need R or Python to make a sequence logo?

No. For reproducible scripts, ggseqlogo and seqLogo for R or Logomaker for Python are other options. You can export a probability matrix here.

Can I show the logo under my alignment?

Yes. Use Sequence Alignment Viewer to export a logo track with the alignment.

Make a sequence logo for your paper

Turn aligned sequences or a motif matrix into a figure.

Make your sequence logo