Tools for quality controlling the BioModels database
Project description
BioModels-QC
Command-line application for quality controlling entries in the BioModels database and converting the primary files for entries in the database into additional formats such as BioPAX, MATLAB/Octave, and XPP.
The application can be installed locally or executed as a Docker image.
This application is intended to be used in conjuction with the best practices recommended here.
Local installation
Requirements
Python 3.9.0+
pip >= 19.3
-
Ubuntu: apt-get install octave
-
Ubuntu: apt-get install scilab
-
Ubuntu: apt-get install xppaut
After installing the packages above, the following must be added to your system path:
sbfConverter.sh (Linux/Mac OS) or sbfConverter.bat (Windows)
svglint
xppaut
Installation
Run the following command to install the package.
pip install biomodels-qc
Docker image
Run the following command to pull the Docker image
docker pull ghcr.io/biosimulations/biomodels_qc
Tutorial
Convert the files for an entry to additional formats
Run the following command to convert the files for an entry to additional formats such as BioPAX, MATLAB/Octave, and XPP.
ENTRY_DIR=/path/to/directory-for-entry biomodels-qc convert "$ENTRY_DIR"
Validate an entry
Run the following command to validate an entry of the BioModels database:
ENTRY_DIR=/path/to/directory-for-entry biomodels-qc validate "$ENTRY_DIR"
Using the Docker image
Run the following commands to use the BioModels-QC Docker image to execute the same conversion and validation operations.
Convert the files for an entry to additional formats
ENTRY_DIR=/path/to/directory-for-entry\ docker run \ --mount type=bind,source="$ENTRY_DIR",target=/biomodels-entry \ --interactive \ --tty \ --rm \ ghcr.io/biosimulations/biomodels_qc \ convert \ /biomodels-entry
Validate an entry
ENTRY_DIR=/path/to/directory-for-entry CONTAINER_TEMP_DIR=$(mktemp --directory) docker run \ --mount type=bind,source="$ENTRY_DIR",target=/biomodels-entry \ --volume /var/run/docker.sock:/var/run/docker.sock \ --mount type=bind,source="$CONTAINER_TEMP_DIR",target=/tmp \ --env TEMP_DIR_HOST_PATH=$CONTAINER_TEMP_DIR \ --interactive \ --tty \ --rm \ ghcr.io/biosimulations/biomodels_qc \ validate \ /biomodels-entry
Documentation
Documentation for the command-line program is available inline.
Run the following command to obtain the help.
biomodels-qc --help
Using the Docker image
Run the following command to use the BioModels-QC Docker image to obtain the help.
docker run \ --interactive \ --tty \ --rm \ ghcr.io/biosimulations/biomodels_qc \ --help
API documentation
API documentation is available here.
License
This package is released under the MIT license.
Development team
This package was developed by the Karr Lab at the Icahn School of Medicine at Mount Sinai and the Center for Reproducible Biomedical Modeling.
Contributing to BioModels-QC
We enthusiastically welcome contributions! Please see the guide to contributing and the developer’s code of conduct.
Acknowledgements
This work was supported by National Institutes of Health award P41EB023912.
Questions and comments
Please contact the BioSimulations Team with any questions or comments.
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
File details
Details for the file biomodels_qc-0.0.1.tar.gz
.
File metadata
- Download URL: biomodels_qc-0.0.1.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ff3f0c977413de64f0f8fe3b0049c10306b5ed209a6f1bc2f3887190a9a5fd1 |
|
MD5 | da25213123d7e251f33c1840fc611d2c |
|
BLAKE2b-256 | da9542a455d115929e50c83a801aafd4e5b4f31170dfc34022d1d9b1606e8d09 |
File details
Details for the file biomodels_qc-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: biomodels_qc-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 575bcefd5f7ed83d3b3cc4cbf8101fad629a45419df52f24d89b944c8e5277bc |
|
MD5 | 2de8acbc1ca83a2b45712d730857a984 |
|
BLAKE2b-256 | cd923bf9936951f65206f820cfde3a2ce6a0caea806bc2220e5677b90f01db9b |