Introduction

Process in bioinformatics that identifies equivalent sites within molecular sequences In bioinformatics, a sequence alignment is a way of arranging the sequences of DNA, RNA, or protein to identify regions of similarity that may be a consequence of functional, structural, or evolutionary relationships between the .Process in bioinformatics that identifies equivalent sites within molecular sequences In bioinformatics, a sequence alignment is a way of arranging the sequences of DNA, RNA, or protein to identify regions of similarity that may be a consequence of functional, structural, or evolutionary relationships between the .

Aligned sequences of nucleotide or amino acid residues are typically represented as rows within a .Aligned sequences of nucleotide or amino acid residues are typically represented as rows within a .

Gaps are inserted between the residues so that identical or similar characters are aligned in successive .Gaps are inserted between the residues so that identical or similar characters are aligned in successive .

Sequence alignments are also used for non biological sequences such as calculating the distance cost between strings in a natural language, or to display financial .Sequence alignments are also used for non biological sequences such as calculating the distance cost between strings in a natural language, or to display financial .

Interpretation

If two sequences in an alignment share a common ancestor, mismatches can be interpreted as point mutations and gaps as indels (that is, insertion or deletion mutations) introduced in one or both lineages in the time since they diverged from one .If two sequences in an alignment share a common ancestor, mismatches can be interpreted as point mutations and gaps as indels (that is, insertion or deletion mutations) introduced in one or both lineages in the time since they diverged from one .

In sequence alignments of proteins, the degree of similarity between amino acids occupying a particular position in the sequence can be interpreted as a rough measure of how conserved a particular region or sequence motif is among .In sequence alignments of proteins, the degree of similarity between amino acids occupying a particular position in the sequence can be interpreted as a rough measure of how conserved a particular region or sequence motif is among .

The absence of substitutions, or the presence of only very conservative substitutions (that is, the substitution of amino acids whose side chains have similar biochemical properties) in a particular region of the sequence, suggest that this region has structural or functional .The absence of substitutions, or the presence of only very conservative substitutions (that is, the substitution of amino acids whose side chains have similar biochemical properties) in a particular region of the sequence, suggest that this region has structural or functional .

Although DNA and RNA nucleotide bases are more similar to each other than are amino acids, the conservation of base pairs can indicate a similar functional or structural .Although DNA and RNA nucleotide bases are more similar to each other than are amino acids, the conservation of base pairs can indicate a similar functional or structural .

Alignment methods

Very short or very similar sequences can be aligned by .Very short or very similar sequences can be aligned by .

However, most interesting problems require the alignment of lengthy, highly variable or extremely numerous sequences that cannot be aligned solely by human .However, most interesting problems require the alignment of lengthy, highly variable or extremely numerous sequences that cannot be aligned solely by human .

Instead, human knowledge is applied in constructing algorithms to produce high quality sequence alignments, and occasionally in adjusting the final results to reflect patterns that are difficult to represent algorithmically (especially in the case of nucleotide ).Instead, human knowledge is applied in constructing algorithms to produce high quality sequence alignments, and occasionally in adjusting the final results to reflect patterns that are difficult to represent algorithmically (especially in the case of nucleotide ).

Computational approaches to sequence alignment generally fall into two categories: global alignments and local .Computational approaches to sequence alignment generally fall into two categories: global alignments and local .

Calculating a global alignment is a form of global optimization that "forces" the alignment to span the entire length of all query .Calculating a global alignment is a form of global optimization that "forces" the alignment to span the entire length of all query .

By contrast, local alignments identify regions of similarity within long sequences that are often widely divergent .By contrast, local alignments identify regions of similarity within long sequences that are often widely divergent .

Local alignments are often preferable, but can be more difficult to calculate because of the additional challenge of identifying the regions of .Local alignments are often preferable, but can be more difficult to calculate because of the additional challenge of identifying the regions of .

A variety of computational algorithms have been applied to the sequence alignment .A variety of computational algorithms have been applied to the sequence alignment .

These include slow but formally correct methods like dynamic .These include slow but formally correct methods like dynamic .

These also include efficient, heuristic algorithms or probabilistic methods designed for large scale database search, that do not guarantee to find best .These also include efficient, heuristic algorithms or probabilistic methods designed for large scale database search, that do not guarantee to find best .

Representations

Alignments are commonly represented both graphically and in text .Alignments are commonly represented both graphically and in text .

In almost all sequence alignment representations, sequences are written in rows arranged so that aligned residues appear in successive .In almost all sequence alignment representations, sequences are written in rows arranged so that aligned residues appear in successive .

In text formats, aligned columns containing identical or similar characters are indicated with a system of conservation .In text formats, aligned columns containing identical or similar characters are indicated with a system of conservation .

As in the image above, an asterisk or pipe symbol is used to show identity between two columns; other less common symbols include a colon for conservative substitutions and a period for semiconservative .As in the image above, an asterisk or pipe symbol is used to show identity between two columns; other less common symbols include a colon for conservative substitutions and a period for semiconservative .

