Skip to main content

DeepMol Case Studies

Project description

Using DeepMol models

Models available so far:

Model Name How to Call Prediction Type
BBB (Blood-Brain Barrier) BBB Penetrates BBB (1) or does not penetrate BBB (0)
AMES Mutagenicity AMES Mutagenic (1) or not mutagenic (0)
Human plasma protein binding rate (PPBR) PPBR Rate of PPBR expressed in percentage
Volume of Distribution (VD) at steady state VDss Volume of Distribution expressed in liters per kilogram (L/kg)
Caco-2 (Cell Effective Permeability) Caco2 Cell Effective Permeability (cm/s)
HIA (Human Intestinal Absorption) HIA Absorbed (1) or not absorbed (0)
Bioavailability Bioavailability Bioavailable (1) or not bioavailable (0)
Lipophilicity Lipophilicity Lipophilicity log-ratio
Solubility Solubility Solubility (log mol/L)
CYP P450 2C9 Inhibition CYP2C9Inhibition Inhibit (1) or does not inhibit (0)
CYP P450 3A4 Inhibition CYP3A4Inhibition Inhibit (1) or does not inhibit (0)
CYP2C9 Substrate CYP2C9Substrate Metabolized (1) or does not metabolize (0)
CYP2D6 Substrate CYP2D6Substrate Metabolized (1) or does not metabolize (0)
CYP3A4 Substrate CYP3A4Substrate Metabolized (1) or does not metabolize (0)
Hepatocyte Clearance HepatocyteClearance Drug hepatocyte clearance (uL.min-1.(10^6 cells)-1)
NPClassifier NPClassifier Pathway, Superclass, Class
Plants secondary metabolite precursors predictor PlantsSMPrecursorPredictor Precursor 1; Precursor 2
Microsome Clearance MicrosomeClearance Drug microsome clearance (mL.min-1.g-1)
LD50 LD50 LD50 (log(1/(mol/kg)))
hERG Blockers hERGBlockers hERG blocker (1) or not blocker (0)

How to use:

You can use them either individually or mixed together.

You can call one model individually, pass a CSV file and get the results in one dataframe:

from deepmol_models import BBB
results = BBB().predict_from_csv("dataset.csv", smiles_field="Drug", id_field="Drug_ID", output_file="predictions.csv")
results
ID SMILES BBB Penetration
0 OCC(S)CS 1.0
1 CCN+(C)c1cccc(O)c1 0.0
2 Nc1ncnc2c1ncn2[C@@H]1OC@HC@@H[C@@H]1O 1.0
3 CC(=O)OCC1=C(C(=O)O)N2C(=O)C@@H[... 0.0
4 CC1(C)S[C@@H]2[C@H](NC(=O)C@Hc3ccsc3... 0.0

Or pass SMILES strings and get the results in one dataframe:

from deepmol_models import BBB
results = BBB().predict_from_csv("dataset.csv", smiles_field="Drug", id_field="Drug_ID", output_file="predictions.csv")
results
ID SMILES BBB Penetration
1 CCN+(C)c1cccc(O)c1 0.0
2 Nc1ncnc2c1ncn2[C@@H]1OC@HC@@H[C@@H]1O 1.0

Complementarily, you can run several models:

from deepmol_models import BBB, PPBR, VDss, Caco2, HIA, Bioavailability, \
    Lipophilicity, Solubility, PlantsSMPrecursorPredictor, NPClassifier, MixedPredictor

# results = MixedPredictor([BBB(), Caco2(), CYP2D6Inhibition(), NPClassifier()]).predict_from_csv("test_molecules.csv", "Drug", "Drug_ID", output_file="predictions.csv")
results = MixedPredictor([BBB(), PPBR(), VDss(), Caco2(), 
                          HIA(), Bioavailability(), Lipophilicity(),
                          Solubility(), PlantsSMPrecursorPredictor(), NPClassifier()]).predict_from_csv("test_molecules.csv", smiles_field="Drug", id_field="Drug_ID", output_file="predictions.csv")
results
ID SMILES BBB Penetration Human PPBR VDss Cell Effective Permeability Human Intestinal Absorption Bioavailability Lipophilicity Solubility Precursors Pathways Superclass Class
0 OCC(S)CS 1.0 64.832665 5.803529 -4.725497 0.0 0.0 0.290602 0.117866 Fatty acyls Fatty alcohols Fatty alcohols
1 CCN+(C)c1cccc(O)c1 0.0 32.882912 2.891243 -4.989814 0.0 0.0 0.271549 -0.606772 L-Lysine Alkaloids Tyrosine alkaloids Phenylethylamines
2 Nc1ncnc2c1ncn2[C@@H]1OC@HC@@H[C@@H]1O 1.0 41.540812 2.722000 -6.059630 1.0 0.0 0.250526 -1.701435 Dimethylallyl diphosphate Carbohydrates Nucleosides Purine nucleosides
3 CC(=O)OCC1=C(C(=O)O)N2C(=O)C@@H[...] 0.0 52.921825 0.329071 -5.473660 0.0 0.0 0.267842 -2.512460 Geranylgeranyl diphosphate; L-Alanine Amino acids and Peptides β-lactams Cephalosporins

Visualization

You can use our API to access the bokeh representation of the chemical space and check some features of the molecules:

from deepmol_models import bokeh_plot
bokeh_plot(results, "Solubility", additional_labels=["Pathways", "Superclass", "Class"])

bokeh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deepmol_models-0.0.5.tar.gz (30.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deepmol_models-0.0.5-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

Details for the file deepmol_models-0.0.5.tar.gz.

File metadata

  • Download URL: deepmol_models-0.0.5.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for deepmol_models-0.0.5.tar.gz
Algorithm Hash digest
SHA256 e2e0137c3c018ef9bc10360a16f631eeea0ae2b2165cdcc48f32b379e42bd294
MD5 aa0a5739ffcf0d7475b3fb6c721ba608
BLAKE2b-256 de9993de4992845f75117ac0a72703f6aec031ed7ce52ee3e776df02eaf1f777

See more details on using hashes here.

File details

Details for the file deepmol_models-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: deepmol_models-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 31.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for deepmol_models-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 37885f8592bedcc55a156222d404b7d2e55c74462dd1829891fb9929ca973aef
MD5 104e66dd7946453d4e0f161fa27fa459
BLAKE2b-256 5c14fced0262a5416e2849223ddf1babbdf9b77c01291b0ea690d05b8c926cbf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page