Skip to content

Commit

Permalink
Merge pull request #527 from nfdi4plants/viola-cwl
Browse files Browse the repository at this point in the history
move mermaid below text
  • Loading branch information
Brilator authored Nov 14, 2024
2 parents 606a75a + e12a0ae commit 84174dd
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions src/content/docs/guides/arc-cwl-wrap-script.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,19 @@ FigureFileName: heatmap
</TabItem>
</Tabs>
Briefly summarized,
- the `heatmap.py` is the example data analysis script, which creates a heatmap based on a CSV table input
- the `workflow.cwl` is a CWL document binds the `heatmap.py`
- It requires two `inputs`
1. `MeasurementTableCSV`: the file name of the CSV table
2. `FigureFileName`: how the user wants to name the output file
- And it generates one `output`: an `.svg` file named according to `FigureFileName`
- the `job.yml` provides the required `input` parameters for `workflow.cwl`
- the relative path to the CSV table input: `sugar_result.csv`
- the desired file name: `heatmap`

<Mermaid>

```mermaid
Expand All @@ -123,18 +136,6 @@ sugar_result.csv -.- job.yml --o workflow.cwl--> heatmap.svg

</Mermaid>

Briefly summarized,

- the `heatmap.py` is the example data analysis script, which creates a heatmap based on a CSV table input
- the `workflow.cwl` is a CWL document binds the `heatmap.py`
- It requires two `inputs`
1. `MeasurementTableCSV`: the file name of the CSV table
2. `FigureFileName`: how the user wants to name the output file
- And it generates one `output`: an `.svg` file named according to `FigureFileName`
- the `job.yml` provides the required `input` parameters for `workflow.cwl`
- the relative path to the CSV table input: `sugar_result.csv`
- the desired file name: `heatmap`

## Using the workflow in your ARC

<Steps>
Expand Down

0 comments on commit 84174dd

Please sign in to comment.