diff --git a/modules/local/split_cooler_dump.nf b/modules/local/split_cooler_dump.nf index b7272e81d51866dcc7f8aacf8d44f2d0c9cca81a..fbe142858e43369d61d953df1b85ce1b3805707c 100644 --- a/modules/local/split_cooler_dump.nf +++ b/modules/local/split_cooler_dump.nf @@ -14,6 +14,9 @@ process SPLIT_COOLER_DUMP { tuple val(meta), path("*.txt"), emit: matrix path ("versions.yml"), emit: versions + when: + task.ext.when == null || task.ext.when + script: def args = task.ext.args ?: '' prefix = bedpe.toString() - ~/(\_balanced)?.bedpe$/ diff --git a/nextflow.config b/nextflow.config index aad6d92ec7f5cbdd0555ad8d9bd8703cc3b533b2..32176ea645c502ff57421f79a1458c5d5c29f894 100644 --- a/nextflow.config +++ b/nextflow.config @@ -110,7 +110,8 @@ params { version = false validate_params = true show_hidden_params = false - schema_ignore_params = 'genomes' + schema_ignore_params = 'genomes,digest' + enable_conda = false // Config options diff --git a/nextflow_schema.json b/nextflow_schema.json index 96e9e09ebf0880d1494566c733fdc2e07129c21b..8bce1730d2f056833f68b27e68de2372b2a2ebe2 100644 --- a/nextflow_schema.json +++ b/nextflow_schema.json @@ -520,6 +520,12 @@ "description": "Show all params when using `--help`", "hidden": true, "help_text": "By default, parameters set as _hidden_ in the schema are not shown on the command line when a user runs with `--help`. Specifying this option will tell the pipeline to show all parameters." + }, + "enable_conda": { + "type": "boolean", + "description": "Run this workflow with Conda. You can also use '-profile conda' instead of providing this parameter.", + "hidden": true, + "fa_icon": "fas fa-bacon" } } }