From ec0e2cc3fb36515c1b073d97a0af2e5e00f084c8 Mon Sep 17 00:00:00 2001 From: nservant <nicolas.servant@curie.fr> Date: Mon, 25 Jan 2021 20:06:26 +0100 Subject: [PATCH] [LINT] fix for nfcore lint --- Dockerfile | 2 +- nextflow_schema.json | 67 +++++++++++++++++++++++++++++++++++--------- 2 files changed, 55 insertions(+), 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8747718..35ffbe9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM nfcore/base:1.12 +FROM nfcore/base:1.12.1 LABEL authors="Nicolas Servant" \ description="Docker image containing all software requirements for the nf-core/hic pipeline" diff --git a/nextflow_schema.json b/nextflow_schema.json index 8f22525..f888dbb 100644 --- a/nextflow_schema.json +++ b/nextflow_schema.json @@ -26,12 +26,6 @@ "description": "Input FastQ files for test only", "default": "undefined" }, - "genome": { - "type": "string", - "description": "Name of iGenomes reference.", - "fa_icon": "fas fa-book", - "help_text": "If using a reference genome configured in the pipeline using iGenomes, use this parameter to give the ID for the reference. This is then used to build the full paths for all required reference genome files e.g. `--genome GRCh38`.\n\nSee the [nf-core website docs](https://nf-co.re/usage/reference_genomes) for more details." - }, "outdir": { "type": "string", "description": "The output directory where the results will be saved.", @@ -257,6 +251,34 @@ "type": "integer", "default": "100", "description": "Maximum number of iteraction for ICE normalization" + }, + "res_zoomify": { + "type": "integer", + "default": 5000, + "description": "Maximum resolution to build mcool file" + } + } + }, + "downstream_analysis": { + "title": "Downstream Analysis", + "type": "object", + "description": "Set up downstream analysis from contact maps", + "default": "", + "properties": { + "res_dist_decay": { + "type": "integer", + "default": 1000000, + "description": "Resolution to build count/distance plot" + }, + "tads_caller": { + "type": "string", + "default": "hicexplorer,insulation", + "description": "Define methods for TADs calling" + }, + "res_tads": { + "type": "string", + "default": "40000,20000", + "description": "Resolution to run TADs callers (comma separated)" } } }, @@ -272,12 +294,29 @@ "description": "Do not build contact maps" }, "skip_ice": { - "type": "boolean", - "description": "Do not normalize contact maps" + "type": "string", + "description": "Do not run ICE normalization", + "default": "False" }, - "skip_cool": { - "type": "boolean", - "description": "Do not generate cooler file" + "skip_dist_decay": { + "type": "string", + "description": "Do not run distance/decay plot", + "default": "False" + }, + "skip_tads": { + "type": "string", + "description": "Do not run TADs calling", + "default": "False" + }, + "skip_balancing": { + "type": "string", + "description": "Do not run cooler balancing normalization", + "default": "False" + }, + "skip_mcool": { + "type": "string", + "description": "Do not generate mcool file for Higlass visualization", + "default": "False" }, "skip_multiqc": { "type": "boolean", @@ -451,7 +490,6 @@ }, "allOf": [ { - "$ref": "#/definitions/input_output_options" }, { @@ -472,6 +510,9 @@ { "$ref": "#/definitions/contact_maps_options" }, + { + "$ref": "#/definitions/downstream_analysis" + }, { "$ref": "#/definitions/skip_options" }, @@ -485,4 +526,4 @@ "$ref": "#/definitions/institutional_config_options" } ] -} +} \ No newline at end of file -- GitLab