A command-line Python tool to compare Galaxy histories to a template workflow and generate a JSON report file.
Project description
Galaxy History Evaluator
Galaxy History Evaluator or ghevaluator
is a command-line Python tool to compare Galaxy histories to a template workflow and generate a JSON and HTML report files.
Context
Galaxy is an open, web-based platform for data-intensive computational research.
When running their data analysis, Galaxy users create histories storing their data, but also the steps of the data analysis, i.e. the tools used, their versions and parameters.
Galaxy is also used for training where participants follow step-by-step tutorials, stored in Galaxy histories. At the end, participants might want to know if they followed correctly the tutorial and instructors might need to evaluate histories to give feedback and deliver certificates. Evaluating histories manually can be painful and error prone.
Galaxy History Evaluator aims to solve this by providing a command-line tool to compare a Galaxy history to a templare workflow and generate a report in JSON and HTML with difference between the provided history and the expected workflow.
Usage
Galaxy History Evaluator can be used via command-line
$ ghevaluator --help
usage: ghevaluator [-h] -u HISTORY_URL -w WORKFLOW_URL -a APIKEY [-o OUTPUT]
Compare a Galaxy history to a template workflow and generate the JSON and HTML report files
options:
-h, --help show this help message and exit
-u HISTORY_URL, --history_url HISTORY_URL
URL to Galaxy history
-w WORKFLOW_URL, --workflow_url WORKFLOW_URL
URL to template workflow
-a APIKEY, --apikey APIKEY
Galaxy API key
-o OUTPUT, --output OUTPUT
Path to output directory
Installation
Galaxy History Evaluator can be installed with pip:
$ pip install ghevaluator
Tests
- Export the Galaxy API key as environment variable
$ export GALAXY_API_KEY=<REPLACE_WITH_GALAXY_API_KEY>
- Run the unit tests
$ make test
Documentation
Documentation could be found at https://streetscience.community/ghevaluator/
To update it:
-
Make the changes in
src/docs
-
Generate the doc with
$ make html
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
Built Distribution
File details
Details for the file ghevaluator-2.1.1.tar.gz
.
File metadata
- Download URL: ghevaluator-2.1.1.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 621efde1aadf9bdfad2b93fec906f9a1ed7e994fc4682b3df7da3da673027ff1 |
|
MD5 | 0ee5dc91c73b8a792af5542e2a91f2df |
|
BLAKE2b-256 | 6908fc767889250fddbcdcd58c5ddec9ca9b57a02717e4b3d588f9361810b23a |
File details
Details for the file ghevaluator-2.1.1-py3-none-any.whl
.
File metadata
- Download URL: ghevaluator-2.1.1-py3-none-any.whl
- Upload date:
- Size: 29.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b57bded9923e205a2e1fe4cf137ea871c4284ae51455b9ae3e45c7cad24502d |
|
MD5 | 85d669c8439021deddb68eaf1d6a0a41 |
|
BLAKE2b-256 | da397e617df4a5842e248a3ead55780e14342eb22ccdedaaf482e2ff67ff751f |