Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

repo2rocrate

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

repo2rocrate

Generate RO-Crates from workflow repositories

  • 0.1.2
  • PyPI
  • Socket score

Maintainers
1

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc