Skip to content

Commit

Permalink
start adding wf example #1 🚧
Browse files Browse the repository at this point in the history
  • Loading branch information
caroott committed Jul 4, 2024
1 parent 8c9f449 commit 844c5c4
Showing 1 changed file with 106 additions and 2 deletions.
108 changes: 106 additions & 2 deletions profile/arc_cwl_ro_crate.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ISA RO-Crate Profile

* Version:
* Version: 0.1
* Permalink:
* Authors
* - https://orcid.org/
Expand All @@ -20,4 +20,108 @@ flowchart TD

## Example ro-crate-metadata.json

_TODO: simple example and a link to a more complete example_
### Workflow



### Workflow Invocation

```json
{ "@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": "./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" }
]
"about": [
# TODO add some example metadata
# Lab process
]
},
{
"@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"
}
}
```

0 comments on commit 844c5c4

Please sign in to comment.