Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

workflomics_benchmarker-0.1.0.tar.gz (12.8 kB view hashes)

Uploaded Source

Built Distribution

workflomics_benchmarker-0.1.0-py3-none-any.whl (15.3 kB view hashes)

Uploaded Python 3

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