Skip to main content

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 report file.

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 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 a JSON report file

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

  1. Export the Galaxy API key as environment variable
$ export GALAXY_APIKEY = <>
  1. Run the unit tests
$ make tests

Documentation

Documentation could be found at https://streetscience.community/ghevaluator/

To update it:

  1. Make the changes in src/docs

  2. Generate the doc with

    $ make html
    

Download files

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

Source Distribution

ghevaluator-2.0.0.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ghevaluator-2.0.0-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file ghevaluator-2.0.0.tar.gz.

File metadata

  • Download URL: ghevaluator-2.0.0.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for ghevaluator-2.0.0.tar.gz
Algorithm Hash digest
SHA256 82470132db5db1b65a2c6440f276e4267726c87ede1faecee80192941c692665
MD5 de0b202c9d0d66e59e80be2770493d23
BLAKE2b-256 b607cf14041170a367fe2c46df44bf3099638ccdb6a0931a2faab3df8fb09239

See more details on using hashes here.

File details

Details for the file ghevaluator-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: ghevaluator-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for ghevaluator-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4636858ef63c06ca1184d9e346187c2418bbbb688fe6854b1c98756dcff5b2db
MD5 3c6fa3ca427490703bdf7d8110f4bd29
BLAKE2b-256 8d0e384bcf0186408506debcfdb98d844dd1e4e7d9a86c7e90538c6e431bf168

See more details on using hashes here.

Release history Release notifications | RSS feed

2.1.1

2 files

2.1.0

2 files

This release

2.0.0 This release

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page