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/Galaxy-History-Evaluator/

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-0.0.1.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

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

ghevaluator-0.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ghevaluator-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4dcb4c28f36b60a06f7283f711d4818566fd2c52c36e28648da635efc70ee486
MD5 ada0572f9aa733d6743847141f87389d
BLAKE2b-256 2dc7db306a9d5f550c1bf24d1030998dc9102bf809200494c6ace230ea205f04

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ghevaluator-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 92b891a6d26f5cf99a200749767bd8f52dcd64a08936cc8635f37337d02992ad
MD5 498f8b8fa666e9fbf81e89838f25f302
BLAKE2b-256 6bfafaad81976a7ac2810c9b91cf97ebf4c1576680731e52a07c8bd072116e93

See more details on using hashes here.

Release history Release notifications | RSS feed

2.1.1

2 files

2.1.0

2 files

2.0.0

2 files

This release

0.0.1 This release

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