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.25.0.tar.gz (231.4 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.25.0-py3-none-any.whl (255.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gxformat2-0.25.0.tar.gz
  • Upload date:
  • Size: 231.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gxformat2-0.25.0.tar.gz
Algorithm Hash digest
SHA256 298968f56fe3e9a2889ee917d08c7aac610867e1fd0afdfe9d8d0907d8c360ca
MD5 2b32940a09892575b817a8147b141663
BLAKE2b-256 38c85e8eb10173effc0d62f1262d3f0a461f955bc4de845bc0fa0fbecad1ec8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for gxformat2-0.25.0.tar.gz:

Publisher: deploy.yaml on galaxyproject/gxformat2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: gxformat2-0.25.0-py3-none-any.whl
  • Upload date:
  • Size: 255.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gxformat2-0.25.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d70a6cf801e1d80dcc13ab9632c7b54dc7d79339dd78fdea11ae280ae510e0c
MD5 6993b7318b9f3dd1fd34daf3f2f3884c
BLAKE2b-256 0219792adbf5f3a776601bf309e28cde1463c392f3c3b8459d80a879b8b51e0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gxformat2-0.25.0-py3-none-any.whl:

Publisher: deploy.yaml on galaxyproject/gxformat2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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