Skip to main content

Annotates the Sites of Metabolism (SOMs) of substrate-metabolite pairs.

Project description

AutoSOM: A pipeline to automatically annotate the Sites of Metabolism (SOMs) of substrate-metabolite pairs.

Installation

  1. Create a conda environment with the required python version:
conda create --name autosom-env python=3.11
  1. Activate the environment:
conda activate autosom-env
  1. Install package:
pip install autosom

Usage

To annotate data, please run:

python scripts/run.py -i INPUT_PATH -o OUTPUT_PATH -t[OPTIONAL] -e[OPTIONAL]

The INPUT_PATH is the path to your input data. The file format must be .csv. It should contain a "substrate_smiles" and a "metabolite_smiles" column containing the SMILES string of the substrate and metabolite, respectively, and a "substrate_id" column and "metabolite_id" column containing numerical identifiers of the substrate and metabolite, respectively. Any number and naming of additional column(s) is allowed. The ordering of columns is not important.

The OUTPUT_PATH is the path where the output (annotated) data as well as the log file will be written.

The -t flag is optional and controls the number of seconds allowed for the annotator to complete. Default is 20 seconds.

The -e flag controls is optional and controls the strategy for annotating ester hydrolyses. Per default, AutoSOM annotates ester hydrolyses with the same logic as dealkylation reactions (on the alkyl C-atom). If the -e argument is set, the annotation is on the carbonyl C-atom, which is consistent with the MetaQSAR data set.

Visualization

You can use the visualize_results Jupyter Notebook to visualize your results. For this, you'll first need to install the ipykernel and ipywidgets packages with pip.

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

autosom-1.1.2.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

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

autosom-1.1.2-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file autosom-1.1.2.tar.gz.

File metadata

  • Download URL: autosom-1.1.2.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for autosom-1.1.2.tar.gz
Algorithm Hash digest
SHA256 504d90a4fa3bb09b63427105aa9a5c7cd2138b569d808cfaa3b8e81a29260302
MD5 0ddf06699f3497d38ffbb1237b016689
BLAKE2b-256 6a51b8211c05c63162790c1b14c71968bd4287d162a7e05b8a44eab3ba7c3397

See more details on using hashes here.

File details

Details for the file autosom-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: autosom-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for autosom-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2ee493d7b58815ebf6de414581403bf0e5450ad411631a59bc104972c815406e
MD5 7b7e1e079936b5a44dd5bf86462338cc
BLAKE2b-256 ebf0ca4d7437a6a3803b461613a6a3f31e53769dc2297c621bca2660f64cfb9d

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