reinvent_sampling
Generate molecules from a REINVENT4 prior model for de novo design, scaffold decoration, fragment linking, or analogue generation.
Instructions
Generate molecules from a REINVENT4 prior model.
If dry_run=True: preview the TOML config without running. If dry_run=False: runs synchronously (sampling is fast) and returns results immediately.
For libinvent/linkinvent/mol2mol, smiles_file is required.
Generator guide:
reinvent: de novo generation, no input SMILES needed
libinvent: scaffold decoration, provide scaffold SMILES with [*:0] attachment points
linkinvent: fragment linking, provide two warhead SMILES separated by |
mol2mol: analogue generation, provide reference molecule SMILES
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model_file": "<model_file>"
},
"name": "reinvent_sampling"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| dry_run | No | ||
| workdir | No | ||
| generator | No | reinvent | |
| model_file | Yes | ||
| num_smiles | No | ||
| output_file | No | ||
| smiles_file | No | ||
| temperature | No | ||
| sample_strategy | No | ||
| randomize_smiles | No | ||
| unique_molecules | No |