In bioinformatics, alignment-free sequence analysis approaches to molecular sequence and structure data provide alternatives over alignment-based approaches.[1]
The emergence and need for the analysis of different types of data generated through biological research has given rise to the field of bioinformatics.[2] Molecular sequence and structure data of DNA, RNA, and proteins, gene expression profiles or microarray data, metabolic pathway data are some of the major types of data being analysed in bioinformatics. Among them sequence data is increasing at the exponential rate due to advent of next-generation sequencing technologies. Since the origin of bioinformatics, sequence analysis has remained the major area of research with wide range of applications in database searching, genome annotation, comparative genomics, molecular phylogeny and gene prediction. The pioneering approaches for sequence analysis were based on sequence alignment either global or local, pairwise or multiple sequence alignment.[3][4] Alignment-based approaches generally give excellent results when the sequences under study are closely related and can be reliably aligned, but when the sequences are divergent, a reliable alignment cannot be obtained and hence the applications of sequence alignment are limited. Another limitation of alignment-based approaches is their computational complexity and are time-consuming and thus, are limited when dealing with large-scale sequence data.[5] The advent of next-generation sequencing technologies has resulted in generation of voluminous sequencing data. The size of this sequence data poses challenges on alignment-based algorithms in their assembly, annotation and comparative studies.
Alignment-free methods
Alignment-free methods can broadly be classified into five categories: a) methods based on k-mer/word frequency, b) methods based on the length of common substrings, c) methods based on the number of (spaced) word matches, d) methods based on micro-alignments, e) methods based on information theory and f) methods based on graphical representation. Alignment-free approaches have been used in sequence similarity searches,[6] clustering and classification of sequences,[7] and more recently in phylogenetics[8][9] (Figure 1).
Such molecular phylogeny analyses employing alignment-free approaches are said to be part of next-generation phylogenomics.[9] A number of review articles provide in-depth review of alignment-free methods in sequence analysis.[1][10][11][12][13][14][15]
The AFproject is an international collaboration to benchmark and compare software tools for alignment-free sequence comparison.[16]
Methods based on k-mer/word frequency
The popular methods based on k-mer/word frequencies include feature frequency profile (FFP),[17][18] Composition vector (CV),[19][20] Return time distribution (RTD),[21] frequency chaos game representation (FCGR).[22] and Spaced Words.[23]
Feature frequency profile (FFP)
The methodology involved in FFP based method starts by calculating the count of each possible k-mer (possible number of k-mers for nucleotide sequence: 4k, while that for protein sequence: 20k) in sequences. Each k-mer count in each sequence is then normalized by dividing it by total of all k-mers' count in that sequence. This leads to conversion of each sequence into its feature frequency profile. The pair wise distance between two sequences is then calculated Jensen–Shannon (JS) divergence between their respective FFPs. The distance matrix thus obtained can be used to construct phylogenetic tree using clustering algorithms like neighbor-joining, UPGMA etc.
Composition vector (CV)
In this method frequency of appearance of each possible k-mer in a given sequence is calculated. The next characteristic step of this method is the subtraction of random background of these frequencies using Markov model to reduce the influence of random neutral mutations to highlight the role of selective evolution. The normalized frequencies are put a fixed order to form the composition vector (CV) of a given sequence. Cosine distance function is then used to compute pairwise distance between CVs of sequences. The distance matrix thus obtained can be used to construct phylogenetic tree using clustering algorithms like neighbor-joining, UPGMA etc. This method can be extended through resort to efficient pattern matching algorithms to include in the computation of the composition vectors: (i) all k-mers for any value of k, (ii) all substrings of any length up to an arbitrarily set maximum k value, (iii) all maximal substrings, where a substring is maximal if extending it by any character would cause a decrease in its occurrence count.[24][25]
Return time distribution (RTD)
The RTD based method does not calculate the count of k-mers in sequences, instead it computes the time required for the reappearance of
k-mers. The time refers to the number of residues in successive appearance of particular k-mer. Thus the occurrence of each k-mer in a sequence is calculated in the form of RTD, which is then summarised using two statistical parameters mean (μ) and standard deviation (σ). Thus each sequence is represented in the form of numeric vector of size 2⋅4k containing μ and σ of 4k RTDs. The pair wise distance between sequences is calculated using Euclidean distance measure. The distance matrix thus obtained can be used to construct phylogenetic tree using clustering algorithms like neighbor-joining, UPGMA etc. A recent approach Pattern Extraction through Entropy Retrieval (PEER) provides direct detection of the k-mer length and summarised the occurrence interval using entropy.
Frequency chaos game representation (FCGR)
The FCGR methods have evolved from chaos game representation (CGR) technique, which provides scale independent representation for genomic sequences.[26] The CGRs can be divided by grid lines where each grid square denotes the occurrence of oligonucleotides of a specific length in the sequence. Such representation of CGRs is termed as Frequency Chaos Game Representation (FCGR). This leads to representation of each sequence into FCGR. The pair wise distance between FCGRs of sequences can be calculated using the Pearson distance, the Hamming distance or the Euclidean distance.[27]
Spaced-word frequencies
While most alignment-free algorithms compare the word-composition of sequences, Spaced Words uses a pattern of care and don't care positions. The occurrence of a spaced word in a sequence is then defined by the characters at the match positions only, while the characters at the don't care positions are ignored. Instead of comparing the frequencies of contiguous words in the input sequences, this approach compares the frequencies of the spaced words according to the pre-defined pattern.[23] Note that the pre-defined pattern can be selected by analysis of the Variance of the number of matches,[28] the probability of the first occurrence on several models,[29] or the Pearson correlation coefficient between the expected word frequency and the true alignment distance.[30]
Methods based on length of common substrings
The methods in this category employ the similarity and differences of substrings in a pair of sequences. These algorithms
were mostly used for string processing in computer science.[31]
Average common substring (ACS)
In this approach, for a chosen pair of sequences (A and B of lengths n and m respectively), longest substring starting at some position is identified in one sequence (A) which exactly matches in the other sequence (B) at any position. In this way, lengths of longest substrings starting at different positions in sequence A and having exact matches at some positions in sequence B are calculated. All these lengths are averaged to derive a measure . Intuitively, larger the , the more similar the two sequences are. To account for the differences in the length of sequences, is normalized [i.e. ]. This gives the similarity measure between the sequences.
In order to derive a distance measure, the inverse of similarity measure is taken and a correction term is subtracted from it to assure that will be zero. Thus
This measure is not symmetric, so one has to compute , which gives final ACS measure between the two strings (A and B).[32] The subsequence/substring search can be efficiently performed by
using suffix trees.[33][34][35]
k-mismatch average common substring approach (kmacs)
This approach is a generalization of the ACS approach. To define the distance between two DNA or protein sequences, kmacs estimates for each position i of the first sequence the longest substring starting at i and matching a substring of the second sequence with up to k mismatches. It defines the average of these values as a measure of similarity between the sequences and turns this into a symmetric distance measure. Kmacs does not compute exact k-mismatch substrings, since this would be computational too costly, but approximates such substrings.[36]
Mutation distances (Kr)
This approach is closely related to the ACS, which calculates the number of substitutions per site between two DNA sequences using the shortest
absent substring (termed as shustring).[37]
Length distribution of k-mismatch common substrings
This approach uses the program kmacs[36] to calculate longest common substrings with up to k mismatches for a pair of DNA sequences. The phylogenetic distance between the sequences can then be estimated from a local maximum in the length distribution of the k-mismatch common substrings.[38]
Methods based on the number of (spaced) word matches
and
These approachese are variants of the statistics that counts the number of -mer matches between two sequences. They improve the simple statistics by taking the background distribution of the compared sequences into account.[39]
MASH
This is an extremely fast method that uses the MinHash bottom sketch strategy for estimating the Jaccard index of the multi-sets of -mers of two input sequences. That is, it estimates the ratio of -mer matches to the total number of -mers of the sequences. This can be used, in turn, to estimate the evolutionary distances between the compared sequences, measured as the number of substitutions per sequence position since the sequences evolved from their last common ancestor.[40]
Slope-Tree
This approach calculates a distance value between two protein sequences based on the decay of the number of -mer matches if increases.[41]
Slope-SpaM
This method calculates the number of -mer or spaced-word matches
(SpaM) for different values for the word length or number of match positions in the underlying pattern, respectively. The slope of an affine-linear function that depends on is calculated to estimate the Jukes-Cantor distance between the input sequences .[42]
Skmer
Skmer calculates distances between species from unassembled sequencing reads. Similar to MASH, it uses the Jaccard index on the sets of -mers from the input sequences. In contrast to MASH, the program is still accurate for low sequencing coverage, so it can be used for genome skimming.[43]
Methods based on micro-alignments
Strictly spoken, these methods are not alignment-free. They are using simple gap-free micro-alignments where sequences are required to match at certain pre-defined positions. The positions aligned at the remaining positions of the micro-alignments where mismatches are allowed, are then used for phylogeny inference.
Co-phylog
This method searches for so-called structures that are defined as pairs of k-mer matches between two DNA sequences that are one position apart in both sequences. The two k-mer matches are called the context, the position between them is called the object. Co-phylog then defines the distance between two sequences the fraction of such structures for which the two nucleotides in the object are different. The approach can be applied to unassembled sequencing reads.[44]
andi
andi estimates phylogenetic distances between genomic sequences based on ungapped local alignments that are flanked by maximal exact word matches. Such word matches can be efficiently found using suffix arrays. The gapfree alignments between the exact word matches are then used to estimate phylogenetic distances between genome sequences. The resulting distance estimates are accurate for up to around 0.6 substitutions per position.[45]
Filtered Spaced-Word Matches (FSWM)
FSWM uses a pre-defined binary pattern P representing so-called match positions and don't-care positions. For a pair of input DNA sequences, it then searches for spaced-word matches w.r.t. P, i.e. for local gap-free alignments with matching nucleotides at the match positions of P and possible mismatches at the don't-care positions. Spurious low-scoring spaced-word matches are discarded, evolutionary distances between the input sequences are estimated based on the nucleotides aligned to each other at the don't-care positions of the remaining, homologous spaced-word matches.[46] FSWM has been adapted to estimate distances based on unassembled NGS reads, this version of the program is called Read-SpaM.[47]
Prot-SpaM
Prot-SpaM (Proteome-based Spaced-word Matches) is an implementation of the FSWM algorithm for partial or whole proteome sequences.[48]
Multi-SpaM
Multi-SpaM (MultipleSpaced-word Matches) is an approach to genome-based phylogeny reconstruction that extends the FSWM idea to multiple sequence comparison.[49] Given a binary pattern P of match positions and don't-care positions, the program searches for P-blocks, i.e. local gap-free four-way alignments with matching nucleotides at the match positions of P and possible mismatches at the don't-care positions. Such four-way alignments are randomly sampled from a set of input genome sequences. For each P-block, an unrooted tree topology is calculated using RAxML.[50] The program Quartet MaxCut is then used to calculate a supertree from these trees.
Methods based on information theory
Information Theory has provided successful methods for alignment-free sequence analysis and comparison. The existing applications of information theory include global and local characterization of DNA, RNA and proteins, estimating genome entropy to motif and region classification. It also holds promise in gene mapping, next-generation sequencing analysis and metagenomics.[51]
Base–base correlation (BBC)
Base–base correlation (BBC) converts the genome sequence into a unique 16-dimensional numeric vector using the following equation,
The and denotes the probabilities of bases i and j in the genome. The indicates the probability of bases i and j at distance ℓ in the genome. The parameter K indicates the maximum distance between the bases i and j. The variation in the values of 16 parameters reflect variation in the genome content and length.[52][53][54]
Information correlation and partial information correlation (IC-PIC)
IC-PIC (information correlation and partial information correlation) based method employs the base correlation property of DNA sequence. IC and PIC were calculated using following formulas,
The final vector is obtained as follows:
which defines the range of distance between bases.[55]
The pairwise distance between sequences is calculated using Euclidean distance measure. The distance matrix thus obtained can be used to construct phylogenetic tree using clustering algorithms like neighbor-joining, UPGMA, etc..
Compression
Examples are effective approximations to Kolmogorov complexity, for example Lempel-Ziv complexity. In general compression-based methods use the mutual information between the sequences. This is expressed in conditional Kolmogorov complexity, that is, the length of the shortest self-delimiting program required to generate a string given the prior knowledge of the other string. This measure has a relation to measuring k-words in a sequence, as they can be easily used to generate the sequence. It is sometimes a computationally intensive method. The theoretic basis for the Kolmogorov complexity approach was
laid by Bennett, Gacs, Li, Vitanyi, and Zurek (1998) by proposing the information distance.[56] The Kolmogorov complexity being incomputable it was approximated by compression algorithms. The better they compress the better they are. Li, Badger, Chen, Kwong,, Kearney, and Zhang (2001) used a non-optimal but normalized form of this approach,[57] and the optimal normalized form by Li, Chen, Li, Ma, and Vitanyi (2003) appeared in [58] and more extensively and proven by Cilibrasi and Vitanyi (2005) in.[59]
Otu and Sayood (2003) used the Lempel-Ziv complexity method to construct five different distance measures for phylogenetic tree construction.[60]
Context modeling compression
In the context modeling complexity the next-symbol predictions, of one or more statistical models, are combined or competing to yield a prediction that is based on events recorded in the past. The algorithmic information content derived from each symbol prediction can be used to compute algorithmic information profiles with a time proportional to the length of the sequence. The process has been applied to DNA sequence analysis.[61]
Methods based on graphical representation
Iterated maps
The use of iterated maps for sequence analysis was first introduced by HJ Jefferey in 1990[26] when he proposed to apply the Chaos Game to map genomic sequences into a unit square. That report coined the procedure as Chaos Game Representation (CGR). However, only 3 years later this approach was first dismissed as a projection of a Markov transition table by N Goldman.[62] This objection was overruled by the end of that decade when the opposite was found to be the case – that CGR bijectively maps Markov transition is into a fractal, order-free (degree-free) representation.[63] The realization that iterated maps provide a bijective map between the symbolic space and numeric space led to the identification of a variety of alignment-free approaches to sequence comparison and characterization. These developments were reviewed in late 2013 by JS Almeida in.[64] A number of web apps such as https://github.com/usm/usm.github.com/wiki,[65] are available to demonstrate how to encode and compare arbitrary symbolic sequences in a manner that takes full advantage of modern MapReduce distribution developed for cloud computing.
Comparison of alignment based and alignment-free methods
Alignment-based methods
Alignment-free methods
These methods assume that homologous regions are contiguous (with gaps)
Does not assume such contiguity of homologous regions
Computes all possible pairwise comparisons of sequences; hence computationally expensive
Based on occurrences of sub-sequences; composition; computationally inexpensive, can be memory-intensive
Well-established approach in phylogenomics
Relatively recent and application in phylogenomics is limited; needs further testing for robustness and scalability
Requires substitution/evolutionary models
Less dependent on substitution/evolutionary models
Sensitive to stochastic sequence variation, recombination, horizontal (or lateral) genetic transfer, rate heterogeneity and sequences of varied lengths, especially when similarity lies in the "twilight zone"
Less sensitive to stochastic sequence variation, recombination, horizontal (or lateral) genetic transfer, rate heterogeneity and sequences of varied lengths
Best practice uses inference algorithms with complexity at least O(n2); less time-efficient
Inference algorithms typically O(n2) or less; more time-efficient
Heuristic in nature; statistical significance of how alignment scores relate to homology is difficult to assess
Exact solutions; statistical significance of the sequence distances (and degree of similarity) can be readily assessed
Relies on dynamic programming (computationally expensive) to find alignment that has optimal score.
side-steps computational expensive dynamic programming by indexing word counts or positions in fractal space.[66]
^Mullan L (March 2006). "Pairwise sequence alignment--it's all about us!". Briefings in Bioinformatics. 7 (1): 113–115. doi:10.1093/bib/bbk008. PMID16761368.
^ abcdKolekar P, Kale M, Kulkarni-Kale U (November 2012). "Alignment-free distance measure based on return time distribution for sequence analysis: applications to clustering, molecular phylogeny and subtyping". Molecular Phylogenetics and Evolution. 65 (2): 510–522. doi:10.1016/j.ympev.2012.07.003. PMID22820020.
^Apostolico A, Denas O, Dress A (September 2010). "Efficient tools for comparative substring analysis". Journal of Biotechnology. 149 (3): 120–126. doi:10.1016/j.jbiotec.2010.05.006. PMID20682467.
^Wang Y, Hill K, Singh S, Kari L (February 2005). "The spectrum of genomic signatures: from dinucleotides to chaos game representation". Gene. 346: 173–185. doi:10.1016/j.gene.2004.10.021. PMID15716010.
^Liu Z, Meng J, Sun X (April 2008). "A novel feature-based method for whole genome phylogenetic analysis without alignment: application to HEV genotyping and subtyping". Biochemical and Biophysical Research Communications. 368 (2): 223–230. doi:10.1016/j.bbrc.2008.01.070. PMID18230342.
^Liu ZH, Sun X (2008). "Coronavirus phylogeny based on base-base correlation". International Journal of Bioinformatics Research and Applications. 4 (2): 211–220. doi:10.1504/ijbra.2008.018347. PMID18490264.
^Gao Y, Luo L (January 2012). "Genome-based phylogeny of dsDNA viruses by a novel alignment-free method". Gene. 492 (1): 309–314. doi:10.1016/j.gene.2011.11.004. PMID22100880.
^Bennett, C.H., Gacs, P., Li, M., Vitanyi, P. and Zurek, W., Information distance, IEEE Trans. Inform. Theory, 44, 1407--1423
^Li, M., Badger, J.H., Chen, X., Kwong, S., Kearney, P. and
Zhang, H., (2001) An information-based sequence distance and
its application to whole mitochondrial genome phylogeny.
Bioinformatics, 17:(2001), 149--154
^M. Li, X. Chen, X. Li, B. Ma, P.M.B. Vitanyi.
The similarity metric, IEEE Trans. Inform. Th., 50:12(2004),
3250--3264
^R.L. Cilibrasi and P.M.B. Vitanyi, Clustering by compression,
IEEE Trans. Informat. Th., 51:4(2005), 1523--1545