Example RO-Crates

The RO-Crate structure is that a RO-Crate root directory has a RO-Crate Metadata File named ro-crate-metadata.json that describe the other files, directories and URLs; as well as relating them to things in the world (e.g. people, instruments).

From RO-Crate 1.1 ro-crate-metadata.jsonld was renamed ro-crate-metadata.json.

The specification has several inline examples:

The RO-Crate 1.1 specification is largely explained by examples by showing additional fragments:

UTS examples

The Arkisto platform case studies highlight multiple ways RO-Crate has been used:

You can also look at some example RO-Crates.

Some of the below examples may be using RO-Crate 0.2, which may miss some subtle changes in RO-Crate 1.0 and RO-Crate 1.1. Implementers are advised to check relevant sections in the latest RO-Crate specification.

WorkflowHub examples

The https://workflowhub.eu/ accepts upload by RO-Crate and generates RO-Crate to improve reproducability of computational workflow that follow the Workflow RO-Crate profile, see also RO-Crate section on workflows.

Workflows can be exported from Workflow Hub as RO-Crates, e.g. a Galaxy workflow. Workflows can also be navigated programmatically using the TRS API, e.g. https://workflowhub.eu/ga4gh/trs/v2/tools/26/versions/1/PLAIN_CWL/descriptor/ro-crate-metadata.jsonld

Biocompute Object

https://github.com/biocompute-objects/bco-ro-example-chipseq hosts an example RO-Crate (ro-crate-metadata.json, ro-crate-preview.html) that capture a BioCompute Object (IEEE 2791) using BagIt. See the tutorial Create an BCO RO-Crate for step-by-step details.