Skip to main content

No project description provided

Project description

Introduction

Metabokiller offers a novel, machine learning-based approach that accurately recognizes carcinogens by quantitatively assessing their chemical composition as well as potential to induce proliferation, oxidative stress, genomic instability, alterations in epigenetic signatures, and activation of anti-apoptotic pathways, and therefore, obviates the absolute need for bonafide (non)carcinogens for training model. Concomitant with the carcinogenicity prediction, it also reveals the contribution of the aforementioned biochemical processes in carcinogenicity, thereby making the proposed approach highly interpretable.

The only strong dependency for this resource is RDKit which can be installed in a local Conda environment.

$ conda create -c conda-forge -n my-rdkit-env rdkit
$ conda activate my-rdkit-env

License Key

Metabokiller is free for academic institutions, however, for commercial utilization a commercial license key is required. Users (academic/commercial) may apply for a valid "License Key" here.

Major dependencies

  1. Signaturizer(v1.1.11)
  2. LIME

The installation procedure takes less than 5 minutes.

$ pip install signaturizer
$ pip install lime

Minor dependencies

  1. os
  2. scikit-learn v1.0.2
  3. pandas
  4. numpy
  5. tqdm
  6. joblib
  7. matplotlib
  8. io
  9. importlib

How to use Metabokiller?

Installation using pip

$ pip install Metabokiller

License activation (One time)

>>> from Metabokiller import mk_predictor as mk

Activate metabokiller license

>>> mk.license('license key') #Example: mk.license('KKKVFZ41111WF6RTQ')

To apply for the license click here

Examples

To get predictions for individual carcinogenic properties:

>>> from Metabokiller import mk_predictor as mk

Prepare a list of canonical SMILES (Openbabel generated) strings

>>> smiles = ['ClCC=C', 'C=CCOC(=O)CC(C)C'] 

Run predictions on any of the carcinogenic property of interest (e.g. epigenetic modifications)

>>> mk.Epigenetics(smiles)

Save the result as Pandas dataframe

result = mk.Epigenetics(smiles)
Metabokiller supported carcinogen-specific biochemical properties:
  1. Epigenetic Alterations
>>> mk.Epigenetics()
  1. Oxidative stress
>>> mk.Oxidative()
  1. Electrophilic Property
>>> mk.Electrophile()
  1. Genomic Instability
>>> mk.GInstability()
  1. Pro-proliferative response
>>> mk.Proliferation()
  1. Anti-apoptotic response
>>> mk.Apoptosis()
To get predictions for all available carcinogenic properties along with their explainability:
>>> from Metabokiller import EnsembleMK

Prepare a list of canonical SMILES (Openbabel generated) strings

>>> smiles = ['ClCC=C', 'C=CCOC(=O)CC(C)C'] 

Run predictions for all available carcinogenic properties

>>> EnsembleMK.predict(smiles)

Save the result as Pandas dataframe

>>> result = EnsembleMK.predict(smiles)
LIME
The biochemical property-focused Metabokiller, by the virtue of its construction, offers interpretability by implementing Local Interpretable Model-agnostic Explanations (LIME). An algorithm that provides interpretability with respect to carcinogen-specific biochemical properties for each SMILES provided.
To activate interpretability using LIME:
>>> result,explanation = EnsembleMK.predict(['ClCC=C', 'C=CCOC(=O)CC(C)C'],explainability=True)
# getting output from the explainability object
>>> from matplotlib.backends.backend_pdf import PdfPages
>>> from matplotlib import pyplot as plt

>>> pdf = PdfPages("Ensmble-Result.pdf")
>>> for fig in explanation:
...	fig.savefig(pdf, format='pdf')
>>> pdf.close()

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

Metabokiller-0.2.tar.gz (15.5 MB view details)

Uploaded Source

Built Distribution

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

Metabokiller-0.2-py3-none-any.whl (15.7 MB view details)

Uploaded Python 3

File details

Details for the file Metabokiller-0.2.tar.gz.

File metadata

  • Download URL: Metabokiller-0.2.tar.gz
  • Upload date:
  • Size: 15.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for Metabokiller-0.2.tar.gz
Algorithm Hash digest
SHA256 92e9beb9f4ef6a3d2c4d4c972a33da5fa019d89a88677eaa9907310b0abb23fc
MD5 52ba7ccd2f650e69b15fe5ece6f43869
BLAKE2b-256 361ea8dc68ff08528623918645ebb7b45a00531e62bfbb5e046ad6f00c67f2a0

See more details on using hashes here.

File details

Details for the file Metabokiller-0.2-py3-none-any.whl.

File metadata

  • Download URL: Metabokiller-0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for Metabokiller-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 47177f448e4ffba579fd2d5c240abd9f840514c73438cda7ba5d25d51efcd889
MD5 43ac952b4b6a71d66d08cd6cb29448e6
BLAKE2b-256 77fd8dd68d78d1d733fafe221ae76a23b771d6849e17de5b2c981216dd5102e5

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