Many sequence visualization programs also use color to display information about the properties of the individual sequence elements; in DNA and RNA sequences, this equates to assigning each nucleotide its own .Many sequence visualization programs also use color to display information about the properties of the individual sequence elements; in DNA and RNA sequences, this equates to assigning each nucleotide its own .

In protein alignments, such as the one in the image above, color is often used to indicate amino acid properties to aid in judging the conservation of a given amino acid .In protein alignments, such as the one in the image above, color is often used to indicate amino acid properties to aid in judging the conservation of a given amino acid .

For multiple sequences the last row in each column is often the consensus sequence determined by the alignment; the consensus sequence is also often represented in graphical format with a sequence logo in which the size of each nucleotide or amino acid letter corresponds to its degree of .For multiple sequences the last row in each column is often the consensus sequence determined by the alignment; the consensus sequence is also often represented in graphical format with a sequence logo in which the size of each nucleotide or amino acid letter corresponds to its degree of .

Sequence alignments can be stored in a wide variety of text based file formats, many of which were originally developed in conjunction with a specific alignment program or .Sequence alignments can be stored in a wide variety of text based file formats, many of which were originally developed in conjunction with a specific alignment program or .

Most web based tools allow a limited number of input and output formats, such as FASTA format and GenBank format and the output is not easily .Most web based tools allow a limited number of input and output formats, such as FASTA format and GenBank format and the output is not easily .

Several conversion programs that provide graphical and/or command line interfaces are available, such as READSEQ and .Several conversion programs that provide graphical and/or command line interfaces are available, such as READSEQ and .

There are also several programming packages which provide this conversion functionality, such as BioPython, BioRuby and .There are also several programming packages which provide this conversion functionality, such as BioPython, BioRuby and .

The SAM/BAM files use the CIGAR (Compact Idiosyncratic Gapped Alignment Report) string format to represent an alignment of a sequence to a reference by encoding a sequence of events (e. g. match/mismatch, insertions, ).The SAM/BAM files use the CIGAR (Compact Idiosyncratic Gapped Alignment Report) string format to represent an alignment of a sequence to a reference by encoding a sequence of events (e. g. match/mismatch, insertions, ).

Global and local alignments

Global alignments, which attempt to align every residue in every sequence, are most useful when the sequences in the query set are similar and of roughly equal .Global alignments, which attempt to align every residue in every sequence, are most useful when the sequences in the query set are similar and of roughly equal .

(This does not mean global alignments cannot start and/or end in .)(This does not mean global alignments cannot start and/or end in .)

A general global alignment technique is the Needleman–Wunsch algorithm, which is based on dynamic .A general global alignment technique is the Needleman–Wunsch algorithm, which is based on dynamic .

Local alignments are more useful for dissimilar sequences that are suspected to contain regions of similarity or similar sequence motifs within their larger sequence .Local alignments are more useful for dissimilar sequences that are suspected to contain regions of similarity or similar sequence motifs within their larger sequence .

The Smith–Waterman algorithm is a general local alignment method based on the same dynamic programming scheme but with additional choices to start and end at any .The Smith–Waterman algorithm is a general local alignment method based on the same dynamic programming scheme but with additional choices to start and end at any .

Another case where semi global alignment is useful is when one sequence is short (for example a gene sequence) and the other is very long (for example a chromosome ).Another case where semi global alignment is useful is when one sequence is short (for example a gene sequence) and the other is very long (for example a chromosome ).

In that case, the short sequence should be globally (fully) aligned but only a local (partial) alignment is desired for the long .In that case, the short sequence should be globally (fully) aligned but only a local (partial) alignment is desired for the long .

Fast expansion of genetic data challenges speed of current DNA sequence alignment .Fast expansion of genetic data challenges speed of current DNA sequence alignment .

Essential needs for an efficient and accurate method for DNA variant discovery demand innovative approaches for parallel processing in real .Essential needs for an efficient and accurate method for DNA variant discovery demand innovative approaches for parallel processing in real .

Optical computing approaches have been suggested as promising alternatives to the current electrical implementations, yet their applicability remains to be tested .Optical computing approaches have been suggested as promising alternatives to the current electrical implementations, yet their applicability remains to be tested .

Dot-matrix methods

The dot matrix approach, which implicitly produces a family of alignments for individual sequence regions, is qualitative and conceptually simple, though time consuming to analyze on a large .The dot matrix approach, which implicitly produces a family of alignments for individual sequence regions, is qualitative and conceptually simple, though time consuming to analyze on a large .

In the absence of noise, it can be easy to visually identify certain sequence features—such as insertions, deletions, repeats, or inverted repeats —from a dot matrix .In the absence of noise, it can be easy to visually identify certain sequence features—such as insertions, deletions, repeats, or inverted repeats —from a dot matrix .

