Docsity

Bioinformatics and molecular modeling (Structural bioinformatics), Dispense di Bioinformatica

Toggle sidebar
bg1
STRUCTURAL BIOINFORMATICS
INTRODUCTION
In molecular biology, homology refers to genes or proteins that originate from a common ancestor. It’s an
evolutionary, non-quantitative concept: 2 genes/proteins are either homologous or they aren’t. According
to a biochemical dogma, genes/proteins that are homologous share the same structure, architecture and
function.
Because homology itself can’t be directly measured, researchers instead measure sequence identity or
sequence similarity between genes/proteins, allowing scientists to estimate the probability that 2
sequences share a common evolutionary origin, and so are homologous.
Orthologous proteins are proteins found in different species that originated from a common ancestral
gene through speciation and maintain the same function (ex. albumin found in different species).
Paralogous proteins, instead, arise from gene duplication events within the same species. Although they
share a common origin, they may evolve slightly different functions or localizations (ex. LCAT and HCAT
present in plasma and cells, respectively, for the esterification of cholesterol).
Xenologous genes/proteins are highly conserved genetic elements found in phylogenetically distant
species. Their presence is often explained by horizontal gene transfer, frequently mediated by viruses.
Although homology is a qualitative concept, identity and similarity are quantitative parameters that can
be calculated and used to deduce evolutionary relationships. Computational and bioinformatics methods
are commonly used for this purpose, and each method has a specific level of accuracy: the highest possible
accuracy is not always necessary, instead, the appropriate accuracy level should be chosen according to
the biological question being addressed, the available resources and the specific steps of the research
process.
Ex. When studying the interaction between a protein and a ligand, the binding can be quantified
using the binding free energy. However, calculating the binding free energy between a target
protein and thousands of potential molecules would be extremely time-consuming. In many
cases, researchers are only interested in determining whether molecules are capable of binding
to the target at all, so faster and less computationally expensive methods are used during the
early stages of screening.
Ex. When optimizing a class of drugs, such as proton pump inhibitors like omeprazole, the molecules
under investigation may differ only slightly in chemical structure and binding affinity. Because
these differences are small, approximate methods are insufficient and higher-accuracy
computational approaches must be used, taking into account the available computational
resources and time.
Computational approaches also allow scientists to explore phenomena that are difficult or impossible to
observe directly in wet-lab experiments. For example, simulations can show how changing the pH of a
single amino acid residue might induce a conformational change in a protein, causing it to open.
SEQUENCE ALIGNMENT
Sequence alignment is done to:
- measure the similarity among different sequences, to determine if proteins/genes are homologous;
- determine the residue-residue (amino acids or nucleotides) correspondences for each residue of each
aligned sequence;
- observe patterns of conservation and variability among different proteins/genes. If groups of amino
acids/nucleotides didn’t change during evolution, it means that they are biologically important for
structure, architecture and function of proteins. Therefore, the presence of conserved amino acids
allows the classification of proteins into families: if a conserved pattern that is characteristic of a
protein family is found in a new protein, the architecture and the function of such protein can already
be predicted because it can be immediately assigned to a protein homologous family;
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22

Anteprima parziale del testo

Scarica Bioinformatics and molecular modeling (Structural bioinformatics) e più Dispense in PDF di Bioinformatica solo su Docsity!

STRUCTURAL BIOINFORMATICS

INTRODUCTION

In molecular biology, homology refers to genes or proteins that originate from a common ancestor. It’s an

evolutionary, non-quantitative concept: 2 genes/proteins are either homologous or they aren’t. According

to a biochemical dogma, genes/proteins that are homologous share the same structure, architecture and

function.

Because homology itself can’t be directly measured, researchers instead measure sequence identity or

sequence similarity between genes/proteins, allowing scientists to estimate the probability that 2

sequences share a common evolutionary origin, and so are homologous.

Orthologous proteins are proteins found in different species that originated from a common ancestral

gene through speciation and maintain the same function (ex. albumin found in different species).

Paralogous proteins, instead, arise from gene duplication events within the same species. Although they

share a common origin, they may evolve slightly different functions or localizations (ex. LCAT and HCAT

present in plasma and cells, respectively, for the esterification of cholesterol).

Xenologous genes/proteins are highly conserved genetic elements found in phylogenetically distant

species. Their presence is often explained by horizontal gene transfer, frequently mediated by viruses.

Although homology is a qualitative concept, identity and similarity are quantitative parameters that can

be calculated and used to deduce evolutionary relationships. Computational and bioinformatics methods

are commonly used for this purpose, and each method has a specific level of accuracy: the highest possible

accuracy is not always necessary, instead, the appropriate accuracy level should be chosen according to

the biological question being addressed, the available resources and the specific steps of the research

process.

Ex. When studying the interaction between a protein and a ligand, the binding can be quantified

using the binding free energy. However, calculating the binding free energy between a target

protein and thousands of potential molecules would be extremely time-consuming. In many

cases, researchers are only interested in determining whether molecules are capable of binding

to the target at all, so faster and less computationally expensive methods are used during the

early stages of screening.

Ex. When optimizing a class of drugs, such as proton pump inhibitors like omeprazole, the molecules

under investigation may differ only slightly in chemical structure and binding affinity. Because

these differences are small, approximate methods are insufficient and higher-accuracy

computational approaches must be used, taking into account the available computational

resources and time.

Computational approaches also allow scientists to explore phenomena that are difficult or impossible to

observe directly in wet-lab experiments. For example, simulations can show how changing the pH of a

single amino acid residue might induce a conformational change in a protein, causing it to open.

SEQUENCE ALIGNMENT

Sequence alignment is done to:

  • measure the similarity among different sequences, to determine if proteins/genes are homologous;
  • determine the residue-residue (amino acids or nucleotides) correspondences for each residue of each

aligned sequence;

  • observe patterns of conservation and variability among different proteins/genes. If groups of amino

acids/nucleotides didn’t change during evolution, it means that they are biologically important for

structure, architecture and function of proteins. Therefore, the presence of conserved amino acids

