# Point accepted mutation

A point accepted mutation — also known as a PAM — is the replacement of a single amino acid in the primary structure of a protein with another single amino acid, which is accepted by the processes of natural selection. This definition does not include all point mutations in the DNA of an organism. In particular, silent mutations are not point accepted mutations, nor are mutations that are lethal or that are rejected by natural selection in other ways.
A PAM matrix is a matrix where each column and row represents one of the twenty standard amino acids. In bioinformatics, PAM matrices are sometimes used as substitution matrices to score sequence alignments for proteins. Each entry in a PAM matrix indicates the likelihood of the amino acid of that row being replaced with the amino acid of that column through a series of one or more point accepted mutations during a specified evolutionary interval, rather than these two amino acids being aligned due to chance. Different PAM matrices correspond to different lengths of time in the evolution of the protein sequence.

## Biological background

The genetic instructions of every replicating cell in a living organism are contained within its DNA. Throughout the cell's lifetime, this information is transcribed and replicated by cellular mechanisms to produce proteins or to provide instructions for daughter cells during cell division, and the possibility exists that the DNA may be altered during these processes. This is known as a mutation. At the molecular level, there are regulatory systems that correct most — but not all — of these changes to the DNA before it is replicated.
One of the possible mutations that occurs is the replacement of a single nucleotide, known as a point mutation. If a point mutation occurs within an expressed region of a gene, an exon, then this will change the codon specifying a particular amino acid in the protein produced by that gene. Despite the redundancy in the genetic code, there is a possibility that this mutation will then change the amino acid that is produced during translation, and as a consequence the structure of the protein will be changed.
The functionality of a protein is highly dependent on its structure. Changing a single amino acid in a protein may reduce its ability to carry out this function, or the mutation may even change the function that the protein carries out. Changes like these may severely impact a crucial function in a cell, potentially causing the cell — and in extreme cases, the organism — to die. Conversely, the change may allow the cell to continue functioning albeit differently, and the mutation can be passed on to the organism's offspring. If this change does not result in any significant physical disadvantage to the offspring, the possibility exists that this mutation will persist within the population. The possibility also exists that the change in function becomes advantageous. In either case, while being subjected to the processes of natural selection, the point mutation has been accepted into the genetic pool.
The 20 amino acids translated by the genetic code vary greatly by the physical and chemical properties of their side chains. However, these amino acids can be categorised into groups with similar physicochemical properties. Substituting an amino acid with another from the same category is more likely to have a smaller impact on the structure and function of a protein than replacement with an amino acid from a different category. Consequently, acceptance of point mutations depends heavily on the amino acid being replaced in the mutation, and the replacement amino acid. The PAM matrices are a mathematical tool that account for these varying rates of acceptance when evaluating the similarity of proteins during alignment.

## Terminology

The term accepted point mutation was initially used to describe the mutation phenomenon. However, the acronym PAM was preferred over APM due to readability, and so the term point accepted mutation is used more regularly. Because the value $n$ in the PAM$_n$ matrix represents the number of mutations per 100 amino acids, which can be likened to a percentage of mutations, the term percentage accepted mutation is sometimes used.
It is important to distinguish between point accepted mutations (PAMs), point accepted mutation matrices (PAM matrices) and the PAM$_n$ matrix. The term 'point accepted mutation' refers to the mutation event itself. However, 'PAM matrix' refers to one of a family of matrices which contain scores representing the likelihood of two amino acids being aligned due to a series of mutation events, rather than due to random chance. The 'PAM$_n$ matrix' is the PAM matrix corresponding to a time frame long enough for $n$ mutation events to occur per 100 amino acids.

## Construction of PAM matrices

PAM matrices were introduced by Margaret Dayhoff in 1978. The calculation of these matrices was based on 1572 observed mutations in the phylogenetic trees of 71 families of closely related proteins. The proteins to be studied were selected on the basis of having high similarity with their predecessors. The protein alignments included were required to display at least 85% identity. As a result, it is reasonable to assume that any aligned mismatches were the result of a single mutation event, rather than several at the same location.
Each PAM matrix has twenty rows and twenty columns — one representing each of the twenty amino acids translated by the genetic code. The value in each cell of a PAM matrix is related to the probability of a row amino acid before the mutation being aligned with a column amino acid afterwards. From this definition, PAM matrices are an example of a substitution matrix.

