Bon in a box to Galaxy tool converter
Bon in a box and Galaxy are two platforms for building and sharing scientific workflows. This tool helps developers migrate Biab tools to Galaxy by automating part of the process.
Features
- Generation of Galaxy wrapper file based on Biab wrapper file
- Generation of a Cheetah command
- Generation of input parameters
- Generation of output data and collecions
- Managing requirements
- Creation of modified Biab script adapted to Galaxy
- Rewriting Biab dependant functions
- Deadling with Biab special types (bbox, CRS, country, region...)
- Detecting credentials variables
- Adding a converted tool to the Galaxy's list of tools
- Generation of a .shed.yml file
requirements
- local Galaxy instance (highly recommended)
- python 3.12+
Installation:
pip install biab2galaxy
Usage
Arguments:
- yml file for the Biab tool wrapper
- R/python/julia file for the Biab tool script
- xml file for Galaxy tool wrapper to be created
- R/python/julia file for the Galaxy tool script to be created
-g: path to the local Galaxy instance (optional)
1. Convert a tool
Creates a Galaxy wrapper.xml file based on the Biab wrapper.yml file. Creates a Galaxy script file based on the biab script file.
python biab_to_galaxy.py biab_wrapper biab_script galaxy_wrapper galaxy_script
2. Port a tool into galaxy
Converts a tool. Move the generated files to the galaxy repository. Add the tool to the galaxy tool list. Creates a .shed.yml file and generates the necessary data tables if they don't exist yet.
python biab_to_galaxy.py biab_wrapper biab_script galaxy_wrapper galaxy_script -g galaxy_repository
What this converter can't do
- Generate tests for the converted tools
- Generate an appropriate tool description
- Differentiate optional and required parameters
- Find extension(s) for any Biab (MIME) type
Missing features
- Handling of data_collection in outputs
- Validator to check if the bounding box coordinates are valid (ex: xmin < xmax, ymin < ymax)
- Julia scripts support
- Fixed versions for default R dependencies
- Fixed versions given to dependencies with no specified version
- Robust R parser (the current one is based on regex)
- Exhaustive mapping of file extensions to MIME types
Metadata
Release files for biab2galaxy 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| biab2galaxy-0.0.3.tar.gz | 16.2 kB | With provenance | Details for biab2galaxy-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| biab2galaxy-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for biab2galaxy-0.0.3-py3-none-any.whl |
Total release size: 34.6 kB
Release files / biab2galaxy-0.0.3.tar.gz
| Download URL | biab2galaxy-0.0.3.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c6c16e16b501b8627372edebea1320d0f513f0130f0a536cf3cbf34f90373d4
|
|
BLAKE2b-256 checksum How to use checksums |
29173c5b514e8e5a0c0bb2cf845d70bf6700e9b292a740d8a7783e59198198f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 14, 2026.
Transparency logRelease files / biab2galaxy-0.0.3-py3-none-any.whl
| Download URL | biab2galaxy-0.0.3-py3-none-any.whl |
|---|---|
| Size | 18.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a369422f5b9ef60cb9050df3433055fbe2d12a35b2ba52f4c358257c67c1946
|
|
BLAKE2b-256 checksum How to use checksums |
57475ee725cf79a665de15c2113e403c821990e7c9d42a2da0fd219f5a16bc6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 14, 2026.
Transparency logSecurity for biab2galaxy 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for biab2galaxy-0.0.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 14, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.