diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index eb2c25008f1a90137803272a421becc8df4f407f..3d74be83b58eb5f72a5e2c563b354c726646f9fd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -205,10 +205,10 @@ You can the use tests on `read.size()` to define conditional `script` block: ### 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). -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`. By specifying the `params.fastp_protocol`, the `fastp` step will transparently switch betwen the different `fastp` `process`es. Here `fastp_default` or `fastp_accel_1splus`, and other protocols can be added later, pipeline will be able to handle these new protocols by simply updating from the `upstream` repository without changing their codes.