### Collection of data from phylogenetic trees

For each branch in the phylogenetic trees of the protein families, the number of mismatches that were observed were recorded and a record kept of the two amino acids involved. These counts were used as entries below the main diagonal of the matrix $A$. Since the vast majority of protein samples come from organisms that are alive today (extant species), the 'direction' of a mutation cannot be determined. That is, the amino acid present before the mutation cannot be distinguished from the amino acid that replaced it after the mutation. Because of this, the matrix $A$ is assumed to be symmetric, and the entries of $A$ above the main diagonal are computed on this basis. The entries along the diagonal of $A$ do not correspond to mutations and can be left unfilled.
In addition to these counts, data on the mutability and the frequency of the amino acids was obtained. The mutability of an amino acid is the ratio of the number of mutations it is involved in and the number of times it occurs in an alignment. Mutability measures how likely an amino acid is to mutate acceptably. Asparagine, an amino acid with a small polar side chain, was found to be the most mutable of the amino acids. Cysteine and tryptophan were found to be the least mutable amino acids. The side chains for cysteine and tryptophan have less common structures: cysteine's side chain contains sulfur which participates in disulfide bonds with other cysteine molecules, and tryptophan's side chain is large and aromatic. Since there are several small polar amino acids, these extremes suggest that amino acids are more likely to acceptably mutate if their physical and chemical properties are more common among alternative amino acids.

### Construction of the mutation matrix

For the $j$th amino acid, the values $m(j)$ and $f(j)$ are its mutability and frequency. The frequencies of the amino acids are normalised so that they sum to 1. If total number of occurrences of the $j$th amino acid is $n(j)$, and $N$ is the total number of all amino acids, then
    $f(j)={\frac {n(j)}{N}}$
Based on the definition of mutability as the ratio of mutations to occurrences of an amino acid
    $m(j)={\frac {\sum _{i=1,i\neq j}^{20}A(i,j)}{n(j)}}$
or
    ${\frac {1}{Nf(j)}}={\frac {1}{n(j)}}={\frac {m(j)}{\sum _{i=1,i\neq j}^{20}A(i,j)}}$
The mutation matrix $M$ is constructed so that the entry $M(i,j)$ represents the probability of the $j$th amino acid mutating into the $i$th amino acid. The non-diagonal entries are computed by the equation
    $M(i,j)=\lambda A(i,j){\frac {m(j)}{\sum _{i=1,i\neq j}^{20}A(i,j)}}={\frac {\lambda A(i,j)}{Nf(j)}}={\frac {\lambda A(i,j)}{n(j)}}$
where $\lambda$ is a constant of proportionality. However, this equation does not compute the diagonal entries. Each column in the matrix $M$ lists each of the twenty possible outcomes for an amino acid — it can mutate into one of the 19 other amino acids, or remain unchanged. Since the non-diagonal entries listing the probabilities of each of the 19 mutations are known, and the sum of the probabilities of these twenty outcomes must be 1, this last probability can be calculated by
    $M(j,j)=1-\sum _{i=1,i\neq j}^{20}M(i,j)$
which simplifies to
    $M(j,j)=1-\lambda m(j)$
    Calculation of the diagonal entries $M(j,j)=1-\sum _{i=1,i\neq j}^{20}M(i,j)$ Substituting in the expression for the non-diagonal entries mutation matrix: $M(j,j)=1-\sum _{i=1,i\neq j}^{20}{\frac {\lambda m(j)A(i,j)}{\sum _{i=1,i\neq j}^{20}A(i,j)}}$ $M(j,j)=1-{\frac {\sum _{i=1,i\neq j}^{20}\lambda m(j)A(i,j)}{\sum _{i=1,i\neq j}^{20}A(i,j)}}$ Since the values of $\lambda$ and $m(j)$ are constants that don't change with the value of $i$ $M(j,j)=1-{\frac {\lambda m(j)\sum _{i=1,i\neq j}^{20}A(i,j)}{\sum _{i=1,i\neq j}^{20}A(i,j)}}$ And thus cancellation reveals that $M(j,j)=1-\lambda m(j)$
