{"id":13297040,"url":"https://github.com/workflowhub-eu/galaxy2cwl","last_synced_at":"2026-02-19T16:34:19.533Z","repository":{"id":42996737,"uuid":"195670658","full_name":"workflowhub-eu/galaxy2cwl","owner":"workflowhub-eu","description":"Standalone version tool to get cwl descriptions (initially an abstract cwl interface) of galaxy workflows and Galaxy workflows executions.","archived":false,"fork":false,"pushed_at":"2022-03-24T08:12:42.000Z","size":99,"stargazers_count":6,"open_issues_count":9,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-07T09:25:59.015Z","etag":null,"topics":["biohackcovid20","cwl","galaxy","galaxy-workflows","ro-crate","workflow","workflowhub"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/workflowhub-eu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-07T15:59:13.000Z","updated_at":"2025-07-04T08:39:57.000Z","dependencies_parsed_at":"2022-08-27T20:51:49.383Z","dependency_job_id":null,"html_url":"https://github.com/workflowhub-eu/galaxy2cwl","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/workflowhub-eu/galaxy2cwl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workflowhub-eu%2Fgalaxy2cwl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workflowhub-eu%2Fgalaxy2cwl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workflowhub-eu%2Fgalaxy2cwl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workflowhub-eu%2Fgalaxy2cwl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/workflowhub-eu","download_url":"https://codeload.github.com/workflowhub-eu/galaxy2cwl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workflowhub-eu%2Fgalaxy2cwl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29622024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T13:04:20.082Z","status":"ssl_error","status_checked_at":"2026-02-19T13:03:33.775Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["biohackcovid20","cwl","galaxy","galaxy-workflows","ro-crate","workflow","workflowhub"],"created_at":"2024-07-29T17:21:21.286Z","updated_at":"2026-02-19T16:34:19.510Z","avatar_url":"https://github.com/workflowhub-eu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PyPI version](https://badge.fury.io/py/galaxy2cwl.svg)](https://pypi.org/project/galaxy2cwl/)\n\n# Convert Galaxy workflow files to (abstract) CWL\n\nThis is a standalone tool that creates CWL-abstract descriptions of Galaxy workflow runs or Galaxy workflow files (static files). \n\n## Installing\n\nThis library is easiest to install using pip:\n    \n    pip install galaxy2cwl\n\nIf you want to install manually from this code base, then try:\n    \n    pip3 install .\n\nor, assuming all dependencies are installed:\n\n    python setup.py install\n\nThis should install `cwl2galaxy` on your PATH. \n\nAlternatively you can run `python3 galaxy2cwl/get_cwl_interface.py` directly.\n\n ## Usage\n ```\n galaxy2cwl INPUT_GALAXY_WORKFLOW(.ga/.yaml) \u003e OUTPUT_WORKFLOW.cwl\n ```\n - The tool works with inputs in both format1 (json format .ga, currently the standard for Galaxy workflow definitions) and format2. As described in the implementation (https://github.com/galaxyproject/gxformat2), gxformat2 is 'a highly experimental format and will change rapidly in potentially backward incompatible ways until the code is merged into the Galaxy server and enabled by default' therefore the conversion to CWL from this format is also variable and can rapidly change and/or break.\n - Initially the output of this project a CWL-abstract definition (aka cwl-interface, see https://github.com/common-workflow-language/common-workflow-language/issues/337 and https://github.com/common-workflow-language/cwl-v1.2/pull/3). As the CWL support in Galaxy increases then conversion could come up with a full CWL workflow file.\n\n## Examples\nA simple workflow to use as example can be found in \u003chttps://usegalaxy.eu/u/igegu/w/simple-workflow\u003e\n\nThis workflow is available in different formats in the [examples/ directory](https://github.com/workflowhub-eu/galaxy2cwl/tree/master/examples) of the source repository.\n\n* The Galaxy .ga format is in `examples/simple_workflow_galaxy.ga`\n* The format2 version yaml wrapped in json can be found in `examples/simple_workflow_format2_yaml_wrapped.json`\n* The format2 pure yaml in `examples/simple_workflow_format2.yaml`\n* The resulting CWL-interface can be found in `examples/simple_workflow_cwl-interface.cwl`\n\n## Packaging with RO-Crate\n\nThe objects created with this project are aimed to be part of [workflow based RO-Crate](https://github.com/workflowhub-eu/about/wiki/Workflow-RO-Crate) packages for registering in _WorkflowHub_.\n\n[WorkflowHub](https://about.workflowhub.eu/) is a project under development that aims at, among other things, serve as a repository for workflows standardizing the metadata description. \n\nAs such it provides the possibility of registering workflows in a diverse set of formats and packaging them in a RO-Crate package. \n\nAll examples included in this project are readily available in \u003chttps://dev.workflowhub.eu/\u003e\n\n## Contribute\n\nContributions welcome! Raise pull requests, issues etc on \u003chttps://github.com/workflowhub-eu/galaxy2cwl/\u003e.\n\nSubmitted patches are assumed to be licensed under the same BSD 3-Clause license.\n\n## License\n\n* Copyright © 2019-2020, Ignacio Eguinoa, VIB, Universiteit Gent, and workflowhub.eu contributors\n\nDistributed under a [BSD 3-Clause license](https://github.com/workflowhub-eu/cwl-from-galaxy/blob/master/LICENSE).\n\n\u003c!--  \n\n### Release procedure\n\nvim setup.py ## update: version = \"0.1.2\",\ngit commit -m \"Release 0.1.2\" setup.py\ngit tag 0.1.2\nrm dist/*\npython3 setup.py clean\npython3 setup.py bdist_wheel\ntwine upload --repository testpypi dist/*   ## for testing\ntwine upload dist/*   ## if above is OK\n\nvim setup.py ## prepare for next:  version = \"0.1.3-dev\",\ngit commit -m \"Prepare for 0.1.3\" setup.py\ngit push --tags\ngit push\n\nSee also https://packaging.python.org/tutorials/packaging-projects/\nin ~/.pypirc have tokens for both pypi and testpypi:\n\n(base) stain@biggie:~/src/cwl-from-galaxy$ cat ~/.pypirc \n[pypi]\n  username = __token__\n  password = pypi-abcdREPLACEME\n\n[distutils]\nindex-servers=\n    pypi\n    testpypi\n\n[testpypi]\nrepository: https://test.pypi.org/legacy/\nusername: __token__\npassword: pypi-abcdREPLACEME\n--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkflowhub-eu%2Fgalaxy2cwl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkflowhub-eu%2Fgalaxy2cwl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkflowhub-eu%2Fgalaxy2cwl/lists"}