Tutorials · updated 2026-11-22

Run MAFFT online: multiple sequence alignment and conservation

MAFFT is one of the most used programs for aligning several sequences. Here is how to run it on this platform through an AI assistant, how to read the result, and the controls that show what an alignment does and does not tell you. The example is a real run. You can read all of it without signing up.

What you will do

  1. Align three protein sequences with MAFFT, the program most people mean by an online multiple alignment.
  2. Read the identity between each pair, and how many positions it rests on.
  3. Pass the alignment to the conservation tool to see how conserved each position of one protein is.

Step 1: run it

Alignment is offered through an AI assistant: connect it once, then ask in plain language. It is free, runs on our server and takes seconds (0.076 seconds for this example). Sequences stay on the server. You can give FASTA text, or UniProt accessions, which the tool fetches. MAFFT 7.525 ran here, in the mode it chose itself: L-INS-i (chosen by --auto).

Example: three globins

“Using rnafold, align UniProt P69905, P68871 and P02144.” The result is one alignment of 155 columns. Records come back in the order you gave them, never sorted by similarity. 140 columns have no gap and 28 are the same letter in all three proteins.

Identity %human hemoglobin alphahuman hemoglobin betahuman myoglobin
human hemoglobin alpha100.045.0 (140 positions)27.5 (142 positions)
human hemoglobin beta45.0 (140 positions)100.025.3 (146 positions)
human myoglobin27.5 (142 positions)25.3 (146 positions)100.0

For a pair of sequences: the number of alignment columns where both have the same letter, divided by the number of columns where both have a letter (X counts as unknown and is left out), times 100, to one decimal. Gaps are not counted, so two sequences that share only a few aligned positions can show a high value; the number of positions is given beside it. A pair with no shared positions is null.

Step 2: how conserved is each position?

“Now give me the conservation of that alignment.” The first sequence is the query, so positions are counted along human hemoglobin alpha (142 residues). For every position the tool lists the gap fraction, the entropy of the residues in that column and the most common residue. Here 29 of 142 query positions have a single residue type in all 3 sequences.

The alignment has 3 sequences for a protein of 142 residues, which is very shallow. Entropy from so few sequences is a rough description of these three, not an estimate of how a whole family varies.

What the controls say

We ran the same tool on cases where the right answer is known, and on cases where there is no relationship at all:

  • A single residue inserted into a protein at 10 different places was placed in exactly the right column 10 times out of 10, in the automatic, accurate and fast modes alike.
  • Five runs on the same input gave identical alignments: yes. Giving the sequences in a different order gave the same alignment rows: yes.
  • Unrelated random sequences are aligned anyway, and the tool reports pairwise identity of 10.8 to 34.5 percent for them. Shuffled copies of the globins gave 17.4 to 24.6 percent.

So an alignment always comes back, whether or not the sequences are related. A pairwise identity in the teens or twenties is what unrelated sequences reach by chance, which is why the number of aligned positions is shown beside every identity. The program does not test relatedness.

What this example does not show

  • Alignment is a statement about sequence, not structure or function. Aligned columns are not proof that residues play the same role.
  • Three well-studied globins are an easy case. Divergent families, long insertions and repeats are where alignments disagree between programs, and we ran only one program.
  • There is no relatedness verdict in the output. Judging whether sequences are homologous needs a statistical test or structure, which this tool does not do.
  • The conservation numbers describe only the sequences you gave. They are not a family-wide measure unless the alignment is deep and unbiased.

Run it on your own sequences

Sequences you give are processed on our server in the EU. Signing up is needed to run; reading results is not.

The program, version, paper and licence are listed on the alignment page.