A result of particular significance is that for the non-diagonal entries
    $f(j)M(i,j)={\frac {\lambda }{N}}A(i,j)={\frac {\lambda }{N}}A(j,i)=f(i)M(j,i)$
Which means that for all entries in the mutation matrix
    $f(j)M(i,j)=f(i)M(j,i)$

#### Choice of the constant of proportionality

The probabilities contained in $M$ vary as some unknown function of the amount of time that a protein sequence is allowed to mutate for. Instead of attempting to determine this relationship, the values of $M$ are calculated for a short time frame, and the matrices for longer periods of time are calculated by assuming mutations follow a Markov chain model. The base unit of time for the PAM matrices is the time required for 1 mutation to occur per 100 amino acids, sometimes called 'a PAM unit' or 'a PAM' of time. This is precisely the duration of mutation assumed by the PAM$_1$ matrix.
The constant $\lambda$ is used to control the proportion of amino acids that are unchanged. By using only alignments of proteins that had at least 85% similarity, it could be reasonably assumed that the mutations observed were direct, without any intermediate states. This means that scaling down these counts by a common factor would provide an accurate estimate of the mutation counts had the similarity been closer to 100%. It also means that the number of mutations per 100 amino acids, the $n$ in PAM$_n$ is equal to the number of mutated amino acids per 100 amino acids.
To find the mutation matrix for the PAM$_1$ matrix, the requirement that 99% of the amino acids in a sequence are conserved is imposed. The quantity $n(j)M(j,j)$ is equal to the number of conserved amino acid $j$ units, and so the total number of conserved amino acids is
    $\sum _{j=1}^{20}n(j)M(j,j)=\sum _{j=1}^{20}n(j)-\lambda \sum _{j=1}^{20}n(j)m(j)=N-N\lambda \sum _{j=1}^{20}f(j)m(j)$
The value of $\lambda$ needed to be pick to produce 99% identity after mutation is then given by the equation
    $0.99=1-\lambda \sum _{j=1}^{20}f(j)m(j)$
This $\lambda$ value can then be used in the mutation matrix for the PAM$_1$ matrix.

### Construction of the PAM$_n$ matrices

The Markov chain model of protein mutation relates the mutation matrix for PAM$_n$, $M_{n}$, to the mutation matrix for the PAM$_1$ matrix, $M_{1}$ by the simple relationship
    $M_{n}=M_{1}^{n}$
The PAM$_n$ matrix is constructed from the ratio of the probability of point accepted mutations replacing the $j$th amino acid with the $i$th amino acid, to the probability of these amino acids being aligned by chance. The entries of the PAM$_n$ matrix are given by the equation
    ${\text{PAM}}_{n}(i,j)=log{\frac {f(j)M_{n}(i,j)}{f(i)f(j)}}=log{\frac {f(j)M^{n}(i,j)}{f(i)f(j)}}=log{\frac {M^{n}(i,j)}{f(i)}}$
Note that in Gusfield's book, the entries $M(i,j)$ and ${\text{PAM}}_{n}(i,j)$ are related to the probability of the $i$th amino acid mutating into the $j$th amino acid. This is the origin of the different equation for the entries of the PAM matrices.
When using the PAM$_n$ matrix to score an alignment of two proteins, the following assumption is made:
       If these two proteins are related, the evolutionary interval separating them is the time taken for $n$ point accepted mutations to occur per 100 amino acids.
When the alignment of the $i$th and $j$th amino acids is considered, the score indicates the relative likelihoods of the alignment due to the proteins being related or due to random chance.
* If the proteins are related, a series of point accepted mutations must have occurred to mutate the original amino acid into its replacement. Suppose the $j$th amino acid is the original. Based on the abundance of amino acids in proteins, the probability of the $j$th amino acid being the original is $f(j)$. Given any particular unit of this amino acid, the probability of being replaced by the $i$th amino acid in the assumed time interval is $M_{n}(i,j)$. Thus, the probability of the alignment is $f(j)M_{n}(i,j)$, the numerator within the logarithm.
* If the proteins are not related, the events that the two aligned amino acids are the $i$th and $j$th amino acids must be independent. The probabilities of these events are $f(i)$ and $f(j)$, which means the probability of the alignment is $f(i)f(j)$, the denominator of the logarithm.
* Thus, the logarithm in the equation results in a positive entry if the alignment is more likely due to point accepted mutations, and a negative entry if the alignment is more likely due to chance.

