Fast statistical alignment (FSA) is a probabilistic multiple sequence alignment (MSA) program for aligning protein, RNA, or DNA sequences. It was introduced in 2009 by Robert K. Bradley, Adam Roberts, Michael Smoot, and colleagues, and published in PLOS Computational Biology. Along with MUSCLE and MAFFT, FSA is one of the few alignment programs capable of handling datasets of hundreds or thousands of sequences.
Overview
FSA is a distance-based multiple sequence alignment algorithm that uses pair hidden Markov models (Pair HMMs) to approximate an insertion/deletion process on a tree. It employs a sequence annealing technique to combine posterior probabilities estimated from these models into a multiple alignment. The program is designed to be both statistically motivated and computationally efficient for practical problem sizes.
Algorithm
FSA's alignment algorithm consists of four core components:
-
Pair Hidden Markov Model (Pair HMM): FSA first determines posterior probabilities of alignment between any two sequences from the input set. A standard five-state (or optionally three-state) Pair HMM is used to estimate these probabilities. To reduce computational cost, which would otherwise be quadratic in the number of sequences, FSA uses a randomized approach inspired by Erdős–Rényi random graph theory to select a subset of sequence pairs for comparison.
-
Merging Probabilities: The posterior probabilities for each column in the sequence pairs are sorted using a weighting function that implements a steepest-ascent algorithm.
-
Sequence Annealing: Rather than using progressive alignment (which can produce results heavily dependent on the order of sequence addition), FSA uses sequence annealing. This technique finds the alignment that minimizes the expected distance to the true alignment, which is equivalent to maximizing the expected accuracy. The algorithm starts with all sequences unaligned and greedily merges single columns of characters based on expected improvement in accuracy.
-
Ordering of the Alignment: FSA defines alignments based on homology statements rather than specific gap placements. It outputs the alignment with the minimum number of "gap openings" across individual sequences.
Key Features
-
Query-Specific Learning: FSA uses unsupervised Expectation-Maximization (EM) to learn transition (gap) and emission (substitution) parameters for each pairwise comparison on the fly, allowing the model to adapt to different sequence characteristics without requiring pre-trained parameters.
-
Anchor Annealing: For aligning megabase-long sequences, FSA can use long exact matches (found by MUMmer) or inexact matches (found by exonerate) as anchors, performing dynamic programming only in the regions between anchors.
-
Parallelization: FSA can distribute pairwise comparisons across multiple processors using a fixed-size chunking strategy, dramatically reducing runtime on computer clusters.
-
Iterative Refinement: After the initial sequence annealing, FSA performs iterative refinement to locally improve the alignment by shifting individual characters to positions that improve the objective function.
-
Visualization: FSA includes a GUI that can color alignments according to five quality measures: expected accuracy, sensitivity, specificity, certainty, and consistency.
Performance
In benchmarks against protein structural databases (BAliBASE 3, SABmark 1.65), RNA structural databases (BRAliBase 2.1, Consan mix80), and simulated mammalian and fly genomic DNA, FSA demonstrated competitive or superior accuracy compared to programs such as ClustalW, MAFFT, MUSCLE, T-Coffee, ProbCons, and others. Notably, FSA was the only tested program to achieve a mis-alignment rate below 50% on the SABmark 1.65 dataset and showed strong robustness to non-homologous sequences, leaving unrelated sequences largely unaligned.
Availability
FSA is open-source software. The source code is available at https://fsa.sourceforge.net/, and a web interface was originally hosted at UC Berkeley. The program accepts sequences in FASTA format and outputs alignments in multi-FASTA or Stockholm format.
References
- Bradley RK, Roberts A, Smoot M, Juvekar S, Do J, Dewey C, Holmes I, Pachter L (2009). "Fast Statistical Alignment". PLOS Computational Biology. 5 (5): e1000392. doi:10.1371/journal.pcbi.1000392. PMC 2684580. PMID 19478997.
- Schwartz AS, Pachter L (2007). "Multiple alignment by sequence annealing". Bioinformatics 23: e24-9.