Amino Acid Sequence Alignment: Basic Concepts, Online Tools & Databases
We introduce basic concepts of protein amino acid sequence alignment and discuss the BLAST search tool, as well as other tools for online pairwise and multiple sequence alignment. We also introduce definitions of concepts such as amino acid substitutions, protein families, sequence homology, domains, and conserved sequence motifs.
Chapter Overview
Protein amino acid sequence alignment is a fundamental tool in biochemistry and molecular biology research. In this chapter, we discuss the basic principles, definitions, and bioinformatics tools and databases essential for studying protein sequences, running amino acid sequence alignment, and analysing sequence-structure relationships. It consists of four sections:
1. Introduction, basic definitions
2. The 20 amino acids: classification and properties
3. Amino acid substitutions, point accepted matrices
4. Calculation alignment score
5. Multiple sequence alignment
All sections are interconnected and should preferably be viewed together.
Amino Acid Sequence Alignment: Basic Concepts & Definitions
Protein amino acid sequence alignment provides extensive information about a protein’s evolutionary history and conserved functional and structural features. Although technically manageable, extracting this information from a sequence alignment requires specific skills and tools. We can sometimes compare such a study to reading a text in a foreign language without understanding it: we may recognize the letters and some words, but we cannot grasp its meaning. Understanding the properties of the 20 amino acids is key to understanding the meaning of the words in a text. This knowledge is essential for analyzing protein amino acid sequence alignments.
Amino acids can be classified into three main groups: hydrophobic, polar, and charged. Different amino acid classes perform distinct functions in proteins. Some polar and charged amino acids are often found at the active sites of enzymes. Hydrophobic amino acids typically form the core of protein molecules, while charged residues are often distributed on the protein surface in contact with a solvent. Glycine and proline typically play a role in the overall folding of the molecule and are often found in loop regions between secondary structure elements.
An amino acid sequence alignment will highlight the distribution of the different residue classes, hydrophobic, polar, and charged residues, within the sequence. This provides information on secondary and even tertiary structures. We know that conserved sequence patterns often contain critical information vital to protein structure and function, and these are the areas we should focus on when analysing protein sequence alignment.
Amino acid sequence alignment also helps in tracing a protein’s evolutionary history. Proteins that have diverged from a common ancestral gene are related, constitute a functional family, and are known as homologs. Members of a protein family typically perform similar functions (e.g., catalyze a biochemical reaction), can be recognized by conserved sequence motifs, and maintain conserved three-dimensional structures.
When we discuss amino acid conservation, we also need to remember that many amino acids in a protein sequence are replaced over evolution due to mutations in the genetic code. Many of these replacements (substitutions) are conserved substitutions since they preserve the chemical nature of the amino acids being replaced. For example, hydrophobic amino acids are typically replaced by other hydrophobic amino acids, and this principle also applies to the replacement of charged and polar amino acids. This is what we mean by conservation of the chemical nature of an amino acid at a specific position. As we will discuss later, positions that are not completely conserved (i.e., not invariant) may still yield valuable information for protein sequence alignment. This information is encoded in the so-called mutation probability matrices (also called substitution matrices or point-accepted mutation matrices) and is used to score protein sequence alignments. These matrices account for amino acid substitution frequencies and are essential for calculating accurate alignment scores.
Sequence Alignment Types: Local, Global, Pairwise, and Multiple Sequence Alignments
The first step in protein sequence alignment is placing the protein of interest within a specific frame, that is, its functional family. To find related sequences, we first need to perform a search, using an online database like UniProt (the Universal Protein Resource), which is part of the ExPASy server. UniProt is a comprehensive, high-quality, and freely accessible web-based resource for protein sequences and functional analysis. It offers an online sequence database for finding a sequence of interest and many tools for sequence alignment and analysis, including BLAST (Basic Local Alignment Search Tool), widely used in bioinformatics to identify proteins based on their sequence. BLAST runs pairwise alignment (alignment of only two sequences) of short sequence segments to identify related proteins in the database (see below). The alignment of short sequence segments is called local alignment.
Searching UniProt is straightforward if you know the name of the protein you’re interested in. Simply enter it into the UniProt search field. The search will produce a list of related proteins from the database. Detailed instructions for this process are available on the multiple sequence alignment page. From the UniProt list, you can select sequences to run a global alignment, which is the most common alignment type that uses full-length sequences.
With global alignment, we can make a multiple sequence alignment (MSA) for a group of sequences. Unlike local and pairwise alignments, MSA provides significantly more useful information and is widely used in structure prediction, modeling, and the identification of protein families and domains.
Many sequence alignment and analysis tools are available online to use with MSA. For running MSA, I use the online tools at UniProt, although I also frequently use the EBI MSA servers. The multiple sequence alignment example provided in this chapter can help you better understand the practical aspect of analysing a protein sequence using MSA and other online tools and databases.
The BLAST Search Tool
If the protein is unknown, such as when the sequence comes from a new genome sequencing project or is purified from a virus or another pathogen and needs to be identified, then running BLAST is necessary. When using the UniProt BLAST tool, you paste a sequence into the search field in FASTA format. It is a simple format; you can find the description here. BLAST compares our sequence of interest (query sequence) against all other sequences in the database using specific criteria. The output appears as a list of UniProt entries, with the percentage of sequence identity and the alignment score given for each hit (see first image below). These numbers can be used to judge the quality of the database hit. If the sequence identity is below 20%, then we need to be cautious, as the probability that the protein is related to our query protein is too low. Clicking any blue fat line displays the local pairwise alignment between a segment of the query sequence and a similar-length segment of the database sequence (second image). In this case, the alignment includes 66 amino acids of the query sequence aligned against a database sequence. If the search results do not convince us, we could start looking for other criteria. For example, we can run a multiple sequence alignment using the entire query protein sequence and several sequences from the protein family to which the database hit belongs. MSA will help us identify conserved sequence motifs or other conserved features (see below) that can serve as additional criteria for assessing the potential homology of the query sequence to the BLAST hit.
An example of a BLAST search (first image) and a local pairwise alignment (residues 1 to 66 included) generated by BLAST at the Uniprot server using the BchI subunit of magnesium chelatase as a search query sequence.
Multiple Sequence Alignment: Domains & Conserved Sequence Motifs
A multiple sequence alignment is very useful for examining properties such as evolutionary origin, domain content, conserved sequence motifs, and the locations of functionally important residues. For instance, in an enzyme, these features include amino acids involved in substrate binding and catalysis, as well as those at cofactor or metal-binding sites. It is also known that short amino acid repeats and regions of low sequence complexity often bind other proteins. Using these conserved motifs, different methods can create characteristic signatures to identify a protein family. Some examples are covered in the tutorial on multiple sequence alignment. One example is the PROSITE database, which is part of the Expasy server. This database can be searched for specific signature patterns of a protein family. These signature patterns typically include just a few amino acids, often vital for protein function. Other types of signals include profiles, fingerprints, and hidden Markov models (HMMs). The InterPro database, hosted on the EBI server, employs these various signals to classify sequences into protein families and predict protein functions in newly sequenced genomes.
Another key feature of proteins that can be examined through multiple sequence alignment is their domain content. A domain often performs a specific role, such as hosting an enzyme active site, interacting with another protein in multi-subunit complexes, or serving a purely structural purpose. Additionally, many conserved domains can be found in unrelated proteins. This kind of conservation can also be uncovered through analyzing a multiple sequence alignment. The InterPro database primarily focuses on sequence and functional data and provides information on protein domain content based on multiple sequence analyses. On the other hand, the chapter on protein structure discusses protein domains and motifs from a structural standpoint. The CATH database is completely dedicated to structure-based classification of domains into homologous superfamilies and Functional Families (FunFams).
As an example, the image below shows a multiple sequence alignment of the enzyme ferrochelatase. The first four sequences in the alignment are from bacteria, while the last five sequences are from eukaryotes. By grouping the sequences this way, we can analyze conservation patterns across different kingdoms of life. The residues that are invariant across all kingdoms are usually essential for the protein’s tertiary structure, fold, and function. To highlight regions of sequence conservation, colored boxes are used. The green boxes mark regions conserved only in eukaryotic organisms, and the red boxes mark residues conserved in both bacteria and eukaryotes. Secondary structure elements, derived from the 3D structure of the protein, are shown below the alignment. We can see that the alignment between these secondary structure elements contains many insertions and deletions. These are loop regions, which are typically less conserved and less reliable parts of the alignment. Changing the gap penalties and the alignment matrices usually alters the appearance of these regions.
The image also shows that the protein sequence is highly conserved in eukaryotic organisms, and much more variable in bacteria. As expected, the invariant residues (red boxes) include functionally critical amino acids involved in catalysis, as well as several glycine and proline residues, which are essential for protein folding (see the section on amino acid properties). We can also observe that eukaryotic sequences are substantially longer than bacterial sequences, both at the N- and C-termini of the protein.
Later in this chapter, you will learn how to make your own MSA alignment and continue to analyze the protein’s domain content and other conserved sequence motifs.
To dive deeper into the subject, I can recommend the following excellent papers:
Geoffrey J. Barton, Protein sequence alignment and database scanning
Geoffrey J. Barton, Protein Sequence Alignment Techniques
Acta Cryst. (1998). D54, 1139±1146


