Step-by-step tutorial for working with Protein Digital Twins
Welcome to the Protein Digital Twin platform! This guide will walk you through everything you need to know to create, manage, and extract insights from your protein digital twins.
Install the Python client library:
Or use the REST API directly:
from protein_digital_twin import DigitalTwin
# Create a digital twin
twin = DigitalTwin.create(
protein_name="Lysozyme",
pdb_id="1LYZ"
)
# Run a simulation
result = twin.simulate(
simulation_type="MD",
duration_ns=100
)
# Get AI predictions
predictions = twin.predict_mutations(
positions=[35, 52, 101]
)
print(f"Twin created: {twin.id}")
print(f"Simulation RMSD: {result.rmsd}")
print(f"Best mutation: {predictions.top_variant}")