Optimization of Chemical Properties
We’ll cover a simple example of how to optimize a molecule for a specific property. In this case, we’ll optimize forMolLogP
(aka cLogP).
Example: Optimizing LogP
LogP (partition coefficient) measures a molecule’s hydrophobicity and is a key property in drug design.More about MolLogP
Step-by-Step Guide
Here’s a step-by-step guide on how to use the Ascent Bio API to increase the logP of a molecule:Step 1: Define Your Target Molecule
Begin by identifying the molecule you want to optimize using its SMILES representation. For example, if your starting molecule is represented byCC(=O)OC1=CC=CC=C1C(=O)O
, this will be the value you provide in the smiles
field.
This SMILES string tells the API which molecular structure to take as the starting point for the optimization.
Step 2: Set the Target Property for Optimization
Next, specify the property you want to modify and the desired direction of change. In this case, we aim to increase the molecule’sMolLogP
, a property that indicates the molecule’s hydrophobicity.
To do this, set target_props
to ["MolLogP"]
in the request body.
The target_changes
field allows you to indicate whether you want to increase or decrease this property; here, set target_changes
: [1]
to indicate an increase.
This signals to the API that the molecule should be optimized to have a higher logP value.