Sequence Alignment Score Calculator

Enter your First and Second Sequence, choose Sequence/Alignment Type, set Match Score, Mismatch Penalty, and Gap Penalties to calculate your Alignment Score, Sequence Identity, Similarity, and Aligned Length.

Enter sequence without spaces or line breaks

Enter sequence without spaces or line breaks

Score for matching nucleotides/amino acids

Penalty for mismatched nucleotides/amino acids

Penalty for opening a gap

Penalty for extending an existing gap

Results

Alignment Score

--

Sequence Identity

--

Sequence Similarity

--

Alignment Length

--

Number of Gaps

--

Alignment Composition

Frequently Asked Questions

What is the difference between global and local sequence alignment?

Global alignment (Needleman-Wunsch) aligns sequences end-to-end, considering the entire length of both sequences. Local alignment (Smith-Waterman) finds the best matching subsequences within the sequences, ignoring poorly matching regions.

How do gap penalties affect the alignment score?

Gap opening penalty is applied when starting a new gap, while gap extension penalty is applied for each position the gap continues. Higher penalties discourage gaps, leading to more substitutions in the alignment.

What does sequence identity percentage mean?

Sequence identity is the percentage of positions where both sequences have exactly the same nucleotide or amino acid. It's calculated as (identical positions / alignment length) × 100.

Can I align both DNA and protein sequences with this tool?

Yes, you can align both DNA and protein sequences. Select the appropriate sequence type to ensure proper scoring. DNA sequences use A, T, G, C nucleotides while protein sequences use the 20 standard amino acids.

What is a good alignment score?

Alignment scores depend on sequence length and scoring parameters. Higher positive scores indicate better alignments. Compare scores relative to random sequence alignments or use normalized scores like bit scores for meaningful interpretation.

How is sequence similarity different from identity?

Identity counts only exact matches, while similarity includes biochemically similar substitutions. For proteins, this includes amino acids with similar properties (e.g., hydrophobic or charged residues).

What scoring matrix should I use for protein alignment?

This tool uses a simple match/mismatch scoring system. For more sophisticated protein alignment, consider tools that implement BLOSUM or PAM matrices which account for amino acid substitution frequencies.

Why might my alignment score be negative?

Negative scores occur when sequences are poorly related and the penalties for mismatches and gaps outweigh the rewards for matches. This suggests the sequences may not be homologous or may require different alignment parameters.

More Biology Tools