Skip to main content

Generative model based on forward synthesis rules

Project description

synspace

This is early-stage code that is in progress. It is in flux

This package generates a local chemical space around a given molecule using retro and forward synthesis rules. The reactions used are the 50 robust medchem reactions proposed by Hartenfeller et al.. The retrosynthesis is done by reversing the 50 robust reactions. The purchasable building blocks come from the Purchasable Mcule supplier building block catalogs. All of these things can be customized though.

chemical space showing a molecule space that is predicted not to cross the blood brain barrier along with three synthetically feasible modifications

Installation

pip install synspace

Usage

Generate local chemical space given a SMILES string

mols, props = synspace.chemical_space('CCC=O')

props contains information like the synthesis route for the molecules. Note that all synthesis routes are relative to the given molecule (it is assumed to be synthetically feasible).

Citation

Cite the ChemCrow paper for now. Haven't really written up much on this package.

    @article{bran2023chemcrow,
  title={Chemcrow: Augmenting large-language models with chemistry tools},
  author={Bran, Andres M and Cox, Sam and Schilter, Oliver and Baldassari, Carlo and White, Andrew D and Schwaller, Philippe},
  journal={arXiv preprint arXiv:2304.05376},
  year={2023}
}

Also, this idea is similar to [Dolfus et al.](https://pubs.acs.org/doi/10.1021/acs.jcim.2c00246)

## NOTICE

This product includes software developed by Pat Walters (MIT Licensed)
https://github.com/PatWalters/useful_rdkit_utils
Copyright (c) 2022 Pat Walters

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

synspace-1.0.0.tar.gz (2.7 MB view details)

Uploaded Source

Built Distribution

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

synspace-1.0.0-py3-none-any.whl (2.7 MB view details)

Uploaded Python 3

File details

Details for the file synspace-1.0.0.tar.gz.

File metadata

  • Download URL: synspace-1.0.0.tar.gz
  • Upload date:
  • Size: 2.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for synspace-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dd0d71a7d07ea3ca33cad5034a275ee09ddc7337f3c08d6601da7b3de8abf92f
MD5 7428f12466d48e0bf775408f26861cd0
BLAKE2b-256 39af0281bdea1885b60115b774bc6e3329871549d7c9057ec35b7347b6412903

See more details on using hashes here.

File details

Details for the file synspace-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: synspace-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for synspace-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1bc1da845e08e4f0690801a208362f2e64df63420d026d811eee9ea40a36d6fb
MD5 0ea96842fb3ad5904faaf60dcfbb2d9a
BLAKE2b-256 e8bf59db2282ab184019bfed6e92d060ed815a90636106ee24e9bd26ee842911

See more details on using hashes here.

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