Skip to content

Commit 2b76c10

Browse files
committed
Small updates to schema JSON to remove false and "None" defaults.
1 parent 1e3649e commit 2b76c10

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

nextflow_schema.json

+3-20
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
"properties": {
9898
"annotation_bakta_db_localpath": {
9999
"type": "string",
100-
"default": "None",
101100
"fa_icon": "fas fa-database",
102101
"description": "Specify a path to BAKTA database.",
103102
"help_text": "Specify a path to a database that is prepared in a BAKTA format."
@@ -251,7 +250,7 @@
251250
"default": "Bacteria",
252251
"fa_icon": "fab fa-accusoft",
253252
"description": "Specify the kingdom that the input represents.",
254-
"help_text": "Specifies the kingdom that the input sample is derived from and/or you wish to screen for\n\n> \u26a0\ufe0f Prokka cannot annotate Eukaryotes.\n\nFor more information please check Prokka [documentation](https://github.com/tseemann/prokka).\n\n> Modifies tool parameter(s):\n> - Prokka: `--kingdom`",
253+
"help_text": "Specifies the kingdom that the input sample is derived from and/or you wish to screen for\n\n> ⚠️ Prokka cannot annotate Eukaryotes.\n\nFor more information please check Prokka [documentation](https://github.com/tseemann/prokka).\n\n> Modifies tool parameter(s):\n> - Prokka: `--kingdom`",
255254
"enum": ["Archaea", "Bacteria", "Mitochondria", "Viruses"]
256255
},
257256
"annotation_prokka_gcode": {
@@ -272,7 +271,7 @@
272271
},
273272
"annotation_prokka_evalue": {
274273
"type": "number",
275-
"default": 1e-6,
274+
"default": 0.000001,
276275
"description": "Minimum e-value cut-off.",
277276
"help_text": "Specifiy the minimum e-value used for filtering the alignment hits.\n\nFor more information please check Prokka [documentation](https://github.com/tseemann/prokka).\n\n> Modifies tool parameter(s):\n> - Prokka: `--evalue`",
278277
"fa_icon": "fas fa-sort-amount-down"
@@ -301,7 +300,6 @@
301300
"annotation_prokka_centre": {
302301
"type": "string",
303302
"description": "Sequencing centre ID.",
304-
"default": "None",
305303
"fa_icon": "fas fa-map-marker-alt",
306304
"help_text": "Add the sequencing center ID used in generating the raw sequences. This flag is typically requested in combination with the `--compliant` flag when contigs need to be renamed due to non-conforming contig headers. For more information please check Prokka [documentation](https://github.com/tseemann/prokka). \n\n> Modifies tool parameter(s):\n> - Prokka: `--centre`"
307305
},
@@ -471,7 +469,6 @@
471469
},
472470
"amp_hmmsearch_models": {
473471
"type": "string",
474-
"default": "None",
475472
"description": "Specify path to the AMP hmm model file(s) to search against. Must have quotes if wildcard used.",
476473
"help_text": "HMMSearch performs biosequence analysis using profile hidden Markov Models.\nThe models are specified in`.hmm` files that are specified with this parameter\n\ne.g. \n\n```\n--amp_hmmsearch_models '/<path>/<to>/<models>/*.hmm'\n```\n\nYou must wrap the path in quotes if you use a wildcard, to ensure Nextflow expansion _not_ bash!\n\nFor more information check HMMER [documentation](http://hmmer.org/).",
477474
"fa_icon": "fas fa-layer-group"
@@ -524,7 +521,6 @@
524521
"type": "string",
525522
"description": "Path to AMPcombi reference database directory (DRAMP).",
526523
"help_text": "AMPcombi uses the 'general AMPs' dataset of the (DRAMP database)[http://dramp.cpu-bioinfor.org/downloads/] for taxonomic classification. If you have a local version of it, you can provide the path to the folder containing the reference database files:\n1. a fasta file with a `.fasta` file extension\n2. the corresponding table with with functional and taxonomic classifications in `.tsv` file extension.\n\nFor more information check AMPcombi [documentation](https://github.com/Darcy220606/AMPcombi).",
527-
"default": "None",
528524
"fa_icon": "fas fa-address-book"
529525
},
530526
"amp_ampcombi_cutoff": {
@@ -552,7 +548,6 @@
552548
},
553549
"arg_amrfinderplus_db": {
554550
"type": "string",
555-
"default": "None",
556551
"fa_icon": "fas fa-layer-group",
557552
"help_text": "Specify the path to a local version of the ARMFinderPlus database. If no input is given, the pipeline will download the database for you.\n\n See the nf-core/funcscan usage [documentation](https://nf-co.re/funcscan/usage) for more information.",
558553
"description": "Specify the path to a local version of the ARMfinderPlus database."
@@ -609,7 +604,6 @@
609604
},
610605
"arg_deeparg_data": {
611606
"type": "string",
612-
"default": "None",
613607
"fa_icon": "fab fa-deezer",
614608
"description": "Specify the path to the DeepARG database.",
615609
"help_text": "Specify the path to a local version of the DeepARG database (see the pipelines' usage [documentation](https://nf-co.re/funcscan/usage)). If no input is given, the module will download the database for you, however this is not recommended, as the database is large and this will take time."
@@ -855,22 +849,20 @@
855849
"type": "string",
856850
"description": "Path to user-defined local antiSMASH database.",
857851
"fa_icon": "fas fa-layer-group",
858-
"default": "None",
859852
"help_text": "It is recommend to pre-download the antiSMASH databases to your machine and pass the path of it to this parameter, as this can take a long time to download - particularly when running lots of pipeline runs. \n\nSee the pipeline [documentation](https://nf-co.re/funcscan/usage#antismash) for details on how to download this. If running with docker or singularity, please also check `--bgc_antismash_installationdirectory` for important information."
860853
},
861854
"bgc_antismash_installationdirectory": {
862855
"type": "string",
863856
"description": "Path to user-defined local antiSMASH directory. Only required when running with docker/singularity.",
864857
"fa_icon": "far fa-folder-open",
865-
"default": "None",
866858
"help_text": "This is required when running with **docker and singularity** (not required for conda), due to attempted 'modifications' of files during database checks in the installation directory, something that cannot be done in immutable docker/singularity containers.\n\nTherefore, a local installation directory needs to be mounted (including all modified files from the downloading step) to the container as a workaround."
867859
},
868860
"bgc_antismash_sampleminlength": {
869861
"type": "integer",
870862
"default": 1000,
871863
"description": "Minimum longest-contig length a sample must have to be screened with antiSMASH.",
872864
"fa_icon": "fas fa-ruler-horizontal",
873-
"help_text": "This specifies the minimum length that the longest contig must have for the entire sample to be screened by antiSMASH.\n\nAny samples that do not reach this length will be not be sent to antiSMASH, therefore you will not receive output for these samples in your `--outdir`.\n\n> \u26a0\ufe0f This is not the same as `--bgc_antismash_contigminlength`, which specifies to only analyse contigs above that threshold but _within_ a sample that has already passed `--bgc_antismash_sampleminlength` sample filter!"
865+
"help_text": "This specifies the minimum length that the longest contig must have for the entire sample to be screened by antiSMASH.\n\nAny samples that do not reach this length will be not be sent to antiSMASH, therefore you will not receive output for these samples in your `--outdir`.\n\n> ⚠️ This is not the same as `--bgc_antismash_contigminlength`, which specifies to only analyse contigs above that threshold but _within_ a sample that has already passed `--bgc_antismash_sampleminlength` sample filter!"
874866
},
875867
"bgc_antismash_contigminlength": {
876868
"type": "integer",
@@ -942,7 +934,6 @@
942934
},
943935
"bgc_deepbgc_database": {
944936
"type": "string",
945-
"default": "None",
946937
"fa_icon": "fas fa-layer-group",
947938
"description": "Path to local deepBGC database folder."
948939
},
@@ -1071,7 +1062,6 @@
10711062
},
10721063
"bgc_hmmsearch_models": {
10731064
"type": "string",
1074-
"default": "None",
10751065
"description": "Specify path to the BGC hmm model file(s) to search against. Must have quotes if wildcard used.",
10761066
"help_text": "HMMSearch performs biosequence analysis using profile hidden Markov Models.\nThe models are specified in`.hmm` files that are specified with this parameter\n\ne.g. \n\n```\n--bgc_hmmsearch_models '/<path>/<to>/<models>/*.hmm'\n```\n\nYou must wrap the path in quotes if you use a wildcard, to ensure Nextflow expansion _not_ bash!\n\nFor more information check HMMER [documentation](http://hmmer.org/).",
10771067
"fa_icon": "fas fa-layer-group"
@@ -1250,14 +1240,12 @@
12501240
"type": "boolean",
12511241
"description": "Display help text.",
12521242
"fa_icon": "fas fa-question-circle",
1253-
"default": false,
12541243
"hidden": true
12551244
},
12561245
"version": {
12571246
"type": "boolean",
12581247
"description": "Display version and exit.",
12591248
"fa_icon": "fas fa-question-circle",
1260-
"default": false,
12611249
"hidden": true
12621250
},
12631251
"publish_dir_mode": {
@@ -1281,7 +1269,6 @@
12811269
"type": "boolean",
12821270
"description": "Send plain-text email instead of HTML.",
12831271
"fa_icon": "fas fa-remove-format",
1284-
"default": false,
12851272
"hidden": true
12861273
},
12871274
"max_multiqc_email_size": {
@@ -1296,7 +1283,6 @@
12961283
"type": "boolean",
12971284
"description": "Do not use coloured log outputs.",
12981285
"fa_icon": "fas fa-palette",
1299-
"default": false,
13001286
"hidden": true
13011287
},
13021288
"hook_url": {
@@ -1335,23 +1321,20 @@
13351321
"type": "boolean",
13361322
"fa_icon": "far fa-eye-slash",
13371323
"description": "Show all params when using `--help`",
1338-
"default": false,
13391324
"hidden": true,
13401325
"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."
13411326
},
13421327
"validationFailUnrecognisedParams": {
13431328
"type": "boolean",
13441329
"fa_icon": "far fa-check-circle",
13451330
"description": "Validation of parameters fails when an unrecognised parameter is found.",
1346-
"default": false,
13471331
"hidden": true,
13481332
"help_text": "By default, when an unrecognised parameter is found, it returns a warinig."
13491333
},
13501334
"validationLenientMode": {
13511335
"type": "boolean",
13521336
"fa_icon": "far fa-check-circle",
13531337
"description": "Validation of parameters in lenient more.",
1354-
"default": false,
13551338
"hidden": true,
13561339
"help_text": "Allows string values that are parseable as numbers or booleans. For further information see [JSONSchema docs](https://github.com/everit-org/json-schema#lenient-mode)."
13571340
}

0 commit comments

Comments
 (0)