Skip to content
Snippets Groups Projects

add example roc metadata

Open
Caroline Ottrequested to merge
ROC into main
5 open threads

Add a draft for example roc metadata for the fixed script example

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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",
  • 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": [
  • 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",
  • Hey, so in this example, the defined workflow and run have nothing to do with each other, or am I missing something?

  • Caroline Ott added 1 commit

    added 1 commit

    Compare with previous version

  • Yes, i also talked with Timo about that we need to connect them

  • Alright!

    But I think we could also keep them as separate examples, right? One run->workflow combo and one stand-alone run?

    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.

    @muehlhaus

    • Do you mean separating them in two files or having one run without any workflow? As it is, a run can't stand by itself, since it needs the workflow it executes as well, unless we duplicate all the information

    • 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
    • Please register or sign in to reply
  • 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
    • Not sure whether hasPart would be okay here, given it being used to depict filesystem structure in RO-Crate. (Although I agree that it would make sense)

      An alternative would be about. This way the relationship assay -> process would be equivalent to run -> workflow.

    • Author Maintainer

      @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.

    • Please register or sign in to reply
  • Caroline Ott added 1 commit

    added 1 commit

    • 2dcf2c1f - make ./ and not ./arc root folder

    Compare with previous version

  • Please register or sign in to reply
    Loading