To construct a dot matrix plot, the two sequences are written along the top row and leftmost column of a two dimensional matrix and a dot is placed at any point where the characters in the appropriate columns match—this is a typical recurrence .To construct a dot matrix plot, the two sequences are written along the top row and leftmost column of a two dimensional matrix and a dot is placed at any point where the characters in the appropriate columns match—this is a typical recurrence .

Some implementations vary the size or intensity of the dot depending on the degree of similarity of the two characters, to accommodate conservative .Some implementations vary the size or intensity of the dot depending on the degree of similarity of the two characters, to accommodate conservative .

The dot plots of very closely related sequences will appear as a single line along the matrix's main .The dot plots of very closely related sequences will appear as a single line along the matrix's main .

Problems with dot plots as an information display technique include: noise, lack of clarity, non intuitiveness, difficulty extracting match summary statistics and match positions on the two .Problems with dot plots as an information display technique include: noise, lack of clarity, non intuitiveness, difficulty extracting match summary statistics and match positions on the two .

There is also much wasted space where the match data is inherently duplicated across the diagonal and most of the actual area of the plot is taken up by either empty space or noise, and, finally, dot plots are limited to two .There is also much wasted space where the match data is inherently duplicated across the diagonal and most of the actual area of the plot is taken up by either empty space or noise, and, finally, dot plots are limited to two .

None of these limitations apply to Miropeats alignment diagrams but they have their own particular .None of these limitations apply to Miropeats alignment diagrams but they have their own particular .

Dot plots can also be used to assess repetitiveness in a single .Dot plots can also be used to assess repetitiveness in a single .

A sequence can be plotted against itself and regions that share significant similarities will appear as lines off the main .A sequence can be plotted against itself and regions that share significant similarities will appear as lines off the main .

This effect occurs when a protein consists of multiple similar structural .This effect occurs when a protein consists of multiple similar structural .

Dynamic programming

The technique of dynamic programming can be applied to produce global alignments via the Needleman Wunsch algorithm, and local alignments via the Smith Waterman .The technique of dynamic programming can be applied to produce global alignments via the Needleman Wunsch algorithm, and local alignments via the Smith Waterman .

In typical usage, protein alignments use a substitution matrix to assign scores to amino acid matches or mismatches, and a gap penalty for matching an amino acid in one sequence to a gap in the .In typical usage, protein alignments use a substitution matrix to assign scores to amino acid matches or mismatches, and a gap penalty for matching an amino acid in one sequence to a gap in the .

DNA and RNA alignments may use a scoring matrix, but in practice often simply assign a positive match score, a negative mismatch score, and a negative gap .DNA and RNA alignments may use a scoring matrix, but in practice often simply assign a positive match score, a negative mismatch score, and a negative gap .

(In standard dynamic programming, the score of each amino acid position is independent of the identity of its neighbors, and therefore base stacking effects are not taken into .(In standard dynamic programming, the score of each amino acid position is independent of the identity of its neighbors, and therefore base stacking effects are not taken into .

However, it is possible to account for such effects by modifying the .)However, it is possible to account for such effects by modifying the .)

A common extension to standard linear gap costs, is the usage of two different gap penalties for opening a gap and for extending a .A common extension to standard linear gap costs, is the usage of two different gap penalties for opening a gap and for extending a .

Typically the former is much larger than the latter, e. g. 10 for gap open and 2 for gap .Typically the former is much larger than the latter, e. g. 10 for gap open and 2 for gap .

Thus, the number of gaps in an alignment is usually reduced and residues and gaps are kept together, which typically makes more biological .Thus, the number of gaps in an alignment is usually reduced and residues and gaps are kept together, which typically makes more biological .

The Gotoh algorithm implements affine gap costs by using three .The Gotoh algorithm implements affine gap costs by using three .

Dynamic programming can be useful in aligning nucleotide to protein sequences, a task complicated by the need to take into account frameshift mutations (usually insertions or ).Dynamic programming can be useful in aligning nucleotide to protein sequences, a task complicated by the need to take into account frameshift mutations (usually insertions or ).

The framesearch method produces a series of global or local pairwise alignments between a query nucleotide sequence and a search set of protein sequences, or vice .The framesearch method produces a series of global or local pairwise alignments between a query nucleotide sequence and a search set of protein sequences, or vice .

Its ability to evaluate frameshifts offset by an arbitrary number of nucleotides makes the method useful for sequences containing large numbers of indels, which can be very difficult to align with more efficient heuristic .Its ability to evaluate frameshifts offset by an arbitrary number of nucleotides makes the method useful for sequences containing large numbers of indels, which can be very difficult to align with more efficient heuristic .

In practice, the method requires large amounts of computing power or a system whose architecture is specialized for dynamic .In practice, the method requires large amounts of computing power or a system whose architecture is specialized for dynamic .

The BLAST and EMBOSS suites provide basic tools for creating translated alignments (though some of these approaches take advantage of side effects of sequence searching capabilities of the ).The BLAST and EMBOSS suites provide basic tools for creating translated alignments (though some of these approaches take advantage of side effects of sequence searching capabilities of the ).