allows the classification of proteins into families: if a conserved pattern that is characteristic of a

protein family is found in a new protein, the architecture and the function of such protein can already

be predicted because it can be immediately assigned to a protein homologous family;

  • infer evolutionary relationships by generating a phylogenetic tree of species according to the similarity

between their proteins/genes. Therefore, if species are related, also their proteins/genes are related.

Sequences are made of letters, regardless of the type of sequences (amino acids, nucleotides,…), therefore

the methods used in sequence alignment are always the same. The only difference is related to variability:

when considering nucleotide sequences, they are made of only 4 letters (A, G, C, T; not U because the cDNA

complementary to an mRNA under study is generally considered), while proteins can be made of 20

different letters (corresponding to the 20 proteinogenic amino acids).

Considering 2 simple sequences, abcde and acdef, their alignment shows that they

are identical except for 2 gaps, which are called indels , because it’s necessary to

know which sequence is the newest to precisely determine if the gap is an insertion

or a deletion.

However, alignments aren’t generally that easy. Considering the

sequences gctgaacg and ctataatc, these can be aligned in

different ways (see the image):

  • the first alignment isn’t a reasonable alignment because it

consists of a single match and 14 indels, which are too many

to be normally found in nature;

  • the second alignment tries to match each letter of the first

sequence with each letter of the second one, exactly in the

same order without gaps, but only a small number of matches

is present;

  • the third alignment tries to increase the number of matches between the 2 sequences by introducing

some indels, however, the number of indels is too high (they generally have to be minimized) and there

is no match;

  • the fourth alignment is the best one, because it introduces only 4 indels and it ensures 5 matches.

This process is generally done by a scoring system , which can generate all the possible alignments,

quantify the quality of each possible alignment and select the one associated with the most optimal score.

However, some problems may occur: several different alignments can give the same best score and it isn’t

possible to select the most proper one; in the case the scoring system provides a single optimal alignment,

if the scoring system is even slightly changed, the top scoring isn’t the same anymore.

A simple scoring system could be the assignment

of 1 or a black square to every match and of a 0 or

a white square to every mismatch. The alignment

is done using a dotplot , which is a matrix where

one sequence is spread on the horizontal side and

the other one is spread on the vertical side,

always starting from the top left corner, where the

main diagonal starts from.

Considering the sequences

DOROTHYCROWFORDHODGKIN (on the

horizontal side) and DOROTHY HODGKIN (on the

vertical side), the dotplot shows:

  • a positive main diagonal that reflects the matches between the first 7 letters of the 2 sequences

(DOROTHY);

  • a break of the main diagonal, which then restarts for the last 7 letters of the 2 sequences, reflecting

other 7 matches (HODGKIN). When the main diagonal breaks, it’s necessary to move in the dotplot

either vertically or horizontally before the diagonal restarts: in this case, the diagonal restarts 8 letters

away from the last match in the horizontal position;

This is a real dotplot matrix developed from the comparison of

the same ATPase-6 gene between 2 species, lamprey and

dogfish. The dotplot shows a main diagonal, which is interrupted

mostly in the top left corner, meaning that the 2 genes are

similar at the 3’ end, but not at the 5’ end (because nucleotide

sequences are written in the 5’-3’ direction). This is explained by

the fact that regulatory sequences are present at the 5’ and they

are specific for each gene, while the 3’ portion is the open

reading frame, which is conserved among the 2 species because

it encodes for the same protein, with the same architecture and

the same function.

This dotplot matrix was developed from the comparison between the

orthologous protein PAX-6 in mouse and Drosophila. The dotplot isn’t a square

because the mouse protein, which is on the vertical side of the matrix, is longer.

The dotplot shows 2 diagonals, 1 vertical movement in between them and a

rectangle in the bottom right corner.

We can deduce that, through evolution, the gene became more and more

complex, introducing more nucleotides and producing a longer protein in mice.

The first portion of the protein is similar between the 2 species (represented

by the first diagonal), but then the mouse protein has a very long insertion

(represented by the vertical movement), followed by another similar portion

(represented by the second diagonal). The rectangle box consists of shorter

diagonals parallel to the main one, meaning that the last portion of the protein

contains short repeated sequences in both species.

The first diagonal doesn’t exactly start at the level of the top left corner, but a

bit lower. This could mean that the mouse protein contains another insertion

in the very beginning of the sequence, or it could also mean that there is a

signal peptide, which is generally a short sequence of about 20 amino acids located at the N-term of a

protein and responsible for the localization the protein inside the cell. If the latter case is true, it means

that the mouse protein has been introduced in the database with the signal peptide, while the drosophila

protein has been introduced without it.

After developing the matrix, during the detection of the correct alignment, it’s necessary to perform a

trace back , which consists of moving from the bottom right to the top left. The reason why a trace back

is necessary is that, when an alignment matrix is developed, a method using scores for the alignment is

used instead of a method based on 0 and 1 to determine the negativity/positivity of a match. Therefore,

when detecting the best alignment, it’s necessary to move away from the highest score following this

direction, from the highest values to the lowest. This operation falls within the definition of dynamic

reprogramming, which is used to decipher messages and, in this context, to improve the correct alignment

between 2 sequences without testing all possible solutions. However, this mathematical approach can be

used for a small number of proteins only.

Considering again the comparison between DOROTHYHODGKIN and DOROTHYCRAWFOOTHODGKIN:

the last letter N in HODGKIN is on the main diagonal, so it’s present in both sequences; this is valid for the

other 6 letters of the surname; the horizontal movement is represented by CRAWFOOT, which is present

in 1 sequence only; the 7 letters of the name DOROTHY are again on the main diagonal because they are

present in both sequences. Thus, the correct position of matches, mismatches and indels is obtained with

a trace back.

In general, diagonal movement indicates that the residues align, horizontal movement indicates that a

gap must be introduced in the sequence shown in the lines, and vertical movement indicated that the gap

is introduced in the column sequence.

MEASURES OF SEQUENCE SIMILARITY

Other than identity and similarity, it’s possible to measure the differences between 2 sequences, that are

