Genome Analysis Week 4
Advanced Sequence Analysis: Beyond BLAST
Introduction
The first week of this series covered BLAST, a method for comparing individual sequences against collections of individual sequences in public databases. That discussion built a foundation in sequence similarity searches designed to reveal biologically meaningful relationships. This week extends those concepts by moving beyond one-to-one sequence comparisons to methods that use collections of protein families rather than individual sequences. This approach enables the identification of new members of a protein family that might evade detection using simple BLAST techniques, and it reveals commonalities in domain architectures by leveraging the collective characteristics of a family of proteins.
The core idea is to start with an individual sequence of interest and compare it to collections of multiple sequence alignments (MSAs) rather than to individual sequences. This shift in perspective makes it possible to detect distant evolutionary relationships that are invisible at the level of pairwise percent identity.
Profiles and Patterns
Profile Definition
A profile is a numerical representation of a multiple sequence alignment. It is constructed by taking an MSA and converting it into a scoring matrix — essentially a position-specific scoring table. The quality of the profile depends on the presence of conserved residues at various positions in the alignment, because these conserved patterns or motifs represent the common characteristics of a protein family. Profiles allow detection of similarities between sequences that share very low percent identity.
For example, the homeodomain is about 60 amino acids long, yet only a handful of positions are absolutely conserved. Because of this sparse conservation, BLAST alone may not identify all members of the homeodomain family. Profile-based methods fill this gap, especially for distantly related proteins.
Constructing a Profile
Starting with an MSA (e.g., a 10-residue alignment with a conserved glycine at position 10, a conserved threonine at position 8, and a mostly proline but occasionally threonine at position 9), four questions guide the generation of the numerical matrix:
Which residues occur at each position?
What is the frequency of observed residues at each position (conserved, semi-conserved, non-conserved)?
Where can gaps be introduced? (Gaps are allowed in these alignments, though the example is gap-free.)
The result is a Position Specific Scoring Matrix (PSSM) — also called a position-specific scoring table. This matrix functions similarly to the BLOSUM matrices discussed previously. The consensus sequence for each position appears in the leftmost column, and the 20 amino acids run across the top.
At a position with absolute conservation (e.g., glycine at position 10), an exact match earns a very high positive score (e.g., +150).
At a semi-conserved position (e.g., position 9 where proline is consensus but threonine is allowed), a match to proline earns a lower positive score (e.g., +89).
At a variable position (e.g., position 2 with many possible residues), even a match to the consensus proline earns only a small positive score.
Non-conservative substitutions earn negative scores.
Users do not need to calculate these matrices manually; bioinformatics tools perform this computation in the background.
Pattern Definition
A pattern provides only positional information, not frequency information. It is a short, symbolic representation used for pattern matching. The codes are:
Square brackets
[ ]— "one of": e.g.,[FY]means either phenylalanine or tyrosine at that position.X— any amino acid.A letter alone (e.g.,
C) — an obligatory residue at that position.Xfollowed by a number (e.g.,X{2}) — any two amino acids in a row.Curly brackets
{ }— "none of": e.g.,{VA}means any residue except valine or alanine.Residue letter followed by a number (e.g.,
H{3}) — three histidines in a row.
Example pattern: [FY]-X-C-X{2}-{VA}-X-H{3}
Decoded: position 1: F or Y; position 2: any; position 3: obligatory C; positions 4-5: any two amino acids; position 6: any except V or A; position 7: any; positions 8-10: three histidines.
Patterns enable simple pattern-matching exercises to assign a protein of interest to a known family.
Pfam: The Protein Family Database
Pfam is a curated database led by Alex Bateman's group at the European Bioinformatics Institute (EBI). It contains a collection of multiple alignments of protein domains and conserved protein regions. The underlying principle is that such conserved regions are likely to have structural, functional, or evolutionary importance.
Each Pfam entry includes:
The multiple sequence alignment
Data on protein domain architectures
Species distribution of family members
Information on solved protein structures (X-ray or NMR)
Links to other relevant databases
The web resource is called Pfam, and the database itself is Pfam-A. Entries are based on curated alignments of known family members. Experts at EBI mine resources like the UniProt knowledgebase for known members, align those sequences, and use that alignment as a seed. The seed alignment is then used by the program HMMER in an iterative fashion to find additional members of the family. Because of this rigorous, expert-curated process, a hit to a Pfam profile is highly likely to be a true positive.
Using Pfam
The Pfam website is at pfam.xfam.org. The interface offers three main entry points:
Keyword search – type the name of a protein family to retrieve its MSA and associated sequences.
View a clan – a "family of families" (superfamilies) that share a single evolutionary origin.
Sequence search – paste a query sequence to find matching Pfam families.
For a sequence search, after pasting the sequence, the most important parameter is the E-value threshold. The default is 1.0, but the recommended setting for protein searches is 0.001 (10⁻³). Another option is the gathering threshold, a curator-assigned minimum score required for assignment to a particular family. In practice, users should change the E-value to 0.001 before submitting.
Example output: A search with a cytochrome P450 sequence returns one significant Pfam-A match. The alignment shows:
The query sequence at the bottom.
#HMM: the consensus sequence of the profile.
#Match: exact matches shown as the amino acid letter; conservative substitutions shown as
+.#PP: posterior probability for each position, using a scale where 0 = 0–5%, 1 = 5–15%, ..., 9 = 85–95%, and
*= 95–100%. This is also displayed as a color heat map.
Clicking the family name (e.g., "P450") takes the user to the family's landing page, which includes:
An executive summary describing the family's biology, metabolic processes, and structural considerations.
Literature references considered essential reading.
An example structure (solved, not predicted) with a pulldown to view different structures.
Statistics: e.g., 455 different domain architectures corresponding to nearly 42,000 sequences.
The domain organization section shows all the different architectures involving one or more copies of the domain. Each architecture has a "Show" link to download all corresponding sequences. This is valuable for deducing function or structure of unknown proteins, and for clinical questions such as whether a mutation knocks out a critical residue.
The species distribution is displayed in a circular phylogenetic view. Users can click on a taxonomic group (e.g., cnidaria: jellyfish, corals, sea anemones) to see the lineage and download sequences from that species. This is useful for comparative genomics.
The external database links include PROSITE, which provides pattern information. PROSITE entries show:
The consensus pattern in the same format described earlier (e.g.,
[FY]...).Expert contacts by email – the creators of the entry, who are experts in the field and available to answer questions.
Conserved Domain Database (CDD)
CDD is a resource from NCBI that identifies conserved domains in protein sequences. It differs from Pfam by incorporating three-dimensional structural information to help define domain boundaries and refine alignments. CDD uses data from Pfam-A as well as from four other sources, augmenting its predictive power. Profiles are constructed using a variant of BLAST called RPS-BLAST (Reverse Position Specific BLAST), which uses a different algorithm than Pfam's HMMER. Therefore, both Pfam and CDD should be used when examining protein domains to ensure comprehensive coverage.
Using CDD
The CDD page at NCBI provides a search box for pasting a sequence. Example: the human DCC (deleted in colorectal carcinoma) protein. Options include an E-value threshold (default 0.01; recommended 0.001).
Output includes:
A schematic of the query sequence (e.g., 1–1447 residues).
A hit list of conserved domains, displayed graphically as colored boxes along the query.
Clicking the
+sign expands details: summary, alignment (blue residues indicate mismatches, red indicates matches), and E-value (e.g., 4.8 × 10⁻⁵¹).A link to the domain's accession page, which provides a summary, references, and sequence alignments in various formats (e.g., compact hypertext showing conserved blocks). These precomputed alignments can be downloaded for downstream analyses such as phylogenetics or building more complex MSAs.
PSI-BLAST (Position-Specific Iterated BLAST)
PSI-BLAST is a powerful technique for finding distant homologs that are not detected by standard BLAST. The process works as follows:
Perform a standard BLASTP search with the query sequence.
From the results, the method automatically calculates a Position Specific Scoring Matrix (PSSM) based on all the sequences found in that first round. It creates an MSA and then the numerical matrix.
The PSSM replaces the original query for the next round of searches. The original sequence is discarded.
The search is repeated iteratively – using the PSSM as the query – until no new significant alignments are found (convergence).
Using PSI-BLAST
From the BLAST homepage, select protein BLAST. Paste the query sequence (e.g., human HMG [high mobility group] protein). Set options:
Database: often RefSeq (curated, one representative per molecule).
Organism: may limit by taxonomic group (e.g., deuterostomes).
Exclude models (XM/XP): check this box to avoid predicted (model) sequences that are not experimentally verified.
Program selection: choose PSI-BLAST (not BLASTP).
Algorithm parameters:
E-value: default 10, change to 0.001.
Filters and masking: check low complexity regions to avoid homopolymeric runs (e.g., strings of Qs or Gs) that confound the algorithm.
PSI-BLAST threshold: default 0.005, change to 0.001.
After the first round, the results page shows a hit list with columns including "Select for PSI-BLAST" (all checked by default) and "Use to build PSSM" (empty in round 1). All checked sequences will contribute to the PSSM for the next round. Manual inspection is critical: some new sequences in later rounds may have low percent identity (e.g., 21%, 22%) that violates the 25% rule from week one. Users must apply their biological knowledge to decide whether to keep or uncheck such sequences.
Click "Go" to proceed to the next round. The process may take many rounds (e.g., nine iterations over ~30 minutes). Convergence is indicated by the message: "No new sequences are found above the 0.001 threshold." In one example, round 1 found 117 proteins; after nine rounds, 156 proteins were identified – 39 additional proteins that BLASTP alone missed. This demonstrates the power of using the collective characteristics of all sequences in a family.
Delta-BLAST
Delta-BLAST is a variant of PSI-BLAST from NCBI. The key difference is that the first round searches the query against the CDD database (instead of a BLASTP search against a general protein database). The results of that CDD search are used to compute a PSSM, which then drives subsequent rounds just like PSI-BLAST. Because Delta-BLAST starts with domain-level information that includes structural data, it improves homology detection and produces high-quality alignments even at very low levels of sequence similarity. Users are encouraged to use both PSI-BLAST and Delta-BLAST, as their different methodologies may yield complementary results.
Multiple Sequence Alignments (MSAs)
Moving up one level of complexity from pairwise alignments, multiple sequence alignments are essentially many pairwise alignments compiled together. They are fundamental for many downstream analyses.
Why Perform MSAs?
Identify conserved regions, patterns, and domains – critical for experimental design (e.g., site-directed mutagenesis).
Predict structure and function – conserved residues often indicate structural or functional importance.
Identify new protein family members – as demonstrated with profile-based methods.
Provide the basis for secondary structure prediction – many algorithms use MSA input to predict alpha helices, beta strands, and coils.
Essential input for phylogenetic analysis – no tree can be inferred without an MSA.
Generate matrices for sensitive search methods (profiles/PSSMs).
General Guidelines for Constructing MSAs
Protein vs. nucleotide alignments: Aligning at the protein level is generally preferred because the 20 amino acids provide more information content than the four nucleotides, and protein alignments tend to be more informative. However, context matters: RNA-seq experiments and regulatory element analyses require nucleotide-level alignments.
Steps in MSA construction:
Find sequences that satisfy a reasonable E-value cutoff.
Run the alignment method (e.g., Clustal Omega).
Inspect and fine-tune the alignment manually. No algorithm is perfect; users must look for sequences that introduce many gaps and remove them, then realign, then add back the recalcitrant sequences based on key residues.
Sequence selection considerations:
Use a reasonable number of sequences. Global alignment methods (which force alignment across the full length) have computational time that increases exponentially with the number of sequences. Starting with 10–15 sequences is recommended; an upper limit of 50–100 works for most biological questions. Larger datasets may become intractable or inaccurate.
Sequences should be similar in length. They can be trimmed to a region of interest, guided by pairwise and profile-based search results.
Consider the degree of similarity:
To find required/highly conserved residues: use closely related sequences.
To study evolutionary relationships: use divergent sequences.
A good starting point: sequences that are 30–70% similar to most others in the set. Too similar yields no new information; too divergent makes alignment difficult.
Examine the alignment for:
Conservation of residues and physicochemical properties.
Block-like structure (e.g., neat blocks as seen in CDD).
Avoid excessive gaps – gaps represent insertion/deletion events (biological), not just formatting. Each gap should have a rationale.
Inspection and iterative refinement: Remove sequences that introduce long gaps, realign, then add back based on key residues. Use visualization tools to identify problem regions. Cross-check against expertly curated alignments (from Pfam, CDD). Incorporate structural information to guide gap placement (gaps are less tolerated in secondary structure regions).
Interpreting the Final Alignment
Absolutely conserved positions (e.g.,
*): required for proper structure and function; conserved by evolutionary pressure.Well-conserved positions (e.g.,
:): tolerate limited change (e.g., aromatic or positively charged substitutions) without harming structure/function.Semi-conserved positions (e.g.,
.): weakly similar residues from two property groups.Non-conserved positions: these can mutate freely and may give rise to biological innovation – new functions, new proteins. Do not overlook them.
Gap-free blocks: likely correspond to secondary structure (alpha helices, beta strands).
Gap-rich blocks: likely correspond to unstructured or loop regions.
Clustal Omega
Clustal Omega is the most widely used program for multiple sequence alignments of nucleotide or protein sequences. It is fast and user-friendly. A key feature is the ability to align sequences against a preexisting alignment (called an "external profile"), allowing users to build on curated alignments from Pfam or CDD. Clustal Omega works well with Jalview, a Java applet for interactive visualization and editing.
Algorithm: Progressive Alignment
Clustal Omega uses a progressive alignment method. It first calculates which sequences in the input set are most related (highest similarity). The two most related sequences are aligned first. Then the method builds outward, adding the next most related sequence to the growing alignment, and so on. This approach aligns the easiest sequences first, then uses the accumulated alignment information to correctly place more divergent sequences later. This makes the method fast and yields good-quality alignments.
Outputs
The multiple sequence alignment itself.
Scores used during progressive alignment.
Two types of trees:
Cladogram: branch lengths are equal; shows common ancestry but not evolutionary time.
Phylogram: branch lengths are proportional to the amount of inferred evolutionary change.
Conservation Notation
Below each column in the Clustal Omega alignment, symbols indicate conservation level:
*= entirely conserved column (useful anchor points; should appear in at least 10% of positions).:= conserved position (strongly similar residues from one property group, e.g., aromatics, basic, acidic)..= semi-conserved position (weakly similar residues from two property groups).
Property groups include aromatics, basic side chains, acidic side chains, hydrophobic, small, etc.
Using Clustal Omega
Go to the EBI Clustal Omega website.
Paste sequences (e.g., five FOS proteins).
Click "More options" to set:
Output format: "clustal with numbers" (numbers keep track of positions).
Order: change to "input" to preserve the original order; otherwise, the program reorders by relatedness.
Submit. After computation (may take a few minutes), the alignment is displayed with conservation symbols.
Phylogenetic tree tab: view the cladogram (equal branch lengths) or switch to "real" to see the phylogram (branch lengths proportional to change). These are approximate and differ from trees produced by dedicated phylogenetic software.
Results summary provides downloadable files: percent identity matrix, input sequences.
Jalview: click the Jalview button to open the interactive applet.
Using Jalview
Jalview offers:
Conservation histogram (percent identity per position).
Quality score (based on BLOSUM matrices).
Consensus sequence at the bottom, with a histogram showing confidence. A
+indicates the consensus could not be calculated.Colour menu (British spelling): choose "Percentage Identity" — residues are shaded blue, with darker blue indicating higher identity (81–100% = darkest, down to white for low identity). This quickly identifies motifs and conserved blocks.
Select sequences (e.g., mouse and human FOS) and use Calculate → Pairwise Alignments to see the alignment and percent identity (e.g., 95.9%).
Calculate tree: use Calculate Tree → Neighbor-Joining using BLOSUM62 to generate a first-pass phylogenetic tree. This tree will look different from the Clustal Omega tree and serves as a good initial approximation for more advanced phylogenetic analysis.
T-COFFEE
T-COFFEE (from Cedric Notredame's lab) is another MSA program that can combine sequence information, profile information, and structural information during alignment. Notable features:
A specialized algorithm for aligning transmembrane proteins (which follow different rules due to hydrophobic residues in the lipid bilayer).
The ability to take outputs from multiple alignment methods and merge them into a master alignment, revealing inconsistencies between methods.
A helpful tutorial published in 2014.
Users are encouraged to use multiple MSA methods (Clustal Omega, T-COFFEE, and others) and cross-check results.
Avoiding the Black Box
Throughout this series, the emphasis has been on understanding what happens inside the computational tools, not just accepting outputs at face value. An analogy is drawn to CRISPR: a powerful technology that researchers would never use without thoroughly understanding it first. The same should apply to all computational methods. Users must:
Inspect results manually.
Apply biological knowledge – this is as valuable as the computational output.
Never leave biology at the door when interpreting alignments, PSI-BLAST hits, or domain annotations.
Further Learning
For those wishing to deepen their knowledge, two papers by David Searls are recommended:
"An Online Bioinformatics Curriculum" – suggests curriculum tracks tailored to individual needs, listing freely available massive open online courses (MOOCs).
"A New Online Computational Biology Curriculum" – recasts this as a virtual course catalog divided into departments of an imagined university. The second paper references the first, so downloading both allows users to tailor a learning plan to their own interests.
Conclusion
This week's content has pushed beyond simple BLAST searches into the realm of profile-based methods, domain databases, iterative searches, and multiple sequence alignments. These tools collectively enable the detection of distant evolutionary relationships that are invisible to direct pairwise comparisons. Key resources include Pfam, CDD, PSI-BLAST, Delta-BLAST, Clustal Omega, Jalview, and T-COFFEE. The consistent theme across all methods is that understanding the underlying algorithms and critically evaluating results with biological knowledge is essential for robust, meaningful analyses.
Next week, Laura Elnitski will shift the focus back to whole-genome analysis, discussing regulatory and epigenetic landscapes of mammalian genomes. Until then, users are encouraged to revisit the examples from this lecture and practice with their own sequences.

Ask anything
We've read this whole study set, so questions about it get the best answers.