More general methods are available from open source software such as .More general methods are available from open source software such as .

The dynamic programming method is guaranteed to find an optimal alignment given a particular scoring function; however, identifying a good scoring function is often an empirical rather than a theoretical .The dynamic programming method is guaranteed to find an optimal alignment given a particular scoring function; however, identifying a good scoring function is often an empirical rather than a theoretical .

Although dynamic programming is extensible to more than two sequences, it is prohibitively slow for large numbers of sequences or extremely long .Although dynamic programming is extensible to more than two sequences, it is prohibitively slow for large numbers of sequences or extremely long .

Word methods

Word methods, also known as k tuple methods, are heuristic methods that are not guaranteed to find an optimal alignment solution, but are significantly more efficient than dynamic .Word methods, also known as k tuple methods, are heuristic methods that are not guaranteed to find an optimal alignment solution, but are significantly more efficient than dynamic .

These methods are especially useful in large scale database searches where it is understood that a large proportion of the candidate sequences will have essentially no significant match with the query .These methods are especially useful in large scale database searches where it is understood that a large proportion of the candidate sequences will have essentially no significant match with the query .

Word methods are best known for their implementation in the database search tools FASTA and the BLAST .Word methods are best known for their implementation in the database search tools FASTA and the BLAST .

Nevertheless, the utility of these alignments in bioinformatics has led to the development of a variety of methods suitable for aligning three or more .Nevertheless, the utility of these alignments in bioinformatics has led to the development of a variety of methods suitable for aligning three or more .

Dynamic programming

The technique of dynamic programming is theoretically applicable to any number of sequences; however, because it is computationally expensive in both time and memory, it is rarely used for more than three or four sequences in its most basic .The technique of dynamic programming is theoretically applicable to any number of sequences; however, because it is computationally expensive in both time and memory, it is rarely used for more than three or four sequences in its most basic .

This method requires constructing the n dimensional equivalent of the sequence matrix formed from two sequences, where n is the number of sequences in the .This method requires constructing the n dimensional equivalent of the sequence matrix formed from two sequences, where n is the number of sequences in the .

Standard dynamic programming is first used on all pairs of query sequences and then the "alignment space" is filled in by considering possible matches or gaps at intermediate positions, eventually constructing an alignment essentially between each two sequence .Standard dynamic programming is first used on all pairs of query sequences and then the "alignment space" is filled in by considering possible matches or gaps at intermediate positions, eventually constructing an alignment essentially between each two sequence .

Although this technique is computationally expensive, its guarantee of a global optimum solution is useful in cases where only a few sequences need to be aligned .Although this technique is computationally expensive, its guarantee of a global optimum solution is useful in cases where only a few sequences need to be aligned .

One method for reducing the computational demands of dynamic programming, which relies on the "sum of pairs" objective function, has been implemented in the MSA software .One method for reducing the computational demands of dynamic programming, which relies on the "sum of pairs" objective function, has been implemented in the MSA software .

Progressive methods

Progressive, hierarchical, or tree methods generate a multiple sequence alignment by first aligning the most similar sequences and then adding successively less related sequences or groups to the alignment until the entire query set has been incorporated into the .Progressive, hierarchical, or tree methods generate a multiple sequence alignment by first aligning the most similar sequences and then adding successively less related sequences or groups to the alignment until the entire query set has been incorporated into the .

The initial tree describing the sequence relatedness is based on pairwise comparisons that may include heuristic pairwise alignment methods similar to .The initial tree describing the sequence relatedness is based on pairwise comparisons that may include heuristic pairwise alignment methods similar to .

Progressive alignment results are dependent on the choice of "most related" sequences and thus can be sensitive to inaccuracies in the initial pairwise .Progressive alignment results are dependent on the choice of "most related" sequences and thus can be sensitive to inaccuracies in the initial pairwise .

Most progressive multiple sequence alignment methods additionally weight the sequences in the query set according to their relatedness, which reduces the likelihood of making a poor choice of initial sequences and thus improves alignment .Most progressive multiple sequence alignment methods additionally weight the sequences in the query set according to their relatedness, which reduces the likelihood of making a poor choice of initial sequences and thus improves alignment .

Many variations of the Clustal progressive implementation are used for multiple sequence alignment, phylogenetic tree construction, and as input for protein structure .Many variations of the Clustal progressive implementation are used for multiple sequence alignment, phylogenetic tree construction, and as input for protein structure .

A slower but more accurate variant of the progressive method is known as T .A slower but more accurate variant of the progressive method is known as T .

Iterative methods

Iterative methods attempt to improve on the heavy dependence on the accuracy of the initial pairwise alignments, which is the weak point of the progressive .Iterative methods attempt to improve on the heavy dependence on the accuracy of the initial pairwise alignments, which is the weak point of the progressive .

