Skip to main content

Galaxy Workflow Format 2 Descriptions

Project description

https://readthedocs.org/projects/gxformat2/badge/?version=latest https://badge.fury.io/py/gxformat2.svg https://github.com/galaxyproject/gxformat2/workflows/Python%20CI/badge.svg https://github.com/galaxyproject/gxformat2/workflows/Java%20CI/badge.svg https://img.shields.io/badge/latest%20schema-v19.09-blue

Format 2

This package defines a high-level Galaxy workflow description termed “Format 2”. The current schema version is v19_09 and the schema can be found here. This version of workflow format can be consumed by Galaxy since version 19.09.

The Format 2 workflow description is still somewhat experimental and may yet change in small potentially backward incompatible ways until the format is exported by Galaxy by default.

The traditional Galaxy workflow description (files ending in .ga extension, sometimes called native workflows in this project) was not designed to be concise and is neither readily human readable or human writable. Galaxy workflow Format 2 is being designed to address these limitations, while also moving Galaxy’s workflow description language toward standards such as the Common Workflow Language.

gxformat2

This Python project can be installed from PyPI using pip.

$ pip install gxformat2

Checkout the project tests or how it used in projects such as Planemo and Galaxy to see how to use the gxformat2 library. Reference documentation for the modules can be found as part of the project’s documentation.

This project also includes various scripts for working with Galaxy workflows. Checkout their help for more information.

$ gxwf-lint --help
$ gxwf-viz --help
$ gxwf-abstract-export --help
$ gxwf-to-native --help
$ gxwf-to-format2 --help

Development

Setup a development environment with uv:

$ uv sync --group test --group lint --group mypy

Run tests:

$ uv run --group test pytest tests/ -x -q

Run linting:

$ uv run --group lint ruff check
$ uv run --group lint flake8
$ uv run --group lint black --check --diff .

Run type checking:

$ uv run --group mypy mypy gxformat2

This library and associated scripts are licensed under the MIT License.

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

gxformat2-0.24.0.tar.gz (86.7 kB view details)

Uploaded Source

Built Distribution

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

gxformat2-0.24.0-py3-none-any.whl (66.0 kB view details)

Uploaded Python 3

File details

Details for the file gxformat2-0.24.0.tar.gz.

File metadata

  • Download URL: gxformat2-0.24.0.tar.gz
  • Upload date:
  • Size: 86.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for gxformat2-0.24.0.tar.gz
Algorithm Hash digest
SHA256 6cb8e81517ae1bb4391cbbeb976f7995b94b413a75805ae3a036e2ffbb189e35
MD5 c0248c30c7b67c72198da86093aa3df8
BLAKE2b-256 8bf4ead708b50356acb2b34137ae7a1cccfc7985a0833587579801f7c42a3103

See more details on using hashes here.

File details

Details for the file gxformat2-0.24.0-py3-none-any.whl.

File metadata

  • Download URL: gxformat2-0.24.0-py3-none-any.whl
  • Upload date:
  • Size: 66.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for gxformat2-0.24.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2116aec6c78a6c9c50a1c960f228815d664295541cedf9920596c240e9e6dce2
MD5 c3071fde8d9e3e668f8cebe733527552
BLAKE2b-256 d2fd3b0d6893afe275e4e061254ece15507fc7eee382268af224d40b048913ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page