Skip to main content
License: Mol-1 is open source and free for academic and commercial use under an Apache-2.0 license. Please refer to the license for full terms.

Proto is not affiliated with Molence Bio. This toolkit is open source and builds on the implementation produced by this organization. Product names, logos, and trademarks are the property of their respective owners.


molence/Mol-1
molence/Mol-1
View repo
@miscmolence2026mol1
Copy citation
ProtoProtoevo-design/proto-tools
View source
Open Notebook
Open notebook
proto-tools on GitHub
Run locally with proto-tools

Background

Mol-1 (Molence Bio, 2026) jointly predicts the coordinates of interacting molecular components. Its implementation derives substantially from Protenix, as documented in the upstream third-party notices. The model refines representations of the input through recycling, then samples atomic coordinates with a diffusion process. Several candidate structures can be generated from the same complex and ranked by the model’s confidence. Protein multiple-sequence alignments (MSAs) add evolutionary information to the input. The returned confidence measures describe complementary aspects of a prediction: pLDDT estimates local reliability, pTM summarizes overall structural confidence, ipTM summarizes interface confidence, and global predicted distance error (gPDE) measures uncertainty in relative placement. Use these measures to prioritize structural hypotheses for downstream checks and experiments.

Learning Resources

Tools

Mol-1 Structure Prediction (mol1-prediction)

run_mol1_prediction accepts Mol1Input and an optional Mol1Config, and returns Mol1Output containing the highest-ranked Structure for each input complex. Each structure carries Mol1Metrics.

API Reference

Source
List[Complex]
required
Protein, DNA, RNA and ligand assemblies to fold.
array
Optional alignments, one bundle per complex.
Source
string
default:"mol-1-base"
Bundled mol-1-base or a custom checkpoint path.
integer
default:"5"
Diffusion samples per complex; only the best is returned.
integer
default:"200"
Diffusion denoising steps per sample.
integer
default:"20"
Recycling passes through the model trunk.
enum
default:"bf16"
Floating-point precision used during inference.Available options: bf16, fp32, fp16
integer
default:"1024"
Inference chunk size; smaller values reduce memory.
integer
default:"1"
Samples denoised together.
integer
default:"0"
Verbosity level (0=quiet, 1=info, 2=debug, 3=raw subprocess stderr). True is coerced to 1 and False to 0.
string
default:"cuda"
Device to run the model on. Options include "cuda" (NVIDIA GPU), "cpu" (CPU execution), or specific GPU devices like "cuda:0". Structure prediction is computationally intensive and strongly benefits from GPU acceleration. Default: "cuda".
integer
default:"3600"
Maximum execution time in seconds, not counting time spent while a weights download keeps progressing. None waits indefinitely.
integer
Random seed. When set, tools run reproducibly up to small GPU float noise (see BaseToolOutput.approx_equal), and the seed participates in cache keys. When None, cacheable seed-sensitive tools skip cache until seeded.
boolean
default:"False"
Attach token-level PAE in angstroms.
boolean
default:"True"
Generate protein MSAs; supplied MSAs are always used.
Mmseqs2HomologySearchConfig
Optional MMseqs2 search settings.
boolean
default:"True"
Generate taxonomy-paired MSAs for protein heterocomplexes.
Source
string
Version of the toolkit that produced the output, from its versions.yaml. Suffixed +dirty when the source no longer matches that version. See notes/versioning.md.
List[Structure]
required
Predicted structures carrying Mol1Metrics.
Metrics (one set per structures item)

Applications

Predict protein assemblies, protein-nucleic-acid interactions, and ligand binding poses within mixed molecular complexes. The shared Complex and Chain inputs also support residue modifications, allowing modified polymers to be modeled alongside their interaction partners.

Usage Tips

  • num_samples=5 returns the best candidate. Five diffusion samples are generated per complex and the structure with the highest ranking_score is retained. Increasing this count explores more candidates and increases runtime; the other samples are discarded.
  • use_msa=True generates protein alignments. Protein MSAs are obtained with MMseqs2 and require access to the configured search service or database. Supplied msas take precedence, including when use_msa=False; supply one bundle per complex. Set use_msa=False without supplied alignments for single-sequence prediction.
  • num_cycles=20 and num_steps=200 control refinement. Cycles recycle the model trunk; steps control diffusion denoising. Both increase runtime when raised.
  • Set seed for reproducibility. The proto-tools default seed=None draws a fresh random seed; the upstream CLI defaults to 101. An explicit seed also enables upstream deterministic CUDA operations to repeat a run in the same execution environment, which can be slower than unseeded inference.
  • chunk_size=1024 controls memory use. Smaller chunks can reduce peak memory at additional runtime cost. sample_diffusion_chunk_size=1 denoises candidates sequentially; raising it processes more samples together and can require more memory. dtype="bf16" is the default CUDA precision.
  • Confidence scales differ. avg_plddt is on a 0–100 scale; chain_plddt is on a 0–1 scale. ptm and iptm are on a 0–1 scale, with iptm=0 for a single chain. gpde is in angstroms; has_clash flags severe inter-polymer clashes. The primary metric, ranking_score, includes a clash penalty.
  • include_pae_matrix=True adds token-level uncertainty. It attaches pae and avg_pae in angstroms for the selected structure. Ligands and modified residues can use multiple tokens, so this matrix need not have one row per residue; its storage grows quadratically with token count.

Toolkit Notes

These apply to every Mol-1 tool in this toolkit (mol1-prediction).
  • Managed environment and assets. First inference builds an isolated environment and downloads the bundled mol-1-base checkpoint plus common reference data, about 2.5 GB compressed in total. Downloads use the managed model cache (PROTO_MODEL_CACHE, or PROTO_MOL1_WEIGHTS_DIR for this toolkit); extracted files and the environment require additional disk space. Pass a custom checkpoint path through model_checkpoint when running on a host that has that file. Checkpoint contents are not hashed into the result-cache key, and persistent workers keep loaded weights. Use a new checkpoint path after changing weights.
  • NVIDIA GPUs are preferred. Memory depends strongly on token count and chunking. This wrapper accepts CPU and CUDA devices; CPU execution has not been validated here.
  • Prediction-only scope. This wrapper disables templates and RNA MSA search, so nucleic-acid chains use their supplied sequences. Upstream constraint-guided modeling and fine-tuning are outside this toolkit’s exposed API.
  • License scope. The repository declares Apache-2.0 for its code; no separate checkpoint license is stated in the upstream materials. Reference data retain their publishers’ terms, and third-party components retain their own notices. Consult the upstream third-party notices before redistributing those assets.
Example notebook: See the full working example for a copy-paste-ready walkthrough.

Infrastructure Guides

The following guides cover how to run tools efficiently and at scale.

Tool Persistence

Keep a tool’s model warm across calls instead of reloading it every invocation.

Device Management

How GPUs are allocated to tools and how to target specific devices.

Parallel Execution

Fan a batch of inputs out across multiple GPUs.