complementary to the similarity (ex. if 2 proteins have 70% identity, it means that they also have 30%

differences). Methods used to measure differences have been developed by people studying evolution

language. In particular, 2 distances are used for the measurement of differences:

  • Hamming distance is used only for sequences of the same length

and is defined as the number of positions with mismatching

characters. For example, considering the 4-letter sequences agtc and

cgta, they contain 2 mismatches in the first and in the last position

(a-c, c-a), so the Hamming distance is 2;

  • Levenshtein/edit distance is used for sequences of not necessarily equal length and is defined as the

minimal number of “edit operations” required to change 1 sequence into the other, where an edit

operation is a deletion/insertion/alteration of a single character in either sequence. For example,

considering the sequences agtcc and cgctca: a must be changed into c or vice versa, g-g is a match, an

indel must be introduced instead of c or vice versa, t-t are a match, c-c are a match, c must be changed

into a or vice versa. Therefore, the edit operations are 3.

SCORING SYSTEMS

Evolution introduces changes in nucleotide and protein sequences, some of which can significantly alter

the structure and the function of proteins, but these changes are generally not conserved and lost with

further evolution.

Evolutionary time can be measured with respect to the number of conservative accumulated mutations,

because certain changes are more likely to occur naturally than others: for proteins, amino acid

substitutions tend to be conservative; for nucleotides, transversions (replacement of a nucleotide with

another one containing a different class of base, so a purine with a pyrimidine or vice versa) are less

frequent than transitions (replacement of a nucleotide with another one containing the same class of

bases, so a pyrimidine with another pyrimidine or a purine with another purine). The reason why is that

transversions destabilize the double helix, as the stability derives from hydrogen bonds between

complementary base pairs. If complementarity isn’t ensured anymore, it means that less hydrogen bonds

are keeping together the double helix, which is less stable.

Therefore, it’s necessary to assign a different weight to different editing

operations, trying to measure the similarity between sequences (the greater

the similarity, the greater the score). A possible scoring system could consist

of the assignment of 20 points to each position where the nucleotide is

conserved, 10 points to transitions and 5 points to transversions.

With proteins, the situation is more complex because they can be made of 20 different amino acids, which

are characterized by side chains that have different physio-chemical properties, so the impact of a

substitution is different depending on the amino acids involved (ex. if Asp is changed into Glu, which are

both acidic amino acids, the impact on the structure and the function of the proteins is less significant

compared to the impact caused by the substitution of 2 amino acids that have very different physio-

chemical properties).

PAM MATRICES

PAM matrices are substitution matrices for scoring alignments of proteins. They were first developed in

the 70s by Margaret Dayhoff, who started from the idea that mutations accumulate during evolution, so

the divergence of sequences is the result of the accumulation of mutations throughout evolution.

To observe this accumulation, it’s necessary to consider homologous proteins and see how their amino

acids mutate. However, in the 70s there weren’t large databases of protein sequences, so she had to work

on a restricted number of homologous proteins with a very high identity level, as there was no alignment

algorithm based on substitution matrices, so the alignment had to be done manually. She introduced the

idea that the probability for a mutation to occur is higher when the score is higher.

Actually, Dayhoff used the base 10 logarithm of this ratio:

