HTS MD Simulator
The High-Throughput MD simulator uses the same
SimulatorProject helper as the
other simulators. Searching for projects, creating a simulator project
(create_project()), checking status, and downloading results are described in
MD Simulator (Solution, Membrane) (see Status And Downloads). The High-Throughput
builder is described in High-Throughput Simulator.
Run HTS MD
Use the HTS MD workflow with a completed High-Throughput builder project at
step 3. create_project() detects that reference type and prepares an
HTS MD Simulator submission.
The backend creates one task for every selected MD-engine and ligand combination. Inspect the reference before submission so that the request uses only engines, ligands, and ligand force fields available in that project:
sim = molcube.create_simulator_project()
assert sim.create_project(
title="hts-md-run",
ref_id="completed-hts-builder-project-id",
workspace="team",
)
ligand_entries = sim.get_hts_ligands()
available_force_fields = sim.list_available_ligand_force_fields()
assert sim.run_hts_md(
simulator_time=10,
md_engines=["openmm"],
ligands=[ligand_entries[0]["name"]],
ligand_force_fields=available_force_fields[:1],
)
The generated simulator project ID is stored in sim.projectId.
run_hts_md() uses the title, reference project ID, and workspace previously
set by create_project(); they are not submission arguments.
run_hts_md() arguments
md_engines(Sequence[str]): Required, non-empty engine list. The current simulator supports"openmm"and"gromacs"and rejects duplicate values or engines unavailable in the High-Throughput reference.simulator_time(int): Simulation time in nanoseconds. It must be between1and100. Values from1through10are unchanged; larger values are rounded to the nearest multiple of10.ligands(Sequence[str] | None): Optional ligand names returned byget_hts_ligands(). Duplicate, empty, and unavailable names are rejected. When omitted, theligandsfield is not sent.ligand_force_fields(Sequence[str] | None): Optional force-field names returned bylist_available_ligand_force_fields(). Duplicate, empty, and unavailable values are rejected. When omitted, theligandForceFieldsfield is not sent.
Return:
bool:
Truewhen the HTS MD Simulator project is submitted successfully.
The generic dispatcher accepts the same HTS options:
assert sim.run_simulation(
simulator_time=10,
md_engines=["gromacs"],
ligands=["ligand-a"],
ligand_force_fields=["openff"],
)
Inspect the HTS reference
The following read-only helpers use the prepared High-Throughput reference:
get_hts_ligands(): Returnslist[HTSLigandEntry]. Each entry containsname,forceFieldType,isFast, andfilePath.list_available_ligand_force_fields(): Returns the unique, non-emptyforceFieldTypevalues in reference order.get_hts_system_pdb(ligand_name): Returns one ligand’s system PDB asstr.ligand_namemust be non-empty.
Inspect a submitted HTS run
simulation_status() returns HTS status entries in its details field.
get_hts_sets() returns the same per-engine/per-ligand shape directly and
accepts optional md_engine, ligand_force_field, and ligand_name
filters. Blank filters are omitted.
Each entry has the following structure:
{
"info": {
"mdEngine": "openmm",
"ligand": "ligand-a",
"ligandForceField": "openff",
"index": "0",
},
"data": {
"status": "Running",
"createdTime": "...",
"startedTime": "...",
"stoppedTime": None,
"runningTime": 120,
"taskIds": ["task-id"],
},
}
For HTS projects, format_status_summary() renders the generic aggregate
progress followed by an HTS sets section. Each set is matched to its
taskIds so the min -> eq -> prod progress is also reported separately
for every engine/ligand entry.
After submission, simulation_status(), status(),
stop_simulation(), and the download methods operate on sim.projectId.