Generate RO-Crates from workflow repositories
Project description
repo2rocrate
Generate a Workflow Testing RO-Crate from a "best-practices" workflow repository. In this context, "best-practices" means the set of guidelines, especially regarding repository structure and metadata, put together by the workflow language community. Here is the list of currently supported workflow languages, together with the community resources used as a reference:
- Galaxy: IWC's howto for adding workflows
- Nextflow: nf-core guidelines and info on pipeline structure (and ultimately the template generated by
nf-core create
) - Snakemake: snakemake-workflows guidelines, Snakemake distribution and reproducibility docs
Installation
pip install repo2rocrate
Usage
The package consists of an API and a command line tool, also called repo2rocrate
. It can generate RO-Crate metadata in-place or build an RO-Crate in a separate directory. The approach is to generate as many metadata as possible based on what can be extracted from known files and knowledge of the expected layout; the user can complement this by adding or overriding various bits via the available options.
Examples:
git clone https://github.com/crs4/fair-crcc-send-data
repo2rocrate -r fair-crcc-send-data --repo-url https://github.com/crs4/fair-crcc-send-data --license GPL-3.0
git clone https://github.com/nf-core/rnaseq
cd rnaseq/
repo2rocrate
The above commands add an ro-crate-metadata.json
file to the repository directory. To generate an RO-Crate in a separate directory, use the -o
option. Run repo2rocrate --help
to get a description of all available options.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file repo2rocrate-0.1.2.tar.gz
.
File metadata
- Download URL: repo2rocrate-0.1.2.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae120c35180f852a18dee8c6ea114dc0c65abaa111b26a3da87d4f211dd7eedc |
|
MD5 | e93cab0635aeb9849b56fa2b191d6918 |
|
BLAKE2b-256 | b200a987d92689c86d32c8293c39773736f63c582e67073c513c3e58ceab0af7 |
File details
Details for the file repo2rocrate-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: repo2rocrate-0.1.2-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aae2d7923eef11896aabcf676f74460dfff35060c71996778dc62fd3af199d4d |
|
MD5 | d23d12c080cb50853d2efed724fd4ee3 |
|
BLAKE2b-256 | dfb12175cddf0aabb2c66545178c4c48443da1b36e1f8f213da481003707e531 |