Iterative methods optimize an objective function based on a selected alignment scoring method by assigning an initial global alignment and then realigning sequence .Iterative methods optimize an objective function based on a selected alignment scoring method by assigning an initial global alignment and then realigning sequence .

The realigned subsets are then themselves aligned to produce the next iteration's multiple sequence .The realigned subsets are then themselves aligned to produce the next iteration's multiple sequence .

Various ways of selecting the sequence subgroups and objective function are reviewed .Various ways of selecting the sequence subgroups and objective function are reviewed .

Motif finding

Motif finding, also known as profile analysis, constructs global multiple sequence alignments that attempt to align short conserved sequence motifs among the sequences in the query .Motif finding, also known as profile analysis, constructs global multiple sequence alignments that attempt to align short conserved sequence motifs among the sequences in the query .

This is usually done by first constructing a general global multiple sequence alignment, after which the highly conserved regions are isolated and used to construct a set of profile .This is usually done by first constructing a general global multiple sequence alignment, after which the highly conserved regions are isolated and used to construct a set of profile .

The profile matrix for each conserved region is arranged like a scoring matrix but its frequency counts for each amino acid or nucleotide at each position are derived from the conserved region's character distribution rather than from a more general empirical .The profile matrix for each conserved region is arranged like a scoring matrix but its frequency counts for each amino acid or nucleotide at each position are derived from the conserved region's character distribution rather than from a more general empirical .

The profile matrices are then used to search other sequences for occurrences of the motif they .The profile matrices are then used to search other sequences for occurrences of the motif they .

In cases where the original data set contained a small number of sequences, or only highly related sequences, pseudocounts are added to normalize the character distributions represented in the .In cases where the original data set contained a small number of sequences, or only highly related sequences, pseudocounts are added to normalize the character distributions represented in the .

Techniques inspired by computer science

A variety of general optimization algorithms commonly used in computer science have also been applied to the multiple sequence alignment .A variety of general optimization algorithms commonly used in computer science have also been applied to the multiple sequence alignment .

Hidden Markov models have been used to produce probability scores for a family of possible multiple sequence alignments for a given query set; although early HMM based methods produced underwhelming performance, later applications have found them especially effective in detecting remotely related sequences because they are less susceptible to noise created by conservative or semiconservative .Hidden Markov models have been used to produce probability scores for a family of possible multiple sequence alignments for a given query set; although early HMM based methods produced underwhelming performance, later applications have found them especially effective in detecting remotely related sequences because they are less susceptible to noise created by conservative or semiconservative .

Genetic algorithms and simulated annealing have also been used in optimizing multiple sequence alignment scores as judged by a scoring function like the sum of pairs .Genetic algorithms and simulated annealing have also been used in optimizing multiple sequence alignment scores as judged by a scoring function like the sum of pairs .

More complete details and software packages can be found in the main article multiple sequence .More complete details and software packages can be found in the main article multiple sequence .

The Burrows–Wheeler transform has been successfully applied to fast short read alignment in popular tools such as Bowtie and .The Burrows–Wheeler transform has been successfully applied to fast short read alignment in popular tools such as Bowtie and .

See FM .

Structural alignment

Structural alignments, which are usually specific to protein and sometimes RNA sequences, use information about the secondary and tertiary structure of the protein or RNA molecule to aid in aligning the .Structural alignments, which are usually specific to protein and sometimes RNA sequences, use information about the secondary and tertiary structure of the protein or RNA molecule to aid in aligning the .

These methods can be used for two or more sequences and typically produce local alignments; however, because they depend on the availability of structural information, they can only be used for sequences whose corresponding structures are known (usually through X ray crystallography or NMR ).These methods can be used for two or more sequences and typically produce local alignments; however, because they depend on the availability of structural information, they can only be used for sequences whose corresponding structures are known (usually through X ray crystallography or NMR ).

Because both protein and RNA structure is more evolutionarily conserved than sequence, structural alignments can be more reliable between sequences that are very distantly related and that have diverged so extensively that sequence comparison cannot reliably detect their .Because both protein and RNA structure is more evolutionarily conserved than sequence, structural alignments can be more reliable between sequences that are very distantly related and that have diverged so extensively that sequence comparison cannot reliably detect their .

Structural alignments are used as the "gold standard" in evaluating alignments for homology based protein structure prediction because they explicitly align regions of the protein sequence that are structurally similar rather than relying exclusively on sequence .Structural alignments are used as the "gold standard" in evaluating alignments for homology based protein structure prediction because they explicitly align regions of the protein sequence that are structurally similar rather than relying exclusively on sequence .

However, clearly structural alignments cannot be used in structure prediction because at least one sequence in the query set is the target to be modeled, for which the structure is not .However, clearly structural alignments cannot be used in structure prediction because at least one sequence in the query set is the target to be modeled, for which the structure is not .

