Skip to main content

Cocktail Shaker: Drug Expansion and Enumeration for Peptides!

Build License: MPL 2.0 Coverage Python Gitter Zenodo Documentation Status status PEP8

cocktail-shaker is a high-performance drug enumeration and expansion library. cocktail-shaker leverages the computational power of RDKit to create and enumerate large volumes of drug compounds.

Announcements

  • Release! Version 1.0.0-beta, August 26, 2019
  • RDkit UGM 2019: talk at September 25th at the University of Hamburg, Germany.

Using Cocktail Shaker

asciicast

cocktail-shaker is a young library under heavy development at this time. It targets two categories of users:

  1. Users familiar with RDKit, or those willing to learn RDKit, who want to create fast sets of data for high throughput screening or machine learning.
  2. Open-Science Scientists without any knowledge of RDKit who are seeking a a high-level wrapper to create chemical files for their software.

If you're in the first category, then you can already start using RDKit. cocktail-shaker offers a Pythonic, easy-to-use library and you can start channeling molecules in the expansion library. Instead of validating the sanity of the data, cocktail-shaker takes care of that for you. With each molecule being generated it will head into a 1D and/or 2D validation check (3D not supported yet).

If you're in the second category, we're starting to build experimental high-level python code to take care a lot of the underpinnings of RDKit.

Installation

Cocktail-shaker runs on Python 3.5+ and within a conda environment due to the RDKit dependency. A conda installation is coming soon (as soon as I figure it out).

For the time being, here is the following:

Cocktail shaker is distributed through PyPi and can be installed via:

your_env/bin/python -m pip install cocktail-shaker

Development Installation

As cocktail-shaker is under heavy development at this time, we highly recommend developers to use the development version on Github (master branch). You need to clone the repository and install cocktail-shaker with

python setup.py install.

As a one-liner, assuming git is installed:

git clone https://github.com/Sulstice/Cocktail-Shaker.git

This will automatically install the latest version of cocktail-shaker.

Structure of cocktail-shaker

Currently, the main subpackages are:

  • cocktail_shaker: Contains a lot of the high level functionality; request handling, file parsing/writing, enumeration, and expansion.
  • docs: An access point for the readthedocs implementation.
  • cocktail_shaker/datasources: This is where the system stores its data on predfined functional groups and/or shapes (coming soon).
  • tests: Tests that are for the file handling, requests, and testing molecule pattern recognition.

The API of all public interfaces are subject to change in the future, although datasources are relatively stable at this point.

Genesis

cocktail-shaker began when one developer/scientist wanted an open source drug library.

Now cocktail-shaker looks to build on the expertise of these developers/scientists and the broader open-science community to build an effective drug library.


External links

Metadata

Release files for cocktail-shaker 1.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cocktail-shaker 1.1.8
File Size Uploaded Provenance Actions
cocktail_shaker-1.1.8.tar.gz 16.1 kB Without provenance Details for cocktail_shaker-1.1.8.tar.gz

Release files / cocktail_shaker-1.1.8.tar.gz

Download URL cocktail_shaker-1.1.8.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4af271c20322f73f28f59365a90d3d09af2839c8a94cee45b597b41ff0738831
BLAKE2b-256 checksum
How to use checksums
f25269b6d7d971b5c0e280e40b9322a3824651a68d64b31fa695e672d5f88322
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.6

Security for cocktail-shaker 1.1.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page