Skip to content

Commit

Permalink
fix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ggabernet committed Apr 27, 2022
1 parent 420524e commit 0198e03
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 16 deletions.
4 changes: 4 additions & 0 deletions .nf-core.yml
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
lint:
files_exist:
- conf/igenomes.config
- lib/WorkflowAirrflow.groovy
repository_type: pipeline
2 changes: 0 additions & 2 deletions conf/test_reveal_no_cc.config
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"git_sha": "e745e167c1020928ef20ea1397b6b4d230681b4d"
},
"fastqc": {
"git_sha": "e745e167c1020928ef20ea1397b6b4d230681b4d"
"git_sha": "49b18b1639f4f7104187058866a8fab33332bdfe"
},
"multiqc": {
"git_sha": "e745e167c1020928ef20ea1397b6b4d230681b4d"
"git_sha": "49b18b1639f4f7104187058866a8fab33332bdfe"
}
}
}
}
}
12 changes: 12 additions & 0 deletions modules/nf-core/modules/fastqc/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions modules/nf-core/modules/multiqc/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 47 additions & 11 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,21 @@
"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",
"default": "bcellmagic",
"fa_icon": "fas fa-project-diagram",
"hidden": true,
"description": "Specify the subworkflow to be executed.",
"enum": ["bcellmagic", "reveal"]
"enum": [
"bcellmagic",
"reveal"
]
},
"input": {
"type": "string",
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": "",
Expand Down Expand Up @@ -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",
Expand All @@ -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": {
Expand Down Expand Up @@ -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"
},
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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"
},
Expand All @@ -531,7 +566,8 @@
},
"singlecell": {
"type": "string",
"default": "single_cell"
"default": "single_cell",
"description": "Whether input samples include single cell sequencing samples"
}
}
}
Expand Down Expand Up @@ -580,4 +616,4 @@
"$ref": "#/definitions/subworkflow_reveal"
}
]
}
}

0 comments on commit 0198e03

Please sign in to comment.