Aaron's ArchiveDNA, RNA & protein toolkit

Aaron's Archive / Tools / Pairwise sequence alignment tool

Pairwise sequence alignment tool

Paste two sequences and the pairwise alignment tool lines them up, showing the score, the percent identity, the number of matches, mismatches and gaps, and the aligned sequences with a match line. Choose local alignment (Smith-Waterman) to find the best matching region, or global (Needleman-Wunsch) to align the sequences end to end.

Align two sequences

What you get

How to use it

  1. Open the Align tab and paste sequence 1 and sequence 2.
  2. Choose local or global.
  3. Run the alignment and read the identity and the gap count.

Worked example

Align GATTACAGATTACA with GCATGCTTACAGAT:

Local finds the shared core; global is forced to account for every base, so the same pair scores very differently.

Limits to know about

Common questions

What is the difference between local and global alignment?

Global alignment forces the whole of both sequences to line up; local alignment looks for the best matching piece. The alignment guide explains when to use each.

Can I align proteins?

Yes. Both sequences must be protein, and they are scored with the BLOSUM62 matrix.

How is this different from BLAST?

Pairwise alignment compares two sequences you supply. BLAST searches a whole database for sequences similar to yours; see the BLAST guide.

Are my sequences stored?

No. Sequences are processed in memory to produce your result and are not stored or logged. The privacy policy has the details, including what BLAST sends to NCBI and EMBL-EBI.

Learn the idea behind it

Align two sequences

More tools