add example roc metadata
Add a draft for example roc metadata for the fixed script example
Merge request reports
Activity
requested review from @weil
assigned to @caroott
- .arc/roc-metadata-fixed-script.json 0 → 100644
1 { "@context": "https://w3id.org/ro/crate/1.1/context", 2 "@graph": [ 3 { 4 "@type": "CreativeWork", 5 "@id": "ro-crate-metadata.json", 6 "conformsTo": { "@id": "https://w3id.org/ro/crate/1.1" }, 7 "about": { "@id": "./" } 8 }, 9 { 10 "@id": "./arc/workflows", @wetzels, the
@id
should be relative to the root of theRO-Crate
, right? Is it with an./
or without?changed this line in version 3 of the diff
- Resolved by Heinrich Lukas Weil
- Resolved by Heinrich Lukas Weil
- .arc/roc-metadata-fixed-script.json 0 → 100644
90 "@type": "Thing", 91 "name": "Tab-separated values" 92 }, 93 { 94 "@id": "./arc/runs", 95 "@type": "Dataset", 96 "hasPart": [ 97 { "@id": "runs" } 98 ] 99 }, 100 { 101 "@id": "runs", 102 "@type": [ "File", "SoftwareSourceCode", "ComputationalWorkflow" ], 103 "conformsTo": { "@id": "https://bioschemas.org/profiles/ComputationalWorkflow/0.5-DRAFT-2020_07_21/" }, 104 "name": "Column Addition", 105 "programmingLanguage": [ - .arc/roc-metadata-fixed-script.json 0 → 100644
86 "name": "Comma-separated values" 87 }, 88 { 89 "@id": "http://edamontology.org/format_3475", 90 "@type": "Thing", 91 "name": "Tab-separated values" 92 }, 93 { 94 "@id": "./arc/runs", 95 "@type": "Dataset", 96 "hasPart": [ 97 { "@id": "runs" } 98 ] 99 }, 100 { 101 "@id": "runs", Alright!
But I think we could also keep them as separate examples, right? One
run->workflow
combo and one stand-alonerun
?Of course in this case it would also make sense to actually have this structure in the ARC itself. So the RO-Crate json and ARC would be synchronous.
I meant having two runs in the ARC and then (naturally) also in the RO-Crate. One for the case where it executes a workflow and one where it's just a script execution, without any workflow defined.
Just judging from the specification, this should be a valid case. But I see that we wouldn't need an example for it if it's kind of discouraged approach.
Edited by Heinrich Lukas Weil
- .arc/roc-metadata-fixed-script.json 0 → 100644
81 "name": "Timo Mühlhaus" 82 }, 83 { 84 "@id": "http://edamontology.org/format_3752", 85 "@type": "Thing", 86 "name": "Comma-separated values" 87 }, 88 { 89 "@id": "http://edamontology.org/format_3475", 90 "@type": "Thing", 91 "name": "Tab-separated values" 92 }, 93 { 94 "@id": "./arc/runs", 95 "@type": "Dataset", 96 "hasPart": [ I think we could reference the workflow used in that run here (hasPart), what do you think?
Edited by Caroline Ott@wetzels would you also add it to the about section or do you think hasPart could be ok?
I need to have a closer look into this. But first: I would disagree that assay->process is equivalent to run->workflow. Can you elaborate on this @weil?
Now some general question: what are you describing here? To me, it looks like an ro-crate for the workflow/run part of an arc only. Everything else is missing, right? Did you use any of the existing work on workflow-run profiles for ro-crate (https://www.researchobject.org/workflow-run-crate/)?
Whats currently described here is the general workflow in the arc, and the specific inputs used to create the result in the runs folder of the arc. The profile describing the workflow can be found here (CWL), and the execution part is based on that profile.