Structure portion part 1

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/28

encourage image

There's no tags or description

Looks like no tags are added yet.

29 Terms

1
New cards

Quaternary

Quaternary = many folded chains

Domain folds semi independtly, active site created when catalytic residues align.

Mos1 transposase works as a dimer (TIR ends bind together)

2
New cards

Folding Problem

Cant predict fold based off AA sequence alone.

Shape = mechanism.

3
New cards

Structure

set of 3D coordinates per backbone + sidechain stored in PDB/ mmCIF file

Back bone, contact map, and distance map all are unchanged by translation or rotation

use dihedral angles. w is planar.

4
New cards

Distance map L x L matrix

Dij = ∥xi − xj ∥, distance between residues i and j.

captures the fold. Zero diagonal

5
New cards

Contact Map

Is a distnce map with a threshold.

Cij = 1[ Dij < θ ] , θ ≈ 8 ˚A(Cβ–Cβ),

a binary “in contact / not.” Symmetric and diagonal-dominant.

α-helix → thick band hugging the diagonal.

• β-sheet → off-diagonal stripe:

parallel = aligned with diagonal, antiparallel = transverse to it.

• Long-range contact → a far isolated dot

from the diagonal: two residues distant in

sequence, touching in space

6
New cards

Do contact determine fold?

Long range contacts predict fold. Predicting contacts is best way to predict structure.

7
New cards

Conserved vs covariation

conserved column (low entropy) is single site & done by

Covariation = columns move in pairs for structure.

spatial proximity over evolutionary time

8
New cards

What happens if mutation

If in 3D contact, must stay chemically compatiable. If one mutates, the other co mutates.

columns that covary across MSA are likely to be in 3D contact.


9
New cards

Miyazawa–Jernigan (MJ96). Sub matrix. → Potts

log odss for spatial contacts. MI(i, j) = log [p(a, b)]/[p(a) p(b)]

MI ≥ 0 (Gibbs), = 0 iff columns are independent;

large MI flags a covarying pair.

Mutual Info = how much they share = naive coevolution score

10
New cards

What Inflates MI (mutual info)

Redundancy. A family alignment is full of near-identical relatives. so weight sequences before counting.

Transitivity. A correlation that is real but indirect. = Potts model (cant do redundancy)

11
New cards

Direct vs Indirect

A real contact i–k plus k–j induces a spurious apparent correlation i–j (transitivity).

MI / covariance cannot tell a direct contact from an indirect chain.

MI does well on clean 1:1 pairing like RNA

12
New cards

Position-specific couplings

Extend the profile with pairwise terms:

Pr(s) ∝ exp Sum( Hi(si)) + Sum ( Jij (si, sj ))

Fields Hi = the conservation

PSWM part; couplings Jij = pairwise compatibility.

A PSWM is exactly the special case all Jij = 0

13
New cards

Most entropy

pick the one with the most entropy= the flattest, least-assuming one that still fits the constraints. Assume nothing beyond

the evidence.

Random variable, What you constrain , Max-entropy answer

discrete nothing uniform

real-valued mean and variance Gaussian

integer-valued mean geometric

sequence-valued position-specific freq PSWM

sequence-valued + pairwise correlations Potts model

14
New cards

maximize entropy, with one Lagrange multiplier per constraint.

= 1/Z exp (Sum[hi(si) ] + Sum[Jij (si, sj )])

Z = e ^ (1+λ)

The fields and couplings are the Lagrange multipliers. Jij = 0 recovers the PSWM.

15
New cards

DCA: solve for the direct couplings

fits the couplings Jij directly: a large ∥Jij ∥ ⇒ a direct contact, with indirect chains filtered out. That is what MI could not do.

On CheY of the top 99 pairs, 41 really touch under MI and 55

under the fitted couplings. The transitive pair S56--A103 is the kind of thing that moves — MI ranks it 115 of

4479, the Potts model 1477.

i<j Jij ) is a sum over all 20L sequences, which is intractable. So DCA maximizes a regularized, tractable surrogate whose optimum

stays near the true couplings (never computing Z).

16
New cards

For transposase