It has been shown that, given the structural alignment between a target and a template sequence, highly accurate models of the target protein sequence can be produced; a major stumbling block in homology based structure prediction is the production of structurally accurate alignments given only sequence .It has been shown that, given the structural alignment between a target and a template sequence, highly accurate models of the target protein sequence can be produced; a major stumbling block in homology based structure prediction is the production of structurally accurate alignments given only sequence .

It can generate pairwise or multiple alignments and identify a query sequence's structural neighbors in the Protein Data Bank ).It can generate pairwise or multiple alignments and identify a query sequence's structural neighbors in the Protein Data Bank ).

It has been used to construct the FSSP structural alignment database (Fold classification based on Structure Structure alignment of Proteins, or Families of Structurally Similar ).It has been used to construct the FSSP structural alignment database (Fold classification based on Structure Structure alignment of Proteins, or Families of Structurally Similar ).

A DALI webserver can be accessed at DALI and the FSSP is located at The Dali .A DALI webserver can be accessed at DALI and the FSSP is located at The Dali .

SSAP

SSAP (sequential structure alignment program) is a dynamic programming based method of structural alignment that uses atom to atom vectors in structure space as comparison .SSAP (sequential structure alignment program) is a dynamic programming based method of structural alignment that uses atom to atom vectors in structure space as comparison .

It has been extended since its original description to include multiple as well as pairwise alignments, and has been used in the construction of the CATH (Class, Architecture, Topology, Homology) hierarchical database classification of protein .It has been extended since its original description to include multiple as well as pairwise alignments, and has been used in the construction of the CATH (Class, Architecture, Topology, Homology) hierarchical database classification of protein .

The CATH database can be accessed at CATH Protein Structure .The CATH database can be accessed at CATH Protein Structure .

Combinatorial extension

The combinatorial extension method of structural alignment generates a pairwise structural alignment by using local geometry to align short fragments of the two proteins being analyzed and then assembles these fragments into a larger .The combinatorial extension method of structural alignment generates a pairwise structural alignment by using local geometry to align short fragments of the two proteins being analyzed and then assembles these fragments into a larger .

Based on measures such as rigid body root mean square distance, residue distances, local secondary structure, and surrounding environmental features such as residue neighbor hydrophobicity, local alignments called "aligned fragment pairs" are generated and used to build a similarity matrix representing all possible structural alignments within predefined cutoff .Based on measures such as rigid body root mean square distance, residue distances, local secondary structure, and surrounding environmental features such as residue neighbor hydrophobicity, local alignments called "aligned fragment pairs" are generated and used to build a similarity matrix representing all possible structural alignments within predefined cutoff .

A path from one protein structure state to the other is then traced through the matrix by extending the growing alignment one fragment at a .A path from one protein structure state to the other is then traced through the matrix by extending the growing alignment one fragment at a .

The optimal such path defines the combinatorial extension .The optimal such path defines the combinatorial extension .

A web based server implementing the method and providing a database of pairwise alignments of structures in the Protein Data Bank is located at the Combinatorial Extension .A web based server implementing the method and providing a database of pairwise alignments of structures in the Protein Data Bank is located at the Combinatorial Extension .

Phylogenetic analysis

Phylogenetics and sequence alignment are closely related fields due to the shared necessity of evaluating sequence .Phylogenetics and sequence alignment are closely related fields due to the shared necessity of evaluating sequence .

The field of phylogenetics makes extensive use of sequence alignments in the construction and interpretation of phylogenetic trees, which are used to classify the evolutionary relationships between homologous genes represented in the genomes of divergent .The field of phylogenetics makes extensive use of sequence alignments in the construction and interpretation of phylogenetic trees, which are used to classify the evolutionary relationships between homologous genes represented in the genomes of divergent .

The degree to which sequences in a query set differ is qualitatively related to the sequences' evolutionary distance from one .The degree to which sequences in a query set differ is qualitatively related to the sequences' evolutionary distance from one .

Roughly speaking, high sequence identity suggests that the sequences in question have a comparatively young most recent common ancestor, while low identity suggests that the divergence is more .Roughly speaking, high sequence identity suggests that the sequences in question have a comparatively young most recent common ancestor, while low identity suggests that the divergence is more .

This approximation, which reflects the "molecular clock" hypothesis that a roughly constant rate of evolutionary change can be used to extrapolate the elapsed time since two genes first diverged (that is, the coalescence time), assumes that the effects of mutation and selection are constant across sequence .This approximation, which reflects the "molecular clock" hypothesis that a roughly constant rate of evolutionary change can be used to extrapolate the elapsed time since two genes first diverged (that is, the coalescence time), assumes that the effects of mutation and selection are constant across sequence .

Therefore, it does not account for possible difference among organisms or species in the rates of DNA repair or the possible functional conservation of specific regions in a .Therefore, it does not account for possible difference among organisms or species in the rates of DNA repair or the possible functional conservation of specific regions in a .

