AutoSOM: A pipeline to automatically annotate the Sites of Metabolism (SOMs) of substrate-metabolite pairs.
Installation
- Create a conda environment with the required python version:
conda create --name autosom-env python=3.11
- Activate the environment:
conda activate autosom-env
- 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.
Metadata
Release files for autosom 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| autosom-1.1.2.tar.gz | 22.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| autosom-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.2 kB
Release files / autosom-1.1.2.tar.gz
| Download URL | autosom-1.1.2.tar.gz |
|---|---|
| Size | 22.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
504d90a4fa3bb09b63427105aa9a5c7cd2138b569d808cfaa3b8e81a29260302
|
|
BLAKE2b-256 checksum How to use checksums |
6a51b8211c05c63162790c1b14c71968bd4287d162a7e05b8a44eab3ba7c3397
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.0
|
Release files / autosom-1.1.2-py3-none-any.whl
| Download URL | autosom-1.1.2-py3-none-any.whl |
|---|---|
| Size | 20.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ee493d7b58815ebf6de414581403bf0e5450ad411631a59bc104972c815406e
|
|
BLAKE2b-256 checksum How to use checksums |
ebf0ca4d7437a6a3803b461613a6a3f31e53769dc2297c621bca2660f64cfb9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.0
|