Machine Learning

Methods for studying protein motions and protein–ligand interactions from molecular dynamics trajectories.

Use this guide to match a method to your question and your data. The Analysis tab runs PCA and distance-based contact plots in your browser. Use the workspace below to explore trajectory features and compare conformations.

Analyze a trajectory

Load a dynamics run to plot principal components, tICA, clusters, and observed state transitions. Choose a ligand to cluster its residue contacts. The guide below also covers methods such as VAMPnets and autoencoders that need separate training software.

Load simulation results

Use my own PDB and DCD

Choose a topology PDB and an OpenMM or CHARMM coordinate DCD with identical atom order.

The crambin example is a short trajectory for trying the plots.

Choose a results ZIP or try the example.

Analysis runs in your browser. Runs submitted from Simulator are available in the same browser. For desktop runs, open the results ZIP from your computer.

Visualization

Load a trajectory or try the crambin example to see plots and a state-transition network here.

Protein motions

Principal component analysis (PCA)

Find the directions that explain the most variation across aligned protein structures. Use PC1 and PC2 to visualize changes in conformation.

Input Aligned coordinates or structural features from an ensemble of frames. Large variance alone gives no estimate of transition rates.

Run PCA in Analysis · Scherer et al., 2015

Time-lagged independent component analysis (tICA)

Find combinations of features that change slowly. This can help identify motions such as transitions between open and closed conformations.

Input Time-ordered trajectories sampled at regular intervals, with features such as contact distances or backbone dihedrals. Check how the embedding changes with lag time.

Pérez-Hernández et al., 2013

Time-lagged autoencoders

Learn a nonlinear representation of molecular motions by training on pairs of frames separated in time.

Input Time-ordered features and enough sampled transitions to validate on held-out trajectories. Compare with simpler projections before interpreting the learned coordinates.

Hernández et al., 2018

Protein–ligand interactions

Interaction fingerprints

Encode hydrogen bonds, hydrophobic contacts, and other interaction types by residue in each frame. ProLIF uses chemical geometry rules to generate features for machine learning.

Input A protein–ligand trajectory with matching topology and correctly assigned ligand chemistry. Compare fingerprints across frames or clusters to see which interactions recur.

Bouysset and Fiorucci, 2021 · ProLIF documentation

Clustering binding poses

Group frames with similar ligand poses or contact patterns. Compare representative structures and the prevalence of each group in the sampled trajectory.

Input Ligand coordinates after aligning the binding site, or interaction fingerprints. K-means partitions numeric features, while HDBSCAN can flag frames as noise. The result depends on the features and distance metric.

MD clustering study · Trajectory fingerprint study

State transitions

Markov state models (MSMs)

Estimate transitions between conformational states at a chosen lag time. With adequate sampling and validation, an MSM can estimate state populations and transition timescales.

Input State assignments from time-ordered trajectories with repeated transitions. Check implied timescales and validate multi-step predictions before interpreting rates.

Scherer et al., 2015 · T4 lysozyme–ligand case study

VAMPnets

Train a neural network to learn soft state assignments and a kinetic model directly from time-lagged trajectory features.

Input Multiple time-ordered trajectories with adequate sampling of the transitions of interest. Evaluate on held-out trajectories and test the model across lag times.

Mardt et al., 2018

A minimization run gives prepared and minimized structures. A dynamics trajectory is needed to study motion over time, and kinetic models need enough observed transitions to estimate rates reliably.