From f655f4ce70e2ea5136207b7df22eb35935b1c996 Mon Sep 17 00:00:00 2001 From: Caroline Ott <caroline.ott1994@gmail.com> Date: Mon, 27 May 2024 13:18:42 +0200 Subject: [PATCH] add example roc metadata --- .arc/roc-metadata-fixed-script.json | 189 ++++++++++++++++++++++++++++ 1 file changed, 189 insertions(+) create mode 100644 .arc/roc-metadata-fixed-script.json diff --git a/.arc/roc-metadata-fixed-script.json b/.arc/roc-metadata-fixed-script.json new file mode 100644 index 0000000..ca8cd51 --- /dev/null +++ b/.arc/roc-metadata-fixed-script.json @@ -0,0 +1,189 @@ +{ "@context": "https://w3id.org/ro/crate/1.1/context", + "@graph": [ + { + "@type": "CreativeWork", + "@id": "ro-crate-metadata.json", + "conformsTo": { "@id": "https://w3id.org/ro/crate/1.1" }, + "about": { "@id": "./" } + }, + { + "@id": "./arc/workflows", + "@type": "Dataset", + "hasPart": [ + { "@id": "workflows/workflow.cwl" } + ] + }, + { + "@id": "workflows/workflow.cwl", + "@type": [ "File", "SoftwareSourceCode", "ComputationalWorkflow" ], + "conformsTo": { "@id": "https://bioschemas.org/profiles/ComputationalWorkflow/0.5-DRAFT-2020_07_21/" }, + "name": "Column Addition", + "programmingLanguage": [ + { "@id": "#FSharp" }, + { "@id": "https://w3id.org/workflowhub/workflow-ro-crate#cwl" } + ], + "creator": { "@id": "#timo" }, + "dateCreated": "2024-02-05", + "input": [ + { "@id": "#1" }, + { "@id": "#2" } + ], + "output": [ + { "@id": "#3" } + ] + }, + { + "@id": "#1", + "@type": "FormalParameter", + "conformsTo": { "@id": "https://bioschemas.org/profiles/FormalParameter/0.1-DRAFT-2020_07_21/" }, + "name": "intensity_table", + "valueRequired": true, + "additionalType": { "@id": "http://edamontology.org/data_2976" }, + "format": { "@id": "http://edamontology.org/format_3752" } + }, + { + "@id": "2", + "@type": "FormalParameter", + "conformsTo": { "@id": "https://bioschemas.org/profiles/FormalParameter/0.1-DRAFT-2020_07_21/" }, + "name": "file_name" + }, + { + "@id": "3", + "@type": "FormalParameter", + "conformsTo": { "@id": "https://bioschemas.org/profiles/FormalParameter/0.1-DRAFT-2020_07_21/" }, + "name": "summed_intensities", + "additionalType": { "@id": "http://edamontology.org/data_2976" }, + "encodingFormat": { "@id": "http://edamontology.org/format_3475" } + }, + { + "@id": "https://w3id.org/workflowhub/workflow-ro-crate#cwl", + "@type": "computerlanguage", + "name": "common workflow language", + "alternatename": "cwl", + "identifier": { + "@id": "https://w3id.org/cwl/v1.2/" + }, + "url": { + "@id": "https://www.commonwl.org/" + } + }, + { + "@id": "#FSharp", + "@type": "ProgrammingLanguage", + "name": "F Sharp", + "alternateName": "F#", + "url": "https://dotnet.microsoft.com/en-us/languages/fsharp", + "version": "6.0" + }, + { + "@id": "#timo", + "@type": "Person", + "name": "Timo Mühlhaus" + }, + { + "@id": "http://edamontology.org/format_3752", + "@type": "Thing", + "name": "Comma-separated values" + }, + { + "@id": "http://edamontology.org/format_3475", + "@type": "Thing", + "name": "Tab-separated values" + }, + { + "@id": "./arc/runs", + "@type": "Dataset", + "hasPart": [ + { "@id": "runs" } + ] + }, + { + "@id": "runs", + "@type": [ "File", "SoftwareSourceCode", "ComputationalWorkflow" ], + "conformsTo": { "@id": "https://bioschemas.org/profiles/ComputationalWorkflow/0.5-DRAFT-2020_07_21/" }, + "name": "Column Addition", + "programmingLanguage": [ + { "@id": "https://w3id.org/workflowhub/workflow-ro-crate#cwl" } + ], + "creator": { "@id": "#timo" }, + "dateCreated": "2024-02-05", + "about": [ + { + "@id": "#Process_script.fsx", + "@type": [ + "Process" + ], + "name": "script.fsx", + "parameterValues": [ + { + "@id": "ARCtrl.Json.PropertyValue+ROCrate+genID@16[ARCtrl.Process.ProcessParameterValue]/{Name = \"Data Transformation\"}Some(Ontology\n {Name = \"Addition\"; TSR = \"NCIT\"; TAN = \"http://purl.obolibrary.org/obo/NCIT_C64911\"})", + "@type": "PropertyValue", + "additionalType": "ProcessParameterValue", + "category": "Data Transformation", + "value": "Addition", + "valueCode": "http://purl.obolibrary.org/obo/NCIT_C64911", + "@context": { + "sdo": "http://schema.org/", + "additionalType": "sdo:additionalType", + "category": "sdo:name", + "categoryCode": "sdo:propertyID", + "value": "sdo:value", + "valueCode": "sdo:valueReference", + "unit": "sdo:unitText", + "unitCode": "sdo:unitCode", + "comments": "sdo:disambiguatingDescription" + } + } + ], + "inputs": [ + { + "@id": "./arc/assays/measurement1/dataset/table.csv", + "@type": [ + "Data" + ], + "name": "./arc/assays/measurement1/dataset/table.csv", + "type": "Raw Data File", + "@context": { + "sdo": "http://schema.org/", + "Data": "sdo:MediaObject", + "type": "sdo:disambiguatingDescription", + "name": "sdo:name", + "comments": "sdo:comment" + } + } + ], + "outputs": [ + { + "@id": "./arc/runs/fsResult1/result.csv", + "@type": [ + "Data" + ], + "name": "./arc/runs/fsResult1/result.csv", + "type": "Derived Data File", + "@context": { + "sdo": "http://schema.org/", + "Data": "sdo:MediaObject", + "type": "sdo:disambiguatingDescription", + "name": "sdo:name", + "comments": "sdo:comment" + } + } + ], + "@context": { + "sdo": "http://schema.org/", + "bio": "https://bioschemas.org/", + "Process": "bio:LabProcess", + "name": "sdo:name", + "executesProtocol": "bio:executesLabProtocol", + "parameterValues": "bio:parameterValue", + "performer": "sdo:agent", + "date": "sdo:endTime", + "inputs": "sdo:object", + "outputs": "sdo:result", + "comments": "sdo:disambiguatingDescription" + } + } + ] + } + ] +} \ No newline at end of file -- GitLab