Skip to main content

Cache to dope the result retrieval from reaction rules, to be used with RetroPath 3.0

Project description

Database based cache to dope data retrieval for RetroPath 3

Here it is a two components cache system to dope the result retrieval from reaction rules results, to be used with RetroPath 3.0. The 2 components are:

  • A python module to be imported in RetroPath 3.0
  • A Mongo database, which should be started independently (see "How to run the database in the background")

Notice : at reading time, some of following information might be deprecated!

Needed components

Setting up python environment

Basically: one needs a conda environment with following packages:

  • rdkit
  • pymongo
  • pytest
conda create --name myenv python=3.6
source activate myenv
conda install --channel rdkit rdkit=2018.09.1.0
conda install --channel conda-forge pytest
conda install pytest
conda install pymongo
conda install pyyaml

Install as a packages

pip install -e .

How to run the database service in the background

docker-compose -f service/run/mongo.yml up  # Or 'up -d' to start in the background

Q&A

  • Where are stored the db files ? In a named docker data volume, see service/run/*yml file.

How to cite

Please cite: to be completed

License

See LICENSE file

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rp3-cache, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size rp3_cache-1.2.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View
Filename, size rp3_cache-1.2-py3-none-any.whl (6.5 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page