(In the case of nucleotide sequences, the molecular clock hypothesis in its most basic form also discounts the difference in acceptance rates between silent mutations that do not alter the meaning of a given codon and other mutations that result in a different amino acid being incorporated into the ).(In the case of nucleotide sequences, the molecular clock hypothesis in its most basic form also discounts the difference in acceptance rates between silent mutations that do not alter the meaning of a given codon and other mutations that result in a different amino acid being incorporated into the ).

More statistically accurate methods allow the evolutionary rate on each branch of the phylogenetic tree to vary, thus producing better estimates of coalescence times for .More statistically accurate methods allow the evolutionary rate on each branch of the phylogenetic tree to vary, thus producing better estimates of coalescence times for .

Progressive multiple alignment techniques produce a phylogenetic tree by necessity because they incorporate sequences into the growing alignment in order of .Progressive multiple alignment techniques produce a phylogenetic tree by necessity because they incorporate sequences into the growing alignment in order of .

Other techniques that assemble multiple sequence alignments and phylogenetic trees score and sort trees first and calculate a multiple sequence alignment from the highest scoring .Other techniques that assemble multiple sequence alignments and phylogenetic trees score and sort trees first and calculate a multiple sequence alignment from the highest scoring .

Commonly used methods of phylogenetic tree construction are mainly heuristic because the problem of selecting the optimal tree, like the problem of selecting the optimal multiple sequence alignment, is NP .Commonly used methods of phylogenetic tree construction are mainly heuristic because the problem of selecting the optimal tree, like the problem of selecting the optimal multiple sequence alignment, is NP .

Assessment of significance

Sequence alignments are useful in bioinformatics for identifying sequence similarity, producing phylogenetic trees, and developing homology models of protein .Sequence alignments are useful in bioinformatics for identifying sequence similarity, producing phylogenetic trees, and developing homology models of protein .

However, the biological relevance of sequence alignments is not always .However, the biological relevance of sequence alignments is not always .

Alignments are often assumed to reflect a degree of evolutionary change between sequences descended from a common ancestor; however, it is formally possible that convergent evolution can occur to produce apparent similarity between proteins that are evolutionarily unrelated but perform similar functions and have similar .Alignments are often assumed to reflect a degree of evolutionary change between sequences descended from a common ancestor; however, it is formally possible that convergent evolution can occur to produce apparent similarity between proteins that are evolutionarily unrelated but perform similar functions and have similar .

In database searches such as BLAST, statistical methods can determine the likelihood of a particular alignment between sequences or sequence regions arising by chance given the size and composition of the database being .In database searches such as BLAST, statistical methods can determine the likelihood of a particular alignment between sequences or sequence regions arising by chance given the size and composition of the database being .

These values can vary significantly depending on the search .These values can vary significantly depending on the search .

In particular, the likelihood of finding a given alignment by chance increases if the database consists only of sequences from the same organism as the query .In particular, the likelihood of finding a given alignment by chance increases if the database consists only of sequences from the same organism as the query .

Repetitive sequences in the database or query can also distort both the search results and the assessment of statistical significance; BLAST automatically filters such repetitive sequences in the query to avoid apparent hits that are statistical .Repetitive sequences in the database or query can also distort both the search results and the assessment of statistical significance; BLAST automatically filters such repetitive sequences in the query to avoid apparent hits that are statistical .

Methods of statistical significance estimation for gapped sequence alignments are available in the .Methods of statistical significance estimation for gapped sequence alignments are available in the .

Assessment of credibility

Statistical significance indicates the probability that an alignment of a given quality could arise by chance, but does not indicate how much superior a given alignment is to alternative alignments of the same .Statistical significance indicates the probability that an alignment of a given quality could arise by chance, but does not indicate how much superior a given alignment is to alternative alignments of the same .

Measures of alignment credibility indicate the extent to which the best scoring alignments for a given pair of sequences are substantially .Measures of alignment credibility indicate the extent to which the best scoring alignments for a given pair of sequences are substantially .

Methods of alignment credibility estimation for gapped sequence alignments are available in the .Methods of alignment credibility estimation for gapped sequence alignments are available in the .

Scoring functions

The choice of a scoring function that reflects biological or statistical observations about known sequences is important to producing good .The choice of a scoring function that reflects biological or statistical observations about known sequences is important to producing good .

Protein sequences are frequently aligned using substitution matrices that reflect the probabilities of given character to character .Protein sequences are frequently aligned using substitution matrices that reflect the probabilities of given character to character .

A series of matrices called PAM matrices (Point Accepted Mutation matrices, originally defined by Margaret Dayhoff and sometimes referred to as "Dayhoff matrices") explicitly encode evolutionary approximations regarding the rates and probabilities of particular amino acid .A series of matrices called PAM matrices (Point Accepted Mutation matrices, originally defined by Margaret Dayhoff and sometimes referred to as "Dayhoff matrices") explicitly encode evolutionary approximations regarding the rates and probabilities of particular amino acid .

