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.26.0.tar.gz (233.6 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.26.0-py3-none-any.whl (256.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gxformat2-0.26.0.tar.gz
Algorithm Hash digest
SHA256 d1444cd032c9c52224cd62282a3e2f53a8184e0691be9be3e8e1d70d17d31396
MD5 ecfb60292abfa3269e197df3eed7d24d
BLAKE2b-256 f2f6a34a191f85509cc3481b82ddc5b06992a28f131928bf905db44b7806f647

See more details on using hashes here.

Provenance

The following attestation bundles were made for gxformat2-0.26.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.26.0-py3-none-any.whl.

File metadata

  • Download URL: gxformat2-0.26.0-py3-none-any.whl
  • Upload date:
  • Size: 256.7 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.26.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2733ef7aa960fb6c4a537b608b796e44ba7354d8660ece67cc4cb3f71b3ed9dc
MD5 79088c439f66318de6c84a2779749c06
BLAKE2b-256 308af34cccf76dc10007c3b24e5b10b07e8f3469d45c0baf4e2f5cbb6a0a2712

See more details on using hashes here.

Provenance

The following attestation bundles were made for gxformat2-0.26.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