@@ -205,7 +205,7 @@ You can the use tests on `read.size()` to define conditional `script` block:
...
@@ -205,7 +205,7 @@ You can the use tests on `read.size()` to define conditional `script` block:
### Complex processes
### Complex processes
Sometime you want to do write complexe processes, for example for `fastp` we want to have predefine `fastp` process for different protocols, order of adapter trimming and reads clipping.
Sometime you want to do write complex processes, for example for `fastp` we want to have predefine `fastp` process for different protocols, order of adapter trimming and reads clipping.
We can then use the fact that `process` or named `workflow` can be interchangeably imported with th [DSL2](https://www.nextflow.io/docs/latest/dsl2.html#workflow-composition).
We can then use the fact that `process` or named `workflow` can be interchangeably imported with th [DSL2](https://www.nextflow.io/docs/latest/dsl2.html#workflow-composition).
With the following example, the user can simply include the `fastp` step without knowing that it's a named `workflow` instead of a `process`.
With the following example, the user can simply include the `fastp` step without knowing that it's a named `workflow` instead of a `process`.