Library used to execute workflows (in CWL) and benchmark them as part of the Workflomics ecosystem.
Project description
Workflomics Benchmarker
Library used to execute workflows (in CWL) and benchmark them as part of the Workflomics ecosystem.
Credits
The workflomics benchmarker
script was developed by Nauman Ahmed as part of the containers repository, but was since migrated to its own repository (see PR #49) to be published as a stand-alone package.
Requirements
- Python 3.9+
- Poetry
- Docker or Singularity running
Installation
poetry install
Usage
The command is used with Docker or Singularity service running. It will execute the workflow and benchmark it.
Docker
workflomics benchmark tests/data/
which is equivalent to
python src/benchmarker/workflomics.py benchmark tests/data/
The results will be stored in the ./tests/data
folder.
Singularity
Finally, you can run the test with Singularity. This will require you to have Singularity installed and running, and to use the --singularity
flag.
python src/benchmarker/workflomics.py benchmark tests/data/ --singularity
Testing
To run the tests, you can use the following command:
poetry run pytest -s
The tests will execute a workflow and benchmark it (require Docker running). The results will be stored in the ./tests/data
folder.
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
Hashes for workflomics_benchmarker-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a11f02929b57eb628a89cd57010082a300c8a2aab1ff24064c8edb1aad59c0db |
|
MD5 | 6102ccd075448c5c8838e80903216cd0 |
|
BLAKE2b-256 | 1e32d9f76a51043957425cc1c00dcae1b65e8c42ae9b79824a148f38a718e938 |
Hashes for workflomics_benchmarker-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3746e616d961030da64d0515a2b51f02f79ac1116bb2d07227ff5112cab2e093 |
|
MD5 | d0b7f606fd0c892756e3f17f1db648f0 |
|
BLAKE2b-256 | 6d06cf001ad99aac0620e44a8a5eb777e17a0ebee3ec249fcb5ad4b186576ee9 |