## Properties of the PAM matrices
### Symmetry of the PAM matrices

While the mutation probability matrix $M$ is not symmetric, each of the PAM matrices are. This somewhat surprising property is a result of the relationship that was noted for the mutation probability matrix:
    $f(j)M(i,j)=f(i)M(j,i)$
In fact, this relationship holds for all positive integer powers of the matrix $M$:
    $f(j)M^{n}(i,j)=f(i)M^{n}(j,i)$
    Generalisation of property to positive integer matrix powers This generalisation can be proven using mathematical induction. Suppose that for a matrix $M$ $f(j)M(i,j)=f(i)M(j,i)$ And that for a positive integer $k$ $f(j)M^{k}(i,j)=f(i)M^{k}(j,i)$ By expansion of the matrix product $M^{k+1}=M^{k}\cdot M$, $f(j)M^{k+1}(i,j)=f(j)\sum _{n=0}^{N}M^{k}(i,n)M(n,j)$ $f(j)M^{k+1}(i,j)=\sum _{n=0}^{N}M^{k}(i,n)(f(j)M(n,j))$ Using the property we have assumed of the matrix $M$ $f(j)M^{k+1}(i,j)=\sum _{n=0}^{N}M^{k}(i,n)(f(n)M(j,n))$ $f(j)M^{k+1}(i,j)=\sum _{n=0}^{N}(f(n)M^{k}(i,n))M(j,n)$ And using the property for the matrix $M^{k}$ $f(j)M^{k+1}(i,j)=\sum _{n=0}^{N}(f(i)M^{k}(n,i))M(j,n)$ $f(j)M^{k+1}(i,j)=f(i)\sum _{n=0}^{N}M(j,n)M^{k}(n,i)$ $f(j)M^{k+1}(i,j)=f(i)M^{k+1}(j,i)$ In this case, it is only known at first that the result holds for $k=1$. However, the above argument shows that the property also holds for $k=2$. This new knowledge then shows that the property also holds for $k$ and this repeats to show that the property holds for all positive integers $k$.
As a result, the entries of the PAM$_n$ matrix are symmetric, since
    ${\text{PAM}}_{n}(i,j)=log{\frac {f(j)M^{n}(i,j)}{f(j)f(i)}}=log{\frac {f(i)M^{n}(j,i)}{f(i)f(j)}}={\text{PAM}}_{n}(j,i)$

### Relating the number of mutated amino acids and the number of mutations

The value $n$ represents the number of mutations that occur per 100 amino acids, however this value is rarely accessible and often estimated. However, when comparing two proteins it is easy to calculate $m$ instead, which is the number of mutated amino acids per 100 amino acids. Despite the random nature of mutation, these values can be approximately related by
    ${\frac {m}{100}}=1-e^{-{\frac {n}{100}}}$
    Derivation of relationship between $m$ and $n$ Mutations in the primary structure of a protein can occur anywhere along the sequence. If it is assumed the distribution of the mutations among amino acid positions is uniform, the problem is analogous to a distribution of "balls into bins", a common problem in combinatorics. In a case where $K$ balls (i.e. mutations) are distributed amongst $N$ bins (amino acid positions), the number of bins containing at least one ball, $M$ has a distribution with a mean given by $E(M)=N-N(1-{\frac {1}{N}})^{K}$ ${\frac {E(M)}{N}}=1-(1-{\frac {1}{N}})^{K}$ If the rate of mutation is $n$ mutations per 100 amino acids, then ${\frac {n}{100}}={\frac {K}{N}}$ And if there are $m$ mutated amino acids per 100 amino acids, then it is approximately equal to ${\frac {m}{100}}={\frac {E(M)}{N}}$ Now $m$ and $n$ can be related by ${\frac {m}{100}}=1-(1-{\frac {1}{N}})^{\frac {nN}{100}}$ For large values of $N$, an assumption that can be reasonably made for typical proteins, this expression is approximately equal to ${\frac {m}{100}}=1-e^{-{\frac {n}{100}}}$
