Start a small molecule library screen
client.SmallMolecule.LibraryScreen.Start(ctx, body) (*SmallMoleculeLibraryScreenStartResponse, error)
POST/compute/v1/small-molecule/library-screen
Screen a set of small molecule candidates against a protein target
Parameters
Returns
Start a small molecule library screen
package main
import (
"context"
"fmt"
"github.com/boltz-bio/boltz-api-go"
"github.com/boltz-bio/boltz-api-go/option"
)
func main() {
client := boltzapi.NewClient(
option.WithAPIKey("My API Key"),
)
response, err := client.SmallMolecule.LibraryScreen.Start(context.TODO(), boltzapi.SmallMoleculeLibraryScreenStartParams{
Molecules: []boltzapi.SmallMoleculeLibraryScreenStartParamsMolecule{boltzapi.SmallMoleculeLibraryScreenStartParamsMolecule{
Smiles: "smiles",
}},
Target: boltzapi.SmallMoleculeLibraryScreenStartParamsTarget{
Entities: []boltzapi.SmallMoleculeLibraryScreenStartParamsTargetEntity{boltzapi.SmallMoleculeLibraryScreenStartParamsTargetEntity{
ChainIDs: []string{"string"},
Value: "value",
}},
},
})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.ID)
}
{
"id": "id",
"completed_at": "2019-12-27T18:11:19.117Z",
"created_at": "2019-12-27T18:11:19.117Z",
"data_deleted_at": "2019-12-27T18:11:19.117Z",
"engine": "boltz-sm-screen",
"engine_version": "engine_version",
"error": {
"code": "code",
"message": "message",
"details": {}
},
"input": {
"molecules": {
"url": "https://example.com",
"url_expires_at": "2019-12-27T18:11:19.117Z"
},
"target": {
"entities": [
{
"chain_ids": [
"string"
],
"type": "protein",
"value": "value",
"cyclic": true,
"modifications": [
{
"residue_index": 0,
"type": "ccd",
"value": "value"
}
]
}
],
"bonds": [
{
"atom1": {
"atom_name": "atom_name",
"chain_id": "chain_id",
"type": "ligand_atom"
},
"atom2": {
"atom_name": "atom_name",
"chain_id": "chain_id",
"type": "ligand_atom"
}
}
],
"constraints": [
{
"binder_chain_id": "binder_chain_id",
"contact_residues": {
"A": [
42,
43,
44,
67,
68,
69
]
},
"max_distance_angstrom": 0,
"type": "pocket",
"force": true
}
],
"pocket_residues": {
"A": [
42,
43,
44,
67,
68,
69
]
},
"reference_ligands": [
"string"
]
},
"molecule_filters": {
"boltz_smarts_catalog_filter_level": "recommended",
"custom_filters": [
{
"max_hba": 0,
"max_hbd": 0,
"max_logp": 0,
"max_mw": 0,
"type": "lipinski_filter",
"allow_single_violation": true
}
]
}
},
"livemode": true,
"progress": {
"num_molecules_failed": 0,
"num_molecules_screened": 0,
"total_molecules_to_screen": 0,
"latest_result_id": "latest_result_id",
"rejection_summary": {
"filtered_count": 0,
"invalid_count": 0
}
},
"started_at": "2019-12-27T18:11:19.117Z",
"status": "pending",
"stopped_at": "2019-12-27T18:11:19.117Z",
"workspace_id": "workspace_id",
"idempotency_key": "idempotency_key"
}Returns Examples
{
"id": "id",
"completed_at": "2019-12-27T18:11:19.117Z",
"created_at": "2019-12-27T18:11:19.117Z",
"data_deleted_at": "2019-12-27T18:11:19.117Z",
"engine": "boltz-sm-screen",
"engine_version": "engine_version",
"error": {
"code": "code",
"message": "message",
"details": {}
},
"input": {
"molecules": {
"url": "https://example.com",
"url_expires_at": "2019-12-27T18:11:19.117Z"
},
"target": {
"entities": [
{
"chain_ids": [
"string"
],
"type": "protein",
"value": "value",
"cyclic": true,
"modifications": [
{
"residue_index": 0,
"type": "ccd",
"value": "value"
}
]
}
],
"bonds": [
{
"atom1": {
"atom_name": "atom_name",
"chain_id": "chain_id",
"type": "ligand_atom"
},
"atom2": {
"atom_name": "atom_name",
"chain_id": "chain_id",
"type": "ligand_atom"
}
}
],
"constraints": [
{
"binder_chain_id": "binder_chain_id",
"contact_residues": {
"A": [
42,
43,
44,
67,
68,
69
]
},
"max_distance_angstrom": 0,
"type": "pocket",
"force": true
}
],
"pocket_residues": {
"A": [
42,
43,
44,
67,
68,
69
]
},
"reference_ligands": [
"string"
]
},
"molecule_filters": {
"boltz_smarts_catalog_filter_level": "recommended",
"custom_filters": [
{
"max_hba": 0,
"max_hbd": 0,
"max_logp": 0,
"max_mw": 0,
"type": "lipinski_filter",
"allow_single_violation": true
}
]
}
},
"livemode": true,
"progress": {
"num_molecules_failed": 0,
"num_molecules_screened": 0,
"total_molecules_to_screen": 0,
"latest_result_id": "latest_result_id",
"rejection_summary": {
"filtered_count": 0,
"invalid_count": 0
}
},
"started_at": "2019-12-27T18:11:19.117Z",
"status": "pending",
"stopped_at": "2019-12-27T18:11:19.117Z",
"workspace_id": "workspace_id",
"idempotency_key": "idempotency_key"
}