Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-hakkaart committed Jan 4, 2024
1 parent 67e667f commit 8897947
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 13 deletions.
1 change: 0 additions & 1 deletion docs/basic_training/channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ As you can see, the output is the same as the previous example when the `first()
}
```


!!! cboard-list-2 "Summary"

In this step you have learned:
Expand Down
13 changes: 5 additions & 8 deletions docs/basic_training/containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,6 @@ The authors of Singularity, [SyLabs](https://www.sylabs.io/) have their own repo

In the same way that we can push Docker images to Docker Hub, we can upload Singularity images to the Singularity Library.


!!! cboard-list-2 "Summary"

In this step you have learned:
Expand Down Expand Up @@ -448,7 +447,7 @@ There is already a file named `env.yml` in the `nf-training` folder as an exampl
--8<-- "nf-training/env.yml"
```

Given the `env.yml` recipe file, the environment can be created using the command shown below.
Given the `env.yml` recipe file, the environment can be created using the command shown below.

```bash
conda env create --file env.yml
Expand Down Expand Up @@ -550,7 +549,7 @@ The above `Dockerfile` takes the parent image _mambaorg/micromamba_, installs a
```

Build the image:

```bash
docker build -t my-image .`
```
Expand All @@ -568,7 +567,7 @@ The above `Dockerfile` takes the parent image _mambaorg/micromamba_, installs a
`my-image` can be replaced with any name you choose. As good practice, choose something memorable and ensure the name matches the name you used in the previous command.

Add the container image name to the `nextflow.config` file.

e.g. remove the following from the `nextflow.config`:

```groovy
Expand Down Expand Up @@ -642,7 +641,6 @@ mulled-search --destination quay singularity --channel bioconda --search bowtie
1. What Biocontainers are and where to find them
2. How to use Biocontainers in your Nextflow workflow


## Software directives

Directives are optional settings that affect the execution of the current process.
Expand Down Expand Up @@ -683,8 +681,8 @@ Nextflow automatically sets up an environment for the given package names listed

??? Solution

Add the container directive with the appropriate BioContainers to the `FASTQC` and `QUANTIFICATION` processes in `script5.nf`:
Add the container directive with the appropriate BioContainers to the `FASTQC` and `QUANTIFICATION` processes in `script5.nf`:

```groovy
process FASTQC {
container 'biocontainers/fastqc:v0.11.5'
Expand Down Expand Up @@ -716,4 +714,3 @@ Nextflow automatically sets up an environment for the given package names listed
In this step you have learned:

1. How to add software with directives.

1 change: 0 additions & 1 deletion docs/basic_training/operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,6 @@ Nextflow will use this as a custom function within the workflow scope.

You will learn more about module files later in the [Modularization section](../modules/) of this tutorial.


## More resources

Check the [operators documentation](https://www.nextflow.io/docs/latest/operator.html) on Nextflow web site.
6 changes: 3 additions & 3 deletions docs/basic_training/processes.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ params.compress = 'gzip'
params.file2compress = "$baseDir/data/ggal/transcriptome.fa"
process FOO {
debug true
debug true
input:
path file
Expand Down Expand Up @@ -347,7 +347,7 @@ workflow {
}
```

In this case, the process is executed six times and will print the name of the file `sample.fastq` six times as this is the name of the file in the input declaration and despite the input file name being different in each execution (e.g., `lung_1.fq`).
In this case, the process is executed six times and will print the name of the file `sample.fastq` six times as this is the name of the file in the input declaration and despite the input file name being different in each execution (e.g., `lung_1.fq`).

```console title="Output"
sample.fastq
Expand Down Expand Up @@ -380,7 +380,7 @@ workflow {
}
```

In this case, the process is executed six times and will print the name of the variable input file six times (e.g., `lung_1.fq`).
In this case, the process is executed six times and will print the name of the variable input file six times (e.g., `lung_1.fq`).

```console title="Output"
lung_1.fq
Expand Down

0 comments on commit 8897947

Please sign in to comment.