Skip to main content

Utility for reaction modeling using graph grammar

Project description

VSUtils

Introduction

VSUtils is a Python-based utility designed for facilitating virtual screening processes in the realm of drug discovery. This tool incorporates MCFilter, a powerful module that offers extensive molecular property calculations and filtering capabilities based on established pharmaceutical rules such as Ro5, Pfizer, and GSK, among others.

Installation

To set up VSUtils for use, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/VSUtils.git
    cd VSUtils
    
  2. 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 vsutils.ADMET.filters import MCFilter

# Initialize the MCFilter with default settings
filter = MCFilter()

# Calculate descriptors for a single 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: Input SMILES string or path to a CSV file containing SMILES strings.
  • -c, --smiles_column: Specifies the column name in the CSV that contains the SMILES strings. Default is 'smiles'.
  • -o, --output: Specifies the path for the output CSV file. If not provided, results will be printed to the console.
  • -j, --jobs: Number of parallel jobs to run for processing. Default is 1.
  • -v, --verbose: Verbosity level of output. Default is 0 (silent).

Requirements

This utility requires Python 3.9 or later. All dependencies are listed in requirements.txt.

License

VSUtils is open-source software licensed under the MIT License - see the License.

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

vsutils-0.0.1.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

vsutils-0.0.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file vsutils-0.0.1.tar.gz.

File metadata

  • Download URL: vsutils-0.0.1.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for vsutils-0.0.1.tar.gz
Algorithm Hash digest
SHA256 df7f28e21a001db7f640517e435bc89f63a8116736956a077b274e5cd5669d8f
MD5 7e67fc20c1f1db47228052264c323ee4
BLAKE2b-256 2fbd4515a3ae5c7f77ed4e5079f9314aa6e9898572d50be2e6c61baf5a1a9e38

See more details on using hashes here.

Provenance

The following attestation bundles were made for vsutils-0.0.1.tar.gz:

Publisher: publish-package.yml on Vivi-tran/VSUtils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vsutils-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: vsutils-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for vsutils-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3cbadd6770fae635e492c6776f96e68d51acfd32560f2271ee25a39e95871498
MD5 ecea8205bf9ae82d7d48453a0610c5e2
BLAKE2b-256 55e358a0da145134dc32b297cc2c43b142c505ffaf25908165892ba9bc5e46eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for vsutils-0.0.1-py3-none-any.whl:

Publisher: publish-package.yml on Vivi-tran/VSUtils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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