𝑠𝑐𝑜𝑟𝑒 𝑜𝑓 𝑚𝑢𝑡𝑎𝑡𝑖𝑜𝑛 𝑖 ↔ 𝑗 = log (

With this modification, the range of the function is changed: if the top is higher, the ratio is >1 and the

overall logarithm is positive; if the bottom is higher, the ratio is <1 and the log is negative. Also, logarithmic

properties can be exploited: the score of each position in aligned sequences represents the probability

that such position mutates during evolution, so the total probability that the alignment is good, and so the

total score of the alignment, is computed by multiplying all the scores, considering that each score is a

logarithm of the probability of each position:

1

2

3

∙ … = log

1

2

3

= log

1

  • log

2

  • log

3

To remove the decimal values, each logarithm can be multiplied by 10.

Ex. The mutation frequency of Val↔Leu in a PAM250 is +2. This is computed by 10 multiplied by

the base 10 logarithm of the ratio: +2/10 = 0.2 is the logarithm of the ratio, so the ratio is 10

= 1.6, so the top of the ratio is 1.6 times higher than the bottom, meaning that this mutation is

1.6 times more frequent by evolution than by random processes.

This theory doesn’t consider indels, as proteins have a high identity level. Therefore, indels can’t be

managed with a substitution matrix. Differently, alignment algorithm uses many indels to optimize the

alignment, although this doesn’t reflect nature. Instead, indels are managed with a heuristic method (trials

and errors): we can add penalty values for the presence of a gap or the extension of a gap, although the

value of the penalty isn’t present in the theory.

BLOSUM MATRICES

In the 90s, Henikoff developed another set of substitution matrices, the BLOSUM matrices , based on the

concept of block substitution matrices: a block is a region of a multiple alignment of related proteins

(homologous), structurally conserved and alignable without gaps. Again, this theory doesn’t include any

value for indels.

BLOSUM matrices are observational matrices derived from the computation of the ratio between the

mutation frequency of an amino acid I to an amino acid J or vice versa in a set of aligned blocks, and the

random mutation frequency. Generally, this ratio is expressed as a base 2 logarithm, but it can also be

expressed as a base 10 logarithm.

The most used BLOSUM matrix is the BLOSUM62, where only proteins with an identity level up to 62%

(not higher) are considered in the blocks for computing mutation frequencies. There are also BLOSUM

and BLOSUM90 matrices, where proteins with an identity level up to 30% and 90%, respectively, are

considered.

BLOSUM62 is used because, when proteins are aligned, their identity level isn’t known before hand, as it’s

obtained from the alignment itself. Since it’s not possible to choose the correct matrix for the alignment,

an intermediate matrix is used, the BLOSUM62, which is useful for not too high nor too low identical

proteins. Then, if the alignment must be optimized, the index of the matrix can be changed.

With the BLOSUM62 matrix, all proteins with an identity level higher than 62% are removed, except for 1

random protein, which serves as a representative of the removed proteins. In alternative, a weighted

average of the removed proteins is used as a representative. The same occurs with BLOSUM30 and

BLOSUM90 matrices.

Since all BLOSUM matrices are observational matrices, they aren’t computed from previous matrices and

no more approximations are propagated, which is the reason why BLOSUM matrices are the most used.

BLOSUM62 considers indels, although they are block substitution matrix and the definition of block

doesn’t include indels. To manage indels, a penalty can be introduced: - 11 points are assigned to each gap

opening and - 1 is assigned to each gap extension of 1 residual:

x - - x x x - x - x

y y y y y y y y y y

BLAST (Basic Local Alignment Search Tool) is an algorithm used for comparing a protein of interest with

a database of proteins. The default matrix used for the alignment is the BLOSUM62, but it can be replaced

with other BLOSUM matrices or even PAM matrices, because sometimes it’s necessary to compare the

experimental data with previously published data in the literature. Also, the default penalties used for

indels are - 11 for gap openings and - 1 for gap extensions, but this combination can be changed.

ALIGNMENT METHODS

  • EXACT METHODS are used for mathematically certified alignments, which require intense

calculations, so they are suitable for pairwise alignments, where no more than 2 proteins are compared.

Pairwise alignments can be global, if all the amino acids of the first protein are aligned with all amino

acids of the second protein to identify similarity regions along the whole sequences, or local, if

similarity regions are investigated in a specific region within the 2 proteins. The former type uses the

Needleman-Wunsch method, while the latter uses a modification of the Needleman-Wunsch method,

the Smith-Waterman algorithm.

Exact methods aren’t often used for multiple alignments, otherwise it becomes too computationally

intense and the problems associated with pairwise alignments progressively increase with the number

and the length of the proteins compared.

  • HEURISTIC METHODS provide a set of reasonable and good solutions, although it isn’t known which

is the best one. They can detect close relationships well and quickly, but are inferior to the exact

methods in picking up very distant relationships.

They are used for both pairwise (BLAST) and multiple (ClustalW, ClustalΩ, TCoffee,…) alignments.

Actually, they aren’t multiple alignments, but rather pairwise recursive alignments, where the 2 proteins

with the highest identity level among a set of protein are initially aligned and then considered as a

single protein, and this is repeated for other possible pairs. The problem is that, if the alignment is

wrong, it can’t be corrected.

SIGNIFICANCE OF LOCAL ALIGNMENTS

When studying protein similarity, sequence identity/similarity is

used as a surrogate of homology. However, to assess if 2 proteins

are homologous, it’s necessary to move from simple alignment

scores to a statistical framework that evaluates how meaningful

those scores are.

This is done by considering the distribution of local alignment

scores obtained by comparing sequences against a large

database. If these scores are plotted, with the alignment score

on the x-axis and the number of alignments yielding that score on the y-axis, the resulting distribution is

an asymmetrical Gaussian shifted to the left, which reflects the fact that most random alignments

produce low scores (low x values), while high scores are rare (high x values).

The area under the curve (AUC) represents the probability of obtaining that score or a higher one by

chance: if an alignment has a very high score, it lies in the far right tail of the distribution, where the area

under the curve is very small, indicating that very few random alignments achieve that or a higher score,

and that those alignments are statistically significant and suggestive of homology; if the score is low, the

corresponding AUC is large, meaning that many random alignments could produce equal or better scores,

and the result isn’t significant.

This probability is quantified as the P-value , which represents the likelihood of observing an alignment

score at least as high as the one obtained randomly. For sequence alignments, the P-value is modeled

using an exponential function of some constants:

𝑃(𝑆 ≥ 𝑥) = 1 − exp(−𝐾𝑚𝑛𝑒

−𝜆𝑥

Where K and λ depend on the scoring system used (the substitution matrix and the gap penalty system),

m and n are the length of the 2 aligned sequences, x is the score obtained from the alignment of the m

and n sequences.

Also multiple alignments are

informative, but only if they consist in

the comparison between proteins

that are closely related and distant

(ex. members of the same protein

family across different species, so

orthologs).

With multiple alignment between

related sequences, it’s possible to

identify conserved amino acids,

which are important for structural

stability or biological function. In

particular, they are generally

substitutions between similar amino

acids, as they are more tolerated in evolution. In some cases, highly conserved residues form characteristic

motifs or “signatures” of a protein family, which can be visualized using sequence logos , where the size

of each letter reflects the degree of conservation at that position.

If structural information is available for one member of a protein family, it can often be transferred to other

members based on the alignment, particularly in conserved regions. This includes not only specific

residues but also secondary structure elements (α helices, β sheets).

The most conserved regions probably correspond to the active site (ex. WCGPC). Other less highly

conserved regions could be involved in substrate binding (ex. PT, GA). Regions containing indels tend to be

less conserved and are often located in flexible parts of the protein, like loops connecting more structured

elements, which are frequently enriched in hydrophilic amino acids. Finally, patterns in amino acid

properties along the sequence can tell information about the secondary structure: for example,

hydrophobic residues that are regularly spaced by 2 residues are β-strands, while a spacing of 3/4 residues

is typical of α helices.

DATABASE SEARCHING

The most used approach for sequence comparison is local alignment, but alternative strategies are

available depending on the goal. For example, to predict the 3D structure of a protein starting only from

its primary sequence, one widely used method is homology/comparative modeling , where the target

protein is compared against a database of proteins whose structures have already been experimentally

determined. If a significant alignment is found (indicated by a very small P-value or E-value), the target

protein is assumed to share structural similarity with the matched protein. This assumption is based on

the principle that homologous proteins tend to conserve their structure more than their sequence.

However, in some cases no significant alignment can be identified, meaning that no clear homologs are

detected and homology modeling can’t be applied. In such situations, modern AI-based structure

prediction methods can be used, although they are less accurate than homology modeling.

Another strategy is to increase the sensitivity of sequence comparisons to detect more distant homologs:

  • one method involves the use of profiles derived from multiple sequence alignments. Instead of

comparing a single sequence to another single sequence, the target is compared against a profile

representing a whole protein family, thus increasing the sensitivity because multiple amino acids (

amino acid for each protein) are considered for each position.

Sets of conserved amino acids are likely to be part of the active site, thus providing information about

the function and facilitating the identification of other homologous sequences. These conserved

patterns are useful in classifying subfamilies within a set of homologous proteins. Instead, sets of

amino acids that are little conserved and are related to insertions/deletions are likely to be in surface

loops.

However, this increase in sensitivity may reduce specificity, since similarities with lower identity levels

than those obtained with classical pairwise alignment can also be detected. Also, when using highly

sensitive methods, the detected similarities are often weak (sequence identity is low). Since homology

inference is more reliable at higher identity levels, low-identity alignments can be difficult to interpret

and may lead to incorrect alignments, even if a true evolutionary relationship exists.

  • another method is PSI-BLAST (Position-Specific Iterated BLAST), which is an extension of the

standard BLAST algorithm that performs iterative searches. Initially, the target sequence is aligned

against all the proteins of a database, and all sequences producing significant matches (typically below

a chosen E-value threshold) are collected. These sequences are then used to build a profile, which

captures conservation patterns. The profile is used in a new search against the database, potentially

identifying more distant homologs. This process is repeated iteratively, refining the profile at each step,

until no new significant matches are found.

It’s particularly effective for detecting distant evolutionary relationships.

  • another approach for detecting distant homologs is the Hidden Markov Model (HMM) , which is a

probabilistic model, not based on AI, that is widely used in sequence analysis for describing the subtle,

conserved patterns that define families of homologous sequences. In particular, it competes with PSI-

BLAST for detecting distant relatives, other than for the prediction of protein folding patterns.

HMMs are designed to capture patterns within sequences, like conserved regions in protein families.

By training an HMM on a set of related sequences (for example, members of a protein family like

albumins), the model learns the statistical properties that define that family, thus capturing its

“signature” or characteristic patterns. Once trained, the HMM can be used to evaluate new sequences

and determine if they belong to the same family, or even to generate new sequences containing the

learnt patterns.

HMMs explicitly model insertions and deletions in a statistically rigorous way, without needing

arbitrary penalties as in traditional alignment methods. They therefore incorporate alignment

information with statistics.

An HMM is a finite model, meaning that it doesn’t generate sequences with an infinite length, but it

describes a probabilistic distribution for an infinite number of sequences.

It can be composed of a number of states corresponding to a position in a 3D structure or to columns

of a multiple alignment. Each state produces symbols (amino acids) according to specific probabilities,

and transitions between states are also governed by probabilities learnt during training. The model is

based on a Markov process, meaning that the probability of moving to the next state depends only on

the current state, not on the full history of previous states.

In the context of protein sequences, each position in the model includes 3 types of states: match states

(M), which correspond to conserved positions and emit amino acids; insertion states (I), which allow

for extra residues; deletion states (D),

which account for gaps. For example, a

sequence might follow a path consisting

entirely of match states, indicating strong

conservation, or it might include

insertions and deletions depending on

the learnt transition probabilities. These probabilities are derived from the training set of aligned

protein sequences and reflect the evolutionary variability within the family.

In a Hidden Markov Model (HMM) applied to biological sequences, the observable output is known (for

example, amino acids), while the sequence of underlying states that generated it is hidden, so we can

distinguish 2 layers: the output/formal layer and the hidden layer.

The Viterbi’s algorithm isn’t useful for alignments, because generating an alignment requires the

knowledge of the most likely path followed by the hidden layer, which is computed by the Forward–

Backward algorithm. Using both these algorithms, it’s possible to assign a protein to a family (through

Viterbi’s algorithm) and to obtain a statistically significant alignment that mathematically manages

indels (indels are managed as matches, unlike with substitution matrices).

There are some practical considerations when using HMMs:

  • a key requirement is the availability of a high-quality multiple sequence alignment of homologous

proteins to train the model. If the training set is poor or with low similarity, the model won’t perform

well;

  • once trained, the model can be used to compute the probability that a given test sequence was

generated by the model. The Viterbi’s algorithm is used for this purpose: if an HMM trained on a

known family of sequences would generate the test sequence with relatively high probability, the

test sequence is likely to belong to the family;

  • the Forward–Backward algorithm computes the probability of any sequence of states from the

individual state-to-state transition probabilities. In particular, it finds the most likely succession of

states that the HMM would use to generate one or more test sequences.

Methods based on substitution matrices, like those used in pairwise alignment tools, tend to have lower

sensitivity but also lower background noise, meaning they are reliable for detecting close homologs.

Iterative methods like PSI-BLAST increase sensitivity by incorporating information from multiple

sequences, allowing detection of more distant relationships. HMMs achieve very high sensitivity by

modeling position-specific conservation and indel patterns, but this increased sensitivity can also

introduce more false positives if thresholds aren’t carefully controlled, so statistical significance measures

(such as E-values) must always be considered when interpreting results.

In practice, these methods are often used in combination. For example, one might first use a tool based on

substitution matrices to find clear homologs, then refine the search with PSI-BLAST to expand the set,

and finally build or apply a profile HMM to detect more distant homologs and obtain high-quality

alignments. HMM Viterbi’s algorithms can then be used to confirm if sequences truly belong to the same

family.

PRACTICAL DEMONSTRATION: BOVINE BETA-LACTOGLOBULIN

Bovine β-lactoglobulin has long been studied from a structural biology perspective, particularly for its pH-

dependent conformational behavior. Experiments showed that the protein undergoes a structural

transition as the environmental pH changes, and titration data suggested the presence of an acidic

residue, either Asp or Glu, that exhibits an unusually high pKa compared to the typical value of around 3,

indicating that its microenvironment significantly alters its ionization properties.

2 experimentally resolved structures are especially informative: 1 obtained at basic pH (PDB ID: 2BLG, pH

8.2) and 1 at acidic pH (PDB ID: 3BLG, pH 6.2), which can be downloaded from the protein databank,

containing all the structurally resolved proteins. The protein adopts a β-barrel fold with a hydrophobic

binding pocket, but when the 2 structures are superimposed, the main structural difference becomes

evident in the EF loop: at acidic pH, this loop folds over the binding site, thus closing it, while at basic pH

the loop adopts an open conformation, allowing access to the cavity. This conformational change is

functionally relevant because the binding site accommodates hydrophobic ligands such as palmitic acid

(present in milk) and retinoic acid, as well as various drugs. Also, the closed conformation at acidic pH

suggests a potential mechanism for drug delivery: a ligand could be trapped within the binding pocket in

the stomach’s acidic environment and later released under different conditions.

These structures were determined using X-ray crystallography, which provides electron density maps

derived from structure factors. However, H atoms are generally not visible in such maps due to their low

electron density, so they are typically absent from the resolved structures. Additionally, the protonation

states of ionizable residues can’t be directly determined. Some regions of the protein, particularly flexible

side chains, may also be unresolved due to high mobility.

In the past, these limitations required manual correction of PDB files, while today specialized software

tools are used to add missing atoms, assign protonation states and prepare the structure for

computational studies.

It’s also important to consider that crystallographic structures represent proteins in a solid-state

environment, which may introduce artifacts compared to their behavior in solution. To better approximate

physiological conditions, computational models incorporate solvation effects, which can be done either by

explicitly adding water molecules or by using implicit solvation models.

In the simplest implicit approach, the solvent is treated as a continuous medium characterized by a high

dielectric constant (around 80 for water), which screens electrostatic interactions. More sophisticated

models, such as the Generalized Born approach, attempt to estimate solvation energies of water all around

the protein more accurately.

Sometimes, water molecules remain trapped in the crystallized structure of a protein. In these cases, those

water molecules can be considered explicitly if they are believed to play a structural/functional role, while

the rest of the solvent is treated implicitly.

However, implicit solvation models tend to overestimate solvation energies compared to other energies.

As a result, during energy minimization, the protein may artificially favor conformations that expose more

hydrophilic residues to the solvent, thus forcing a modification of the internal geometry. Despite this

limitation, implicit models remain widely used due to their computational efficiency.

In the specific case of β-lactoglobulin, water molecules aren’t considered critical for maintaining the core

structural features under study, so they can often be removed during model preparation without

significantly affecting the analysis.

Consider first the structure crystallized at acidic pH. If we prepare the system assuming that water

molecules aren’t included (which is acceptable in this specific case), we can begin by asking the software

to analyze the PDB file for common structural issues. 2 main problems are identified: missing or incorrectly

assigned H atoms and inconsistencies in the overall charge distribution. These issues can be corrected

either manually or through automated tools. For example, the Protonate3D software is used to optimize H

placement and water networks, although in the case of β-lactoglobulin, explicit water molecules aren’t

essential and can be removed without significantly affecting the analysis.

Attention can then be focused on the EF loop, which is known to undergo conformational changes. This

loop consists of 6 amino acidic residues (DALNEN), including one Asp (D) and one Glu (E), both potentially

responsible for the anomalous pKa observed experimentally. To determine which residue is responsible,

it’s necessary to compute pKa values. However, before doing so, the crystallographic structure must be

relaxed, which is achieved by applying an implicit solvation model, such as the Generalized Born approach,

followed by energy minimization.

Once the structure is optimized, pKa calculations can be performed. In this case, the Asp residue shows a

pKa of about 3.8, which is consistent with its expected behavior. In contrast, the Glu residue exhibits a

significantly elevated pKa of around 7.18, indicating that it’s the anomalous residue, likely due to its buried

position within the protein (often indicated by labels such as “b” for buried), which reduces its exposure to

solvent and stabilizes the protonated form.

Given that the crystallization pH is 6.2, this Glu is predominantly protonated under those conditions

(7.18>6.2). However, if the structural model shows it in a deprotonated (negatively charged) state, this

represents an inconsistency that must be corrected. The residue should therefore be protonated, and the

system minimized again, as energy minimization is required after every structural modification.

A similar procedure can be applied to the structure crystallized at basic pH. After energy minimization and

pKa calculation, the same Glu residue is expected to exhibit a more typical pKa value. Indeed, a value

around 4.5 is obtained, confirming that in this conformation the residue behaves more like a standard,

solvent-exposed Glu.

To investigate ligand recognition, one can then analyze a structure of β-lactoglobulin co-crystallized with

a natural ligand, like palmitic acid. After properly preparing and correcting the protein structure, the

binding affinity of the ligand can be estimated by calculating the binding Gibbs free energy.

The workflow can be fully automated or partially controlled by the user, who may choose to manually

inspect and select templates before model building.

In this specific case, after running SWISS-MODEL, several candidate templates are proposed. Some are

discarded due to concerns about reliability, such as models derived from computational predictions rather

than experimental data, since using such templates can introduce cumulative errors in the final model.

Preference is given to experimentally solved structures, and among the available options, a β-

lactoglobulin complexed with retinol is selected as the most appropriate template due to its structural

relevance and experimental origin.

After building the model, the resulting structure is analyzed. It’s common to observe that certain regions

at the N-term may not be modeled or may appear missing. This is typically not an error, because these

regions often correspond to signal peptides, which are cleaved during protein maturation and are therefore

absent in the mature, functional protein structure.

In this workflow, MOE (Molecular Operating Environment) is used to perform homology modeling starting

from the primary structure of buffalo β-lactoglobulin, which has been retrieved from UniProt. The FASTA

sequence is copied directly into MOE, where it’s used as the query input for a structural search against the

PDB. Functionally, this step is analogous to running a BLAST search, since the software identifies

homologous proteins based on sequence similarity and returns a ranked list of potential structural

templates together with their associated E-values.

In addition to BLAST-like alignment, MOE also incorporates HMMs to classify the query protein into a

protein family. This step is important because it checks if the query sequence belongs to the same

evolutionary and structural family as the candidate templates, thus improving confidence in template

selection, since proteins within the same family tend to share conserved structural cores even when

sequence identity is moderate.

Among the identified candidates, the best template is another β-lactoglobulin structure, characterized by

a very low E-value, indicating strong homology with the query protein. This suggests that the template

and query likely belong to the same protein family. In this case, the PDB database within MOE has been

curated and organized by pre-aligned protein families, which simplifies template selection by grouping

structurally and evolutionarily related proteins together.

When selecting this template in MOE, multiple aligned sequences are displayed: the query sequence and

2 pre-aligned template sequences derived from PDB structures. These sequences are already structurally

aligned, allowing direct comparison. MOE also allows visualization of residue conservation by coloring

positions according to identity levels, which helps in identifying conserved regions, mutations and gaps.

Although both pre-aligned template sequences can potentially be used, the final choice depends on

several criteria, including sequence identity, sequence similarity and the presence and distribution of gaps.

Identity refers to the percentage of residues that are exactly the same between sequences, while similarity

is higher because it also includes conservative substitutions, meaning amino acids with similar

physicochemical properties.

In this case, the first template shows the highest sequence identity and is therefore selected as the

template. However, alignment gaps are present, particularly in specific regions where the template doesn’t

fully cover the query sequence. To address this issue, there are 2 main strategies:

  • allow the software to reconstruct missing residues through loop modeling or structural rebuilding;
  • the second template can be used to complement missing regions, resulting in a chimeric model. In this

approach, the first template is used for most of the protein structure, while the second template is

specifically applied to regions such as the C-term end, where gaps are present. This hybrid strategy

must always be explicitly justified, since it introduces multiple structural sources into a single model.

Beyond sequence-based selection, MOE also provides geometrical and energetic criteria for model

evaluation.

One approach is to compute an average structural model from all generated conformations using RMSD

as a measure of structural similarity. The model that is closest to this average structure is considered more

representative and therefore potentially more reliable.

Another important validation method is based on physicochemical principles, particularly solvation and

electrostatic energy. In properly folded proteins, hydrophobic residues tend to be buried in the core, while

hydrophilic residues are exposed to the solvent. Based on this principle, MOE can calculate electrostatic

solvation energy for each generated model. A well-folded and physically realistic structure is expected to

have lower solvation energy, since it reflects a favorable distribution of polar and non-polar residues.

Therefore, the best model can also be selected as the one with the lowest energy.

Using these criteria, multiple chimeric models (in this case, 10 ) are generated for β-lactoglobulin. Each

model is evaluated, and the one with the lowest electrostatic solvation energy, combined with structural

refinement, is selected as the best candidate. In this example, Model 6 is identified as the optimal structure

because it shows both the lowest solvation energy and the most favorable refinement outcome. This

model is then loaded alongside the template structures and the query protein for further analysis and

comparison.

The final validation step involves assessing stereochemical quality using a Ramachandran plot , which

examines the φ and ψ angles of amino acid residues. For the modeled query protein, no significant outliers

are observed, indicating that most residues adopt energetically allowed conformations. The most favored

regions of the plot correspond to common secondary structure elements: β-barrel conformations cluster

in the upper-left region, while α-helical residues occupy a distinct region of allowed angles.

For comparison, the Ramachandran plots of the template structures are also examined. One template

shows a small number of outliers, which isn’t necessarily problematic, since experimentally solved

structures can still contain unusual conformations due to crystallographic constraints or local flexibility.

These rare outliers don’t invalidate the template, but they are taken into account when evaluating overall

model quality.

PRACTICAL DEMONSTRATION: HOMOLOGY MODELING WITH GPR

The human GPR17 receptor is a class A GPCR expressed on oligodendrocyte precursor cells and activated

during their maturation. Its structure has already been experimentally solved and deposited in the PDB.

However, we assume that its structure isn’t available in order to generate a homology model of the

receptor for the design of bioactive compounds potentially useful in multiple sclerosis.

The first step consists of obtaining the primary structure of GPR17. If the sequence has already been

experimentally determined in the wet lab, no additional work is required. Otherwise, it can be retrieved

from the UniProt database by searching for the human GPR17 receptor and downloading the sequence

from the “Sequence & Isoforms” section.

Once the primary structure is available, a template search can be performed using SWISS-MODEL or

BLAST against the PDB database, in order to identify experimentally solved homologous structures that

can serve as templates for homology modeling. In our case, MOE is also employed because it integrates

HMMs, which help determine if the identified templates belong to the same protein family as the query

receptor.

Phylogenetically, GPR17 is closely related to other class A GPCRs, particularly the P2Y1 receptor and the

Cysteinyl leukotriene receptor family.

After copying the GPR17 primary sequence into MOE and running the search against the PDB database,

the software generates a ranked list of potential templates, which can be ordered according to their E-

value: the lower the E-value, the higher the probability that the template is evolutionarily related to the

query protein and therefore shares a similar structural architecture.

Among the top-scoring templates, the Succinate receptor 1 emerges as the best homologous structure

based on sequence similarity. In the absence of additional biological information, this receptor could be

selected as the main template for modeling. However, available experimental evidence suggests that

GPR17 is more closely related, from a functional and phylogenetic perspective, to P2Y1 and cysteinyl

leukotriene receptors. The presence of these receptors among the identified templates further supports

this hypothesis.

An important structural feature of GPR17 is the presence of a conserved disulfide bond connecting the N-

term region to an extracellular loop, a characteristic that isn’t shared by all GPCRs. Therefore, it’s

After applying these constraints, the alignment was further optimized automatically. However, one

important feature still required manual correction: the alignment of the Cys residues involved in the

conserved extracellular disulfide bond. If these Cys aren’t properly aligned, the resulting homology model

would fail to reproduce the disulfide bond. Therefore, an additional manual constraint was introduced to

force the alignment of the corresponding Cys residues in GPR17 and P2Y1, ensuring preservation of the

disulfide bridge in the final model.

The optimization process therefore considered not only sequence similarity, but also secondary-structure

features and experimentally supported structural constraints. As a consequence, the final alignment

displayed a slightly lower sequence identity compared with the original automatically generated

alignment, due to the fact that the constraints may reduce the number of matches while producing a

structurally more accurate model.

Based on the optimized alignment, multiple homology models of GPR17 were generated and ranked to

identify the best candidate structure. One possible ranking strategy involves a geometrical approach

based on RMSD: all generated models are superposed to produce an average structure, and each

individual model is then compared with the average by calculating its RMSD. The model associated with

the lowest RMSD is considered the most representative.

An alternative evaluation criterion is the electrostatic solvation energy: in a reliable protein model,

hydrophobic residues are buried within the protein core, while hydrophilic residues are exposed to the

solvent, leading to favorable solvation energies. However, this approach is less reliable for transmembrane

proteins such as GPCRs because the membrane-embedded regions aren’t exposed to aqueous solvent.

Since the membrane environment isn’t considered in these calculations, the estimated solvation energies

may not be accurate.

Once the best-scoring model was selected, its stereochemical quality was validated using a

Ramachandran plot analysis. The Ramachandran plots of both the template and the generated GPR

model were examined to identify possible outliers.

To reduce the number of outliers and improve the geometry of the structure, the model was subjected to

energy minimization. Nevertheless, the accuracy of this refinement remains limited because the

calculations are performed without explicitly modeling the physiological membrane environment

surrounding the receptor.

The suitability of the model will be then proved in vitro: if the predicted drugs are able to activate it and

trigger myelination, the model is good.

PROTEIN STRUCTURE PREDICTION

Today, nucleotide and protein sequence databases contain many sequences corresponding to proteins

that have never been experimentally isolated, purified and structurally characterized in the lab, so no

experimental 3D structure is available. However, understanding the 3D structure of a protein is important

to infer its function and architecture, so computational modeling approaches are used to predict protein

structures when experimental data are unavailable.

One of the most important approaches is homology modeling , which is based on the principle that

proteins sharing significant sequence similarity generally also share similar 3D structures. Therefore, if a

protein with known structure is homologous to a protein of unknown structure, the structural information

from the former can be used as a template to generate a model of the latter. Identifying an appropriate

template strongly influences the accuracy of the predicted model.

Newly synthesized proteins initially exist in an unfolded state, which isn’t a unique state of a specific

protein and is characterized by high mobility, irregular and expanded conformations, and lack of function.

During folding , the protein progressively adopts its native conformation, which is unique for each protein,

precisely ordered, stable, compact/globular, and functionally active, with well-defined secondary structure

elements such as α-helices and β-sheets. Generally, folding takes an average of 1s to occur.

Some proteins are capable of folding spontaneously, driven solely by their amino acid sequence and

thermodynamic stability, while other proteins require the assistance of molecular chaperones and ATP-

dependent mechanisms.

Simulating the complete folding process computationally is highly demanding because reproducing even

1s of molecular motion at atomic resolution requires enormous computational power. Therefore,

alternative strategies, including homology modeling and more recent AI-based methods, are used to

generate accurate structural models more efficiently.

The properties of amino acids are important in protein structure. Amino acids can be classified according

to the physicochemical properties of their side chains. During evolution, substitutions between amino

acids with similar properties are better tolerated because they preserve the structural stability and

function of the protein.

Despite differences in side chains, the protein backbone remains conserved. The peptide bond connecting

amino acids has partial double-bond character due to resonance (the N atom has a lone pair of electrons

that can overlap with the π system of the carbonyl group, resulting in delocalized electrons). Therefore,

free rotation around this bond requires a high energetic cost.

The main flexibility of the protein backbone derives instead from 2 torsion angles associated with each

amino acid residue: the φ (phi) angle and the ψ (psi) angle, which were studied by Ramachandran, who

analyzed experimentally determined protein structures and observed that only specific combinations of

φ and ψ angles are energetically favorable. These preferred conformations are represented in the

Ramachandran plot , where most residues in proteins cluster within 3 allowed regions, corresponding to

α-helices, antiparallel β-sheets and parallel β-sheets. Residues located outside these favored regions are

called outliers, which aren’t necessarily errors: some amino acids may adopt unusual conformations

because of specific structural or functional requirements.

In homology modeling and structural validation, if the experimentally determined template structure

contains outliers that are biologically justified, similar outliers may also appear in the generated model.

However, some outliers may instead arise from experimental artifacts or inaccuracies in structure

determination (ex. distortions can be introduced during crystallization because the protein is analyzed in

a crystal lattice rather than in its natural solution environment).

PROTEIN DATABASES

Biological information is organized into databases that store sequences, structures and functional

annotations of proteins and nucleic acids. Among structural databases, the most important resource is

the Protein Data Bank (PDB) , which contains experimentally solved 3D structures of biological

macromolecules, like proteins, nucleic acids and large molecular complexes. The PDB is maintained

through an international collaboration between Europe, the US and Japan.

The structures in the PDB are obtained using X-ray crystallography, NMR and, in more recent years, cryo-

EM. X-ray crystallography provides very high-resolution structural information, while cryo-EM is used for

studying large molecular complexes and membrane proteins that are difficult to crystallize, although with

a lower resolution. The choice of the experimental method influences the quality of the 3D structure of

template proteins, which in turn affects the quality of the resulting model.

Other structural databases don’t rely on new experimental data, but use and elaborate the information

included in the PDB, making them secondary structural databases.

One is the CATH database , which provides a manually curated classification of protein domain structures.

Another example is the SCOP database , which relies on experimentally solved structures to generate a

phylogenetical relationship among experimentally solved proteins, considering both the amino acid

sequence similarity and structural similarities.

In parallel with structural databases, several databases specialize in biological sequences. The two most

important protein sequence databases are UniProt and NCBI nr.

UniProt is a comprehensive (contains all proteins described in literature) and well-annotated protein

resource that is maintained through an international collaboration between European bioinformatics

institutes and the Swiss Institute of Bioinformatics. It integrates multiple datasets with different levels of