Plugins¶
Other packages add sources (things that make ensembles), analyses and sinks through the
dynome.plugins entry-point group. See dynome/plugins.py for the contract.
| Plugin | Status |
|---|---|
dynome-kinetics |
Implemented: Markov state models from any time-ordered ensemble |
dynome-sim |
Implemented: OpenMM preparation, runs written to stores, adaptive sampling |
dynome-agents |
Implemented: a dynome command line and an MCP server over 14 typed tools |
dynome-view |
Implemented: self-contained interactive 3D pages with linked plots, figures, exports to PyMOL, VMD and ChimeraX |
dynome-predict |
Implemented: Boltz-2 predictions as ensembles with confidence annotations |
dynome-emulate |
Implemented: BioEmu-2 equilibrium samples as ensembles |
dynome-accel |
Implemented: compiled, multi-threaded RMSD, about twice as fast as MDTraj |
Together the two plugins close the loop from starting structures to a kinetic model:
import dynome as dn, dynome_sim as ds, dynome_kinetics as dk
system, starts = ds.prepare(seeds, frames=range(seeds.n_frames), solvent="implicit")
data, history = ds.adaptive_sampling(system, starts, rounds=10, runs_per_round=8,
n_steps=50_000, report_interval=500,
features=["backbone_torsions"], store="adaptive.dynome")
model = dk.build_msm(data, lag=20)
print(model.summary())
A full pipeline¶
import dynome_predict as dp, dynome_sim as ds, dynome_kinetics as dk
seeds = dp.predict_boltz("ENFSGGCVAGYMRTPDGRCKPTFYQLIT", n_samples=5)
system, starts = ds.prepare(seeds, frames=range(seeds.n_frames), solvent="implicit")
runs = ds.run_many(system, starts, 1_000_000, 1000, store="pep.dynome", platform="CUDA")
model = dk.build_msm(runs, lag=25, features=["backbone_torsions"], n_clusters=100)
model.timescales(4)
Swap the first step for dynome_emulate.emulate_bioemu(...) to seed from BioEmu-2 instead.