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
Metadata
Release files for rp3-cache 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rp3_cache-1.2.tar.gz | 4.5 kB | Without provenance | Details for rp3_cache-1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rp3_cache-1.2-py3-none-any.whl | Python 3 | none | any | Details for rp3_cache-1.2-py3-none-any.whl |
Total release size: 11.0 kB
Release files / rp3_cache-1.2.tar.gz
| Download URL | rp3_cache-1.2.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c604945f66fb1687571472cbc6201303c131f3651c6e923d3a3c19266dde6c4
|
|
BLAKE2b-256 checksum How to use checksums |
69d6c630625fdb74526b73734896c3fbefe7b06421672dd4377f434dd5ff5d83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / rp3_cache-1.2-py3-none-any.whl
| Download URL | rp3_cache-1.2-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb6a7b5f216064d250f122c543cad669755703e05b5f0473ed8269c88af547a1
|
|
BLAKE2b-256 checksum How to use checksums |
562e4f774e4c4ad0fde48826eadcc6ed04d865cfdbdbf948ba6d208a56b277a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for rp3-cache 1.2
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.