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.
Metadata
Release files for medchemfilters 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| medchemfilters-0.0.1.tar.gz | 8.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| medchemfilters-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.7 kB
Release files / medchemfilters-0.0.1.tar.gz
| Download URL | medchemfilters-0.0.1.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef812636570a17c45675231e961e088a2bdd841282ffd1b0a9fa554c2d5984bf
|
|
BLAKE2b-256 checksum How to use checksums |
e752ae4abac535728dc891f66616673e05e72bb3fc10efdaf3349c3da9bd4ad3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.0
|
Release files / medchemfilters-0.0.1-py3-none-any.whl
| Download URL | medchemfilters-0.0.1-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13b913ceaf41828cd74e1a063538c5adf8b57db0933891336e4a7fdf486c8ebf
|
|
BLAKE2b-256 checksum How to use checksums |
0ec67a205a91b790172a8f87b10b6fe4b87f8dadffca0a9c42fccfbb5c67dab2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.0
|