Utility for reaction modeling using graph grammar
Project description
medchemfilters
Overview
medchemfilters is a Python-based utility designed to streamline virtual screening in drug discovery. It features MCFilter, a comprehensive module for calculating molecular properties and filtering compounds according to well-established pharmaceutical guidelines such as Ro5, Pfizer, and GSK rules.
Installation
To install and set up medchemfilters, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/medchemfilters.git cd medchemfilters
- Install required Python packages:
pip install -r requirements.txt
Usage
In a Jupyter Notebook
For interactive use, such as in a Jupyter notebook, follow this example to utilize the MCFilter:
from medchemfilters.ADMET.filters import MCFilter
# Initialize MCFilter with default settings
filter = MCFilter()
# Calculate molecular descriptors for a SMILES string
smiles = "CCO"
results = filter.calculate_des(smiles)
print(results)
Command-Line Interface
MCFilter can also be executed from the command line to process either individual SMILES strings or batches from a CSV file:
-
Processing a Single SMILES String:
python main.py "CCO"
-
Processing SMILES from a CSV File:
python main.py path/to/input.csv --smiles_column column_name --output path/to/output.csv
Command-Line Options
input: A single SMILES string or the path to a CSV file containing SMILES strings.-c, --smiles_column: Specifies the column name in the CSV that contains SMILES strings (default: smiles).-o, --output: Specifies the output file path for processed results. If not provided, results will be displayed in the terminal.-j, --jobs: The number of parallel jobs for processing (default: 1).-v, --verbose: Sets the verbosity level of the output (default: 0, silent).
Requirements
Python 3.9 or higher is required. All dependencies are listed in the requirements.txt file.
License
medchemfilters is open-source software licensed under the MIT License. See the LICENSE file for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file medchemfilters-0.0.1.tar.gz.
File metadata
- Download URL: medchemfilters-0.0.1.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef812636570a17c45675231e961e088a2bdd841282ffd1b0a9fa554c2d5984bf
|
|
| MD5 |
8452fbf7e8cea06fe0516d9233760074
|
|
| BLAKE2b-256 |
e752ae4abac535728dc891f66616673e05e72bb3fc10efdaf3349c3da9bd4ad3
|
File details
Details for the file medchemfilters-0.0.1-py3-none-any.whl.
File metadata
- Download URL: medchemfilters-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13b913ceaf41828cd74e1a063538c5adf8b57db0933891336e4a7fdf486c8ebf
|
|
| MD5 |
550df77c09679f3e0411f39841a98e41
|
|
| BLAKE2b-256 |
0ec67a205a91b790172a8f87b10b6fe4b87f8dadffca0a9c42fccfbb5c67dab2
|