Many transposon paralogs across a host clade ⇒ a deep MSA ⇒ a strong coevolution

only works if selection is acting on the sequences — selection is what couples two positions, so a copy nothing contributes noise to every pair. So, for transposases in particular, you must always

take care to exclude nonfunctional copies, e.g. pseudogenes.

17
New cards

Dca

DCA / EVcouplings: fit a Potts model → predicted contact map → “fold up” into 3D.

• Strong on deep families; limited on shallow ones (too few Neff)

18
New cards

2 way to map 3d coordinates

• AlphaFold2: query sequence + an MSA (where B2’s coevolution enters); more accurate, slower.

• ESMfold: a single sequence, with a language model supplying the signal; faster, and it works on orphans.


A model is a function fθ(x) with parameters θ — the millions of weights. Learning = choosing θ so the outputs match examples.

19
New cards

Neurons

neuron takes a weighted sum of its inputs and passes it through a nonlinear activation function: y = σ Sum( wi*xi + b). The weights wi (and bias b) are the parameters;

the activation is what makes it more than a straight line.

20
New cards

Loss

Training minimizes a loss L(θ). The canonical loss is the negative log-likelihood of the data:

L(θ) = − log Pr(data | θ).

Minimizing it is maximizing the likelihood, the same MLE

21
New cards

loss is a composition of differentiable units

Autodiff computes ∂L/∂θ exactly, automatically, by the chain rule (no hand calculus).

• SGD (stochastic gradient descent): step θ ← θ − η ∇L downhill, on small mini-batches.

22
New cards

Regularizers

Add a penalty on the parameters, e.g. L(θ) + λ∥θ∥2:

− log Pr(θ | data) = − log Pr(data | θ) − log Pr(θ) +const.

loss regularizer

A common regularizer is the L2 penalty, effectively a Gaussian prior on the parameters.

[Bayes] regularizer = − log prior; it pulls toward simpler models.

23
New cards

Hyperparameters: the knobs you don’t fit

not fit by the training loss: that would just pick the most flexible model every time. You choose them on a held-out validation set.

The regularization strength λ — how hard the prior pulls;

• the learning rate η — how big an SGD step is;

• the architecture: how many layers, how wide, which nonlinearity;

• the mini-batch size, and how long to train before stopping;

• the pseudocount α of a PSWM or profile HMM (PROFILES B1) — same idea, long before any neural network

24
New cards

Splitting data

before any fitting happens, split the data

• Train — fit the parameters θ.

• Validation — tune the hyperparameters (and stop early).

• Test — touched once, for an honest estimate of generalization.

Overfitting = fitting noise; the train−test gap is the tell. Disjoint is not enough for sequences: homologues

either side of the split leak the answer across it, so the test set must be separated by similarity, not at random.

25
New cards

Ensambles

Average several models (different seeds / data) ⇒ lower variance and better calibrated predictions.

[Bayes] an ensemble approximates Bayesian model averaging, integrating over models instead of trusting one

26
New cards

Zero units

Randomly zero units during training. It regularizes (stops units co-adapting) and behaves like averaging an ensemble of sub-networks.

27
New cards

Masking to learn from unlabeled data

Hide part of the input and predict it (self-supervision). It needs no labels and no solved structures, just raw sequence. This is exactly ESM’s training objective.

Then autodiff + SGD train the whole chain end to end

28
New cards

symmetries

symmetries, for example different rotations of the same

protein structure. Three terms to fix:

• Invariance — anything that does not transform under the symmetry operation. For example, distances between residues.

• Equivariance — things that transform in a predictable way under the symmetry. For example, if you rotate a protein, its active site rotates along with it.

• Data augmentation — applying the symmetry operation to your training data, to teach the network to see past it. For example, randomly rotating protein structures during training.

KEY IDEA

You can build invariance and equivariance into your model mathematically, but data augmentation is much simpler and almost always enough

29
New cards

Recap Alpha vs ESM

AlphaFold2 — a structure prediction model. Inputs are protein sequences, outputs are protein structures; the loss function measures structure prediction error.

• ESM — a language model. Outputs are protein sequences; trained by the masked-language objective