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.

Source Distribution

rp3_cache-1.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

rp3_cache-1.2-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file rp3_cache-1.2.tar.gz.

File metadata

  • Download URL: rp3_cache-1.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.9

File hashes

Hashes for rp3_cache-1.2.tar.gz
Algorithm Hash digest
SHA256 6c604945f66fb1687571472cbc6201303c131f3651c6e923d3a3c19266dde6c4
MD5 7cc76243022c9daf0486cb8e8093b136
BLAKE2b-256 69d6c630625fdb74526b73734896c3fbefe7b06421672dd4377f434dd5ff5d83

See more details on using hashes here.

File details

Details for the file rp3_cache-1.2-py3-none-any.whl.

File metadata

  • Download URL: rp3_cache-1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.9

File hashes

Hashes for rp3_cache-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fb6a7b5f216064d250f122c543cad669755703e05b5f0473ed8269c88af547a1
MD5 7b8ac188501086362ecac426df473ad5
BLAKE2b-256 562e4f774e4c4ad0fde48826eadcc6ed04d865cfdbdbf948ba6d208a56b277a6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page