Skip to content

Commit

Permalink
update page
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Sep 7, 2024
1 parent 5ab5b15 commit 0677801
Showing 1 changed file with 37 additions and 40 deletions.
77 changes: 37 additions & 40 deletions book/workflow_frameworks/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -476,109 +476,104 @@ In the following sections, we will explore the use of [Viash](https://viash.io).
Use case components:


#### Bash
### Bash

:::{.grid}
Path: `src/load_data`

:::{.g-col-6}
:::{.panel-tabset}

`src/load_data/config.vsh.yaml`:
#### `config.vsh.yaml` {.unnumbered}

```{embed lang="yaml"}
examples/viash_nextflow/src/load_data/config.vsh.yaml
```

:::

:::{.g-col-6}

`src/load_data/script.sh`:
#### `script.sh` {.unnumbered}

```{embed lang="bash"}
examples/viash_nextflow/src/load_data/script.sh
```

:::
#### `test.sh` {.unnumbered}

```{embed lang="bash"}
examples/viash_nextflow/src/load_data/test.sh
```

:::

#### Python
### Python

:::{.grid}
Path: `src/subset_obs`

:::{.g-col-6}
:::{.panel-tabset}

`src/subset_obs/config.vsh.yaml`:
#### `config.vsh.yaml` {.unnumbered}

```{embed lang="yaml"}
examples/viash_nextflow/src/subset_obs/config.vsh.yaml
```

:::
#### `script.py` {.unnumbered}

:::{.g-col-6}
```{embed lang="python"}
examples/viash_nextflow/src/subset_obs/script.py
```

`src/subset_obs/script.py`:
#### `test.py` {.unnumbered}

```{embed lang="python"}
examples/viash_nextflow/src/subset_obs/script.py
examples/viash_nextflow/src/subset_obs/test.py
```

:::

:::
### R

#### R
Path: `src/differential_expression`

:::{.grid}

:::{.g-col-6}
:::{.panel-tabset}

`src/differential_expression/config.vsh.yaml`:
#### `config.vsh.yaml` {.unnumbered}

```{embed lang="yaml"}
examples/viash_nextflow/src/differential_expression/config.vsh.yaml
```

:::
#### `script.R` {.unnumbered}

:::{.g-col-6}

`src/differential_expression/script.R`:
```{embed lang="r"}
examples/viash_nextflow/src/differential_expression/script.R
```

:::
#### `test.R` {.unnumbered}

```{embed lang="r"}
examples/viash_nextflow/src/differential_expression/test.R
```

:::

#### Nextflow
### Nextflow

:::{.grid}
Path: `src/workflow`

:::{.g-col-6}
:::{.panel-tabset}

`src/workflow/config.vsh.yaml`:
#### `config.vsh.yaml` {.unnumbered}

```{embed lang="yaml"}
examples/viash_nextflow/src/workflow/config.vsh.yaml
```

:::

:::{.g-col-6}

`src/workflow/main.nf`:
#### `main.nf` {.unnumbered}

```{embed lang="groovy"}
examples/viash_nextflow/src/workflow/main.nf
```

:::

:::

### Running the workflow

To run the workflow, you must first build the project:
Expand Down Expand Up @@ -634,6 +629,8 @@ nextflow run \

The workflow will process the dataset, subset the data, compute pseudobulk samples, and perform differential expression analysis. The results will be saved in the `output` directory.

### Workflow Output

```bash
tree output
```
Expand Down

0 comments on commit 0677801

Please sign in to comment.