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
- docker : https://docs.docker.com/install/
- docker-compose : https://docs.docker.com/compose/install/
- conda : https://docs.conda.io/projects/conda/en/latest/user-guide/install/
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/*ymlfile.
How to cite
Please cite: to be completed
License
See LICENSE file
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c604945f66fb1687571472cbc6201303c131f3651c6e923d3a3c19266dde6c4
|
|
| MD5 |
7cc76243022c9daf0486cb8e8093b136
|
|
| BLAKE2b-256 |
69d6c630625fdb74526b73734896c3fbefe7b06421672dd4377f434dd5ff5d83
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb6a7b5f216064d250f122c543cad669755703e05b5f0473ed8269c88af547a1
|
|
| MD5 |
7b8ac188501086362ecac426df473ad5
|
|
| BLAKE2b-256 |
562e4f774e4c4ad0fde48826eadcc6ed04d865cfdbdbf948ba6d208a56b277a6
|