Skip to content

Commit

Permalink
start adding wf invocation example based on wf run crate #1 🚧
Browse files Browse the repository at this point in the history
  • Loading branch information
caroott committed Jul 4, 2024
1 parent 844c5c4 commit 424640e
Showing 1 changed file with 56 additions and 4 deletions.
60 changes: 56 additions & 4 deletions profile/arc_cwl_ro_crate.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ flowchart TD

### Workflow



### Workflow Invocation

```json
{ "@context": "https://w3id.org/ro/crate/1.1/context",
"@graph": [
Expand Down Expand Up @@ -124,4 +120,60 @@ flowchart TD
"name": "Tab-separated values"
}
}
```

### Workflow Invocation

```json
{ "@context": [
"https://w3id.org/ro/terms/workflow-run/context"
],
"@graph": [
{
"@id": "#wfrun-1",
"@type": "CreateAction",
"name": "CWL workflow run 1",
"endTime": "",
"instrument": {"@id": "workflows/workflow.cwl"},
"subjectOf": {"@id": ""},
"object": [
{"@id": "#1"},
{"@id": "#2"}
],
"result": [
{"@id": "#3"}
]
},
{
"@id": "#1",
"@type": "Raw Data File",
"description": "Number columns in csv format",
"encodingFormat": "text/plain",
"name": "intensity_table",
"exampleOfWork": {"@id": "#1"}
},
{
"@id": "##2",
"@type": "Text",
"exampleOfWork": {"@id": "#2"},
"name": "file_name",
"value": "result.csv"
},
{
"@id": "#3",
"@type": "Data",
"name": "summed_intensities",
"description": "Summed intensity columns",
"encodingFormat": "text/plain",
"exampleOfWork": {"@id": "#3"}
},
{
"@id": "cwltool",
"@type": "CreativeWork",
"encodingFormat": "text/html",
"datePublished": "",
"name": "Workflow Execution Example Workflow"
}
]
}
```

0 comments on commit 424640e

Please sign in to comment.