diff --git a/.nf-core.yml b/.nf-core.yml index 3805dc81..40647053 100644 --- a/.nf-core.yml +++ b/.nf-core.yml @@ -1 +1,5 @@ +lint: + files_exist: + - conf/igenomes.config + - lib/WorkflowAirrflow.groovy repository_type: pipeline diff --git a/conf/test_reveal_no_cc.config b/conf/test_reveal_no_cc.config index ef28108c..dbb67163 100644 --- a/conf/test_reveal_no_cc.config +++ b/conf/test_reveal_no_cc.config @@ -17,8 +17,6 @@ params { max_time = 6.h // Input data - // TODO nf-core: Specify the paths to your test data on nf-core/test-datasets - // TODO nf-core: Give any required params for the test so that command line flags are not needed subworkflow = 'reveal' input = 'https://raw.githubusercontent.com/nf-core/test-datasets/airrflow/testdata-reveal/test_reveal_metadata.tsv' outdir = 'test-reveal-results-no-cc' diff --git a/modules.json b/modules.json index 967efabe..f24e58b5 100644 --- a/modules.json +++ b/modules.json @@ -7,11 +7,11 @@ "git_sha": "e745e167c1020928ef20ea1397b6b4d230681b4d" }, "fastqc": { - "git_sha": "e745e167c1020928ef20ea1397b6b4d230681b4d" + "git_sha": "49b18b1639f4f7104187058866a8fab33332bdfe" }, "multiqc": { - "git_sha": "e745e167c1020928ef20ea1397b6b4d230681b4d" + "git_sha": "49b18b1639f4f7104187058866a8fab33332bdfe" } } } -} +} \ No newline at end of file diff --git a/modules/nf-core/modules/fastqc/main.nf b/modules/nf-core/modules/fastqc/main.nf index ed6b8c50..05730368 100644 --- a/modules/nf-core/modules/fastqc/main.nf +++ b/modules/nf-core/modules/fastqc/main.nf @@ -44,4 +44,16 @@ process FASTQC { END_VERSIONS """ } + + stub: + def prefix = task.ext.prefix ?: "${meta.id}" + """ + touch ${prefix}.html + touch ${prefix}.zip + + cat <<-END_VERSIONS > versions.yml + "${task.process}": + fastqc: \$( fastqc --version | sed -e "s/FastQC v//g" ) + END_VERSIONS + """ } diff --git a/modules/nf-core/modules/multiqc/main.nf b/modules/nf-core/modules/multiqc/main.nf index 1264aac1..ae019dbf 100644 --- a/modules/nf-core/modules/multiqc/main.nf +++ b/modules/nf-core/modules/multiqc/main.nf @@ -28,4 +28,16 @@ process MULTIQC { multiqc: \$( multiqc --version | sed -e "s/multiqc, version //g" ) END_VERSIONS """ + + stub: + """ + touch multiqc_data + touch multiqc_plots + touch multiqc_report.html + + cat <<-END_VERSIONS > versions.yml + "${task.process}": + multiqc: \$( multiqc --version | sed -e "s/multiqc, version //g" ) + END_VERSIONS + """ } diff --git a/nextflow_schema.json b/nextflow_schema.json index 69759384..dffb0281 100644 --- a/nextflow_schema.json +++ b/nextflow_schema.json @@ -10,7 +10,10 @@ "type": "object", "fa_icon": "fas fa-terminal", "description": "Define where the pipeline should find input data and save output data.", - "required": ["input", "outdir"], + "required": [ + "input", + "outdir" + ], "properties": { "subworkflow": { "type": "string", @@ -18,7 +21,10 @@ "fa_icon": "fas fa-project-diagram", "hidden": true, "description": "Specify the subworkflow to be executed.", - "enum": ["bcellmagic", "reveal"] + "enum": [ + "bcellmagic", + "reveal" + ] }, "input": { "type": "string", @@ -51,7 +57,12 @@ "type": "string", "fa_icon": "fas fa-flask", "description": "Protocol used for the V(D)J amplicon sequencing library generation.", - "enum": ["specific_pcr_umi", "specific_pcr", "dt_5p_race", "dt_5p_race_umi"], + "enum": [ + "specific_pcr_umi", + "specific_pcr", + "dt_5p_race", + "dt_5p_race_umi" + ], "help_text": "Available protocols are:\n- `specific_pcr_umi`: RT-PCR using transcript-specific primers containing UMIs.\n- `specific_pcr`: RT-PCR using transcript-specific primers.\n- `dt_5p_race_umi`: 5\u2019-RACE PCR using oligo-dT primers and template switch primers containing UMI.\n- `dt_5p_race`: 5\u2019-RACE PCR (i.e. RT is followed by a template switch (TS) step) using oligo-dT primers." }, "race_linker": { @@ -88,7 +99,10 @@ "type": "string", "default": "human", "description": "Species to perform Igblast. Choose from: human, mouse.", - "enum": ["human", "mouse"] + "enum": [ + "human", + "mouse" + ] } }, "help_text": "", @@ -127,7 +141,10 @@ "default": "R1", "fa_icon": "fas fa-dna", "description": "Indicate if C region primers are in the R1 or R2 reads.", - "enum": ["R1", "R2"] + "enum": [ + "R1", + "R2" + ] }, "primer_revpr": { "type": "boolean", @@ -154,7 +171,10 @@ "default": "R1", "description": "Indicate if UMI indices are recorded in the R1 (default) or R1 fastq file.", "help_text": "The pipeline requires UMI barcodes for identifying unique transcripts. These barcodes are typically read from an index file but sometimes can be provided merged with the start of the R1 or R2 reads. If provided in an additional index file, set the `--index_file` parameter, if provided merged with the R1 or R2 reads, set the `--umi_position` parameter to R1 or R2, respectively.", - "enum": ["R1", "R2"], + "enum": [ + "R1", + "R2" + ], "fa_icon": "fas fa-barcode" }, "umi_length": { @@ -200,7 +220,12 @@ "type": "string", "default": "cut", "description": "Masking mode for the Presto MaskPrimer step. Available: cut, mask, trim, tag.", - "enum": ["cut", "mask", "trim", "tag"], + "enum": [ + "cut", + "mask", + "trim", + "tag" + ], "help_text": "The primer masking modes will perform the following actions:\n\n* `cut`: remove both the primer region and the preceding sequence.\n* `mask`: replace the primer region with Ns and remove the preceding sequence.\n* `trim`: remove the region preceding the primer, but leave the primer region intact.\n* `tag`: leave the input sequence unmodified.", "fa_icon": "fas fa-mask" }, @@ -423,7 +448,14 @@ "description": "Method used to save pipeline results to output directory.", "help_text": "The Nextflow `publishDir` option specifies which intermediate files should be saved to the output directory. This option tells the pipeline what method should be used to move these files. See [Nextflow docs](https://www.nextflow.io/docs/latest/process.html#publishdir) for details.", "fa_icon": "fas fa-copy", - "enum": ["symlink", "rellink", "link", "copy", "copyNoFollow", "move"], + "enum": [ + "symlink", + "rellink", + "link", + "copy", + "copyNoFollow", + "move" + ], "hidden": true }, "email_on_fail": { @@ -520,7 +552,10 @@ "description": "Whether to apply the chimera removal filter" }, "threshold": { - "type": ["string", "number"], + "type": [ + "string", + "number" + ], "default": "auto", "description": "Use `auto` to automatically set a threshold to identify clonally related sequences. Set" }, @@ -531,7 +566,8 @@ }, "singlecell": { "type": "string", - "default": "single_cell" + "default": "single_cell", + "description": "Whether input samples include single cell sequencing samples" } } } @@ -580,4 +616,4 @@ "$ref": "#/definitions/subworkflow_reveal" } ] -} +} \ No newline at end of file