Another common series of scoring matrices, known as BLOSUM (Blocks Substitution Matrix), encodes empirically derived substitution .Another common series of scoring matrices, known as BLOSUM (Blocks Substitution Matrix), encodes empirically derived substitution .

Variants of both types of matrices are used to detect sequences with differing levels of divergence, thus allowing users of BLAST or FASTA to restrict searches to more closely related matches or expand to detect more divergent .Variants of both types of matrices are used to detect sequences with differing levels of divergence, thus allowing users of BLAST or FASTA to restrict searches to more closely related matches or expand to detect more divergent .

Gap penalties account for the introduction of a gap on the evolutionary model, an insertion or deletion mutation in both nucleotide and protein sequences, and therefore the penalty values should be proportional to the expected rate of such .Gap penalties account for the introduction of a gap on the evolutionary model, an insertion or deletion mutation in both nucleotide and protein sequences, and therefore the penalty values should be proportional to the expected rate of such .

The quality of the alignments produced therefore depends on the quality of the scoring .The quality of the alignments produced therefore depends on the quality of the scoring .

It can be very useful and instructive to try the same alignment several times with different choices for scoring matrix and/or gap penalty values and compare the .It can be very useful and instructive to try the same alignment several times with different choices for scoring matrix and/or gap penalty values and compare the .

Regions where the solution is weak or non unique can often be identified by observing which regions of the alignment are robust to variations in alignment .Regions where the solution is weak or non unique can often be identified by observing which regions of the alignment are robust to variations in alignment .

Other biological uses

Sequenced RNA, such as expressed sequence tags and full length mRNAs, can be aligned to a sequenced genome to find where there are genes and get information about alternative splicing and RNA .Sequenced RNA, such as expressed sequence tags and full length mRNAs, can be aligned to a sequenced genome to find where there are genes and get information about alternative splicing and RNA .

Sequence alignment is also a part of genome assembly, where sequences are aligned to find overlap so that contigs (long stretches of sequence) can be .Sequence alignment is also a part of genome assembly, where sequences are aligned to find overlap so that contigs (long stretches of sequence) can be .

Another use is SNP analysis, where sequences from different individuals are aligned to find single basepairs that are often different in a .Another use is SNP analysis, where sequences from different individuals are aligned to find single basepairs that are often different in a .

Non-biological uses

The methods used for biological sequence alignment have also found applications in other fields, most notably in natural language processing and in social sciences, where the Needleman Wunsch algorithm is usually referred to as Optimal .The methods used for biological sequence alignment have also found applications in other fields, most notably in natural language processing and in social sciences, where the Needleman Wunsch algorithm is usually referred to as Optimal .

Techniques that generate the set of elements from which words will be selected in natural language generation algorithms have borrowed multiple sequence alignment techniques from bioinformatics to produce linguistic versions of computer generated mathematical .Techniques that generate the set of elements from which words will be selected in natural language generation algorithms have borrowed multiple sequence alignment techniques from bioinformatics to produce linguistic versions of computer generated mathematical .

In the field of historical and comparative linguistics, sequence alignment has been used to partially automate the comparative method by which linguists traditionally reconstruct .In the field of historical and comparative linguistics, sequence alignment has been used to partially automate the comparative method by which linguists traditionally reconstruct .

Business and marketing research has also applied multiple sequence alignment techniques in analyzing series of purchases over .Business and marketing research has also applied multiple sequence alignment techniques in analyzing series of purchases over .

Software

A more complete list of available software categorized by algorithm and alignment type is available at sequence alignment software, but common software tools used for general sequence alignment tasks include ClustalW2 and T coffee for alignment, and BLAST and FASTA3x for database .A more complete list of available software categorized by algorithm and alignment type is available at sequence alignment software, but common software tools used for general sequence alignment tasks include ClustalW2 and T coffee for alignment, and BLAST and FASTA3x for database .

Commercial tools such as DNASTAR Lasergene, Geneious, and PatternHunter are also .Commercial tools such as DNASTAR Lasergene, Geneious, and PatternHunter are also .

Tools annotated as performing sequence alignment are listed in the .Tools annotated as performing sequence alignment are listed in the .

tools .

Alignment algorithms and software can be directly compared to one another using a standardized set of benchmark reference multiple sequence alignments known as .Alignment algorithms and software can be directly compared to one another using a standardized set of benchmark reference multiple sequence alignments known as .

The data set consists of structural alignments, which can be considered a standard against which purely sequence based methods are .The data set consists of structural alignments, which can be considered a standard against which purely sequence based methods are .

The relative performance of many common alignment methods on frequently encountered alignment problems has been tabulated and selected results published online at .The relative performance of many common alignment methods on frequently encountered alignment problems has been tabulated and selected results published online at .

A comprehensive list of BAliBASE scores for many (currently 12) different alignment tools can be computed within the protein workbench .A comprehensive list of BAliBASE scores for many (currently 12) different alignment tools can be computed within the protein workbench .