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.27.0.tar.gz (265.2 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.27.0-py3-none-any.whl (288.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gxformat2-0.27.0.tar.gz
Algorithm Hash digest
SHA256 3a3937f8db4f79edb64f3a184d8ce4247b100778a10c1bf7368e01dc39715587
MD5 8fc0223d21b0bca0e5fec506aebd953b
BLAKE2b-256 26fcf4bca717e51f26a5249316ed8e46da3b189fa390d9989a7e62129a200767

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: gxformat2-0.27.0-py3-none-any.whl
  • Upload date:
  • Size: 288.3 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.27.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e8a90b649ddecc7d1662b2ab75b942b895bae9536fec1f8b6f71e27fe4fe4c6
MD5 4b3f7fbf100551fcfb8493100fa25b50
BLAKE2b-256 e37847a205b5921bd86ef8d174fcda3daf23d65ad2887b38771935a064acd348

See more details on using hashes here.

Provenance

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