The validity of these estimates can be verified by counting the number of amino acids that remain unchanged under the action of the matrix $M$. The total number of unchanged amino acids for the time interval of the PAM$_n$ matrix is
    $\sum _{j=1}^{20}n(j)M^{n}(j,j)$
and so the proportion of unchanged amino acids is
    ${\frac {\sum _{j=1}^{20}n(j)M^{n}(j,j)}{N}}=\sum _{j=1}^{20}f(j)M^{n}(j,j)=1-{\frac {m}{100}}$

## An example - PAM250

A PAM250 is a commonly used scoring matrix for sequence comparison. Only the lower half of the matrix needs to be computed, since by their construction, PAM matrices are required to be symmetric. Each of the 20 amino acid are shown down the top and side of the matrix, with 3 additional ambiguous amino acids. The amino acids are most commonly shown listed alphabetically, or listed in groups. These groups are the characteristics shared among the amino acids.

## Uses in bioinformatics
### Determining the time of divergence in phylogenetic trees

The molecular clock hypothesis predicts that the rate of amino acid substitution in a particular protein will be approximately constant over time, though this rate may vary between protein families. This suggests that the number of mutations per amino acid in a protein increases approximately linearly with time.
Determining the time at which two proteins diverged is an important task in phylogenetics. Fossil records are often used to establish the position of events on the timeline of the Earth's evolutionary history, but the application of this source is limited. However, if the rate at which the molecular clock of protein family ticks — that is, the rate at which the number of mutations per amino acid increases — is known, then knowing this number of mutations would allow the date of divergence to be found.
Suppose the date of divergence for two related proteins, taken from organisms living today, is sought. The two proteins have both been accumulating accepted mutations since the date of divergence, and so the total number of mutations per amino acid separating them is approximately twice that which separates them from their common ancestor. If a range of PAM matrices are used to align two proteins that are known to be related, then the value of $n$ in the PAM$_n$ matrix which results in the best score is most likely to correspond to the mutations per amino acid separating the two proteins. Halving this value and dividing by the rate at which accepted mutations accumulate in the protein family provides an estimate of the time of divergence of these two proteins from their common ancestor. That is, the time of divergence in myr is
    $T={\frac {K}{2r}}$
Where $K$ is the number of mutations per amino acid, and $r$ is the rate of accepted mutation accumulation in mutations per amino acid site per million years.

### Use in BLAST

PAM matrices are also used as a scoring matrix when comparing DNA sequences or protein sequences to judge the quality of the alignment. This form of scoring system is utilized by a wide range of alignment software including BLAST.

### Comparing PAM and BLOSUM

Although the PAM log-odds matrices were the first scoring matrices used with BLAST, the PAM matrices have largely been replaced by the BLOSUM matrices. Although both matrices produce similar scoring outcomes they were generated using differing methodologies. The BLOSUM matrices were generated directly from the amino acid differences in aligned blocks that have diverged to varying degrees the PAM matrices reflect the extrapolation of evolutionary information based on closely related sequences to longer timescales. Since scoring information for the PAM and BLOSUM matrices were generated in very different ways the numbers associated with the matrices have fundamentally different meanings; the numbers for PAM matrices increase for comparisons among more divergent proteins whereas the numbers for the BLOSUM matrices decrease. However, all amino acid substitution matrices can be compared in an information theoretic framework using their relative entropy.
PAM matrices with similar BLOSUM matrices (relative entropy of each PAM matrix is from Altschul 1991) :
| PAM matrix | Equivalent BLOSUM matrix | Relative entropy (bits) |
| PAM100 | Blosum90 | 1.18 |
| PAM120 | Blosum89 | 0.98 |
| PAM160 | Blosum60 | 0.70 |
| PAM200 | Blosum52 | 0.51 |
| PAM250 | Blosum45 | 0.36 |