Skip to content

Commit 45ae4a3

Browse files
committed
Update schema to new structure
1 parent 0d78dfe commit 45ae4a3

1 file changed

Lines changed: 135 additions & 29 deletions

File tree

nextflow_schema.json

Lines changed: 135 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
"title": "nf-core/eager pipeline parameters",
55
"description": "A fully reproducible ancient and modern DNA pipeline in Nextflow and with cloud support.",
66
"type": "object",
7-
"properties": {
8-
"Input options": {
7+
"definitions": {
8+
"input_options": {
9+
"title": "Input options",
910
"type": "object",
1011
"properties": {
1112
"input": {
@@ -59,7 +60,8 @@
5960
"input"
6061
]
6162
},
62-
"Output options": {
63+
"output_options": {
64+
"title": "Output options",
6365
"type": "object",
6466
"description": "Specify where to put output files and optional saving of intermediate files",
6567
"default": "",
@@ -90,7 +92,8 @@
9092
},
9193
"fa_icon": "fas fa-cloud-download-alt"
9294
},
93-
"Input Data Additional Options": {
95+
"input_data_additional_options": {
96+
"title": "Input Data Additional Options",
9497
"type": "object",
9598
"description": "Additional options regarding input data.",
9699
"default": "",
@@ -108,7 +111,8 @@
108111
},
109112
"fa_icon": "far fa-plus-square"
110113
},
111-
"References": {
114+
"references": {
115+
"title": "References",
112116
"type": "object",
113117
"properties": {
114118
"fasta": {
@@ -168,7 +172,8 @@
168172
"fa_icon": "fas fa-dna",
169173
"description": "Specify locations of references and otionally additional pre-made indicies"
170174
},
171-
"Generic options": {
175+
"generic_options": {
176+
"title": "Generic options",
172177
"type": "object",
173178
"properties": {
174179
"help": {
@@ -237,7 +242,8 @@
237242
"description": "Less common options for the pipeline, typically set in a config file.",
238243
"help_text": "These options are common to all nf-core pipelines and allow you to customise some of the core preferences for how the pipeline runs.\n\nTypically these options would be set in a Nextflow config file loaded for all pipeline runs, such as `~/.nextflow/config`."
239244
},
240-
"Max job request options": {
245+
"max_job_request_options": {
246+
"title": "Max job request options",
241247
"type": "object",
242248
"properties": {
243249
"max_cpus": {
@@ -269,7 +275,8 @@
269275
"description": "Set the top limit for requested resources for any single job.",
270276
"help_text": "If you are running on a smaller system, a pipeline step requesting more resources than are available may cause the Nextflow to stop the run with an error. These options allow you to cap the maximum resources requested by any single job so that the pipeline will run on your system.\n\nNote that you can not _increase_ the resources requested by any job using these options. For that you will need your own configuration file. See [the nf-core website](https://nf-co.re/usage/configuration) for details."
271277
},
272-
"Institutional config options": {
278+
"institutional_config_options": {
279+
"title": "Institutional config options",
273280
"type": "object",
274281
"properties": {
275282
"custom_config_version": {
@@ -332,7 +339,8 @@
332339
"description": "Parameters used to describe centralised config profiles. These generally should not be edited.",
333340
"help_text": "The centralised nf-core configuration profiles use a handful of pipeline parameters to describe themselves. This information is then printed to the Nextflow log when you run a pipeline. You should not need to change these values when you run a pipeline."
334341
},
335-
"Skip Steps": {
342+
"skip_steps": {
343+
"title": "Skip steps",
336344
"type": "object",
337345
"description": "Skip any of the mentioned steps.",
338346
"default": "",
@@ -364,7 +372,8 @@
364372
},
365373
"fa_icon": "fas fa-forward"
366374
},
367-
"Complexity Filtering": {
375+
"complexity_filtering": {
376+
"title": "Complexity filtering",
368377
"type": "object",
369378
"description": "Processing of Illumina two-colour chemistry data.",
370379
"default": "",
@@ -382,7 +391,8 @@
382391
},
383392
"fa_icon": "fas fa-sort-amount-down"
384393
},
385-
"Read Clipping and Adapter Removal": {
394+
"read_clipping_and_adapter_removal": {
395+
"title": "Read Clipping and Adapter Removal",
386396
"type": "object",
387397
"description": "Options for adapter clipping and paired-end merging.",
388398
"default": "",
@@ -435,7 +445,8 @@
435445
},
436446
"fa_icon": "fas fa-cut"
437447
},
438-
"Mapper": {
448+
"mapper": {
449+
"title": "Mapper",
439450
"type": "object",
440451
"description": "Options for alignment of processed reads against the reference genome.",
441452
"default": "",
@@ -508,7 +519,8 @@
508519
},
509520
"fa_icon": "fas fa-layer-group"
510521
},
511-
"Stripping": {
522+
"stripping": {
523+
"title": "Stripping",
512524
"type": "object",
513525
"description": "Options for production of host-read removed FASTQ files for privacy reasons.",
514526
"default": "",
@@ -526,7 +538,8 @@
526538
},
527539
"fa_icon": "fas fa-user-shield"
528540
},
529-
"BAM Filtering": {
541+
"bam_filtering": {
542+
"title": "BAM Filtering",
530543
"type": "object",
531544
"description": "Options for quality filtering and how to deal with off-target unmapped reads.",
532545
"default": "",
@@ -554,7 +567,8 @@
554567
},
555568
"fa_icon": "fas fa-filter"
556569
},
557-
"DeDuplication": {
570+
"deduplication": {
571+
"title": "DeDuplication",
558572
"type": "object",
559573
"description": "Options for removal of PCR amplicon duplciates that can artificially inflate coverage.",
560574
"default": "",
@@ -572,7 +586,8 @@
572586
},
573587
"fa_icon": "fas fa-clone"
574588
},
575-
"Library Complexity Analysis": {
589+
"library_complexity_analysis": {
590+
"title": "Library Complexity Analysis",
576591
"type": "object",
577592
"description": "Options for calculating library complexity (i.e. how many unique reads are present).",
578593
"default": "",
@@ -585,7 +600,8 @@
585600
},
586601
"fa_icon": "fas fa-bezier-curve"
587602
},
588-
"(aDNA) Damage Analysis": {
603+
"adna_damage_analysis": {
604+
"title": "(aDNA) Damage Analysis",
589605
"type": "object",
590606
"description": "Options for calculating and filtering for characteristic ancient DNA damage patterns.",
591607
"default": "",
@@ -632,7 +648,8 @@
632648
},
633649
"fa_icon": "fas fa-chart-line"
634650
},
635-
"Annotation Statistics": {
651+
"annotation_statistics": {
652+
"title": "Annotation Statistics",
636653
"type": "object",
637654
"description": "Options for getting reference annotation statistics (e.g. gene coverages)",
638655
"default": "",
@@ -649,7 +666,8 @@
649666
},
650667
"fa_icon": "fas fa-scroll"
651668
},
652-
"BAM Trimming": {
669+
"bam_trimming": {
670+
"title": "BAM Trimming",
653671
"type": "object",
654672
"description": "Options for trimming of aligned reads (e.g. to remove damage prior genotyping).",
655673
"default": "",
@@ -677,7 +695,8 @@
677695
},
678696
"fa_icon": "fas fa-eraser"
679697
},
680-
"Genotyping": {
698+
"genotyping": {
699+
"title": "Genotyping",
681700
"type": "object",
682701
"description": "Options for variant calling.",
683702
"default": "",
@@ -798,7 +817,8 @@
798817
},
799818
"fa_icon": "fas fa-sliders-h"
800819
},
801-
"Consensus Sequence Generation": {
820+
"consensus_sequence_generation": {
821+
"title": "Consensus Sequence Generation",
802822
"type": "object",
803823
"description": "Options for creation of a per-sample FASTA sequence useful for downstream analysis (e.g. multi sequence alignment)",
804824
"default": "",
@@ -834,7 +854,8 @@
834854
},
835855
"fa_icon": "fas fa-handshake"
836856
},
837-
"SNP Table Generation": {
857+
"snp_table_generation": {
858+
"title": "SNP Table Generation",
838859
"type": "object",
839860
"description": "Options for creation of a SNP table useful for downstream analysis (e.g. estimation of cross-mapping of different sepecies and multi-sequence alignment)",
840861
"default": "",
@@ -891,7 +912,8 @@
891912
},
892913
"fa_icon": "fas fa-table"
893914
},
894-
"Mitochondrial to Nuclear Ratio": {
915+
"mitochondrial_to_nuclear_ratio": {
916+
"title": "Mitochondrial to Nuclear Ratio",
895917
"type": "object",
896918
"description": "Options for the calculation of ratio of reads to one chromosome/FASTA entry against all others.",
897919
"default": "",
@@ -909,7 +931,8 @@
909931
},
910932
"fa_icon": "fas fa-balance-scale-left"
911933
},
912-
"Sex Determination": {
934+
"sex_determination": {
935+
"title": "Sex Determination",
913936
"type": "object",
914937
"description": "Options for the calculation of biological sex of human individuals.",
915938
"default": "",
@@ -926,7 +949,8 @@
926949
},
927950
"fa_icon": "fas fa-transgender"
928951
},
929-
"Nuclear Contamination for Human DNA": {
952+
"nuclear_contamination_for_human_dna": {
953+
"title": "Nuclear Contamination for Human DNA",
930954
"type": "object",
931955
"description": "Options for the estimation of contamination of human DNA.",
932956
"default": "",
@@ -944,7 +968,8 @@
944968
},
945969
"fa_icon": "fas fa-radiation-alt"
946970
},
947-
"Metagenomic Screening": {
971+
"metagenomic_screening": {
972+
"title": "Metagenomic Screening",
948973
"type": "object",
949974
"description": "Options for metagenomic screening of off-target reads.",
950975
"default": "",
@@ -1011,7 +1036,8 @@
10111036
},
10121037
"fa_icon": "fas fa-search"
10131038
},
1014-
"Metagenomic Authentication": {
1039+
"metagenomic_authentication": {
1040+
"title": "Metagenomic Authentication",
10151041
"type": "object",
10161042
"description": "Options for authentication of metagenomic screening performed by MALT.",
10171043
"default": "",
@@ -1082,5 +1108,85 @@
10821108
},
10831109
"fa_icon": "fas fa-tasks"
10841110
}
1085-
}
1086-
}
1111+
},
1112+
"allOf": [
1113+
{
1114+
"$ref": "#/definitions/input_options"
1115+
},
1116+
{
1117+
"$ref": "#/definitions/output_options"
1118+
},
1119+
{
1120+
"$ref": "#/definitions/input_data_additional_options"
1121+
},
1122+
{
1123+
"$ref": "#/definitions/references"
1124+
},
1125+
{
1126+
"$ref": "#/definitions/generic_options"
1127+
},
1128+
{
1129+
"$ref": "#/definitions/max_job_request_options"
1130+
},
1131+
{
1132+
"$ref": "#/definitions/institutional_config_options"
1133+
},
1134+
{
1135+
"$ref": "#/definitions/skip_steps"
1136+
},
1137+
{
1138+
"$ref": "#/definitions/complexity_filtering"
1139+
},
1140+
{
1141+
"$ref": "#/definitions/read_clipping_and_adapter_removal"
1142+
},
1143+
{
1144+
"$ref": "#/definitions/mapper"
1145+
},
1146+
{
1147+
"$ref": "#/definitions/stripping"
1148+
},
1149+
{
1150+
"$ref": "#/definitions/bam_filtering"
1151+
},
1152+
{
1153+
"$ref": "#/definitions/deduplication"
1154+
},
1155+
{
1156+
"$ref": "#/definitions/library_complexity_analysis"
1157+
},
1158+
{
1159+
"$ref": "#/definitions/adna_damage_analysis"
1160+
},
1161+
{
1162+
"$ref": "#/definitions/annotation_statistics"
1163+
},
1164+
{
1165+
"$ref": "#/definitions/bam_trimming"
1166+
},
1167+
{
1168+
"$ref": "#/definitions/genotyping"
1169+
},
1170+
{
1171+
"$ref": "#/definitions/consensus_sequence_generation"
1172+
},
1173+
{
1174+
"$ref": "#/definitions/snp_table_generation"
1175+
},
1176+
{
1177+
"$ref": "#/definitions/mitochondrial_to_nuclear_ratio"
1178+
},
1179+
{
1180+
"$ref": "#/definitions/sex_determination"
1181+
},
1182+
{
1183+
"$ref": "#/definitions/nuclear_contamination_for_human_dna"
1184+
},
1185+
{
1186+
"$ref": "#/definitions/metagenomic_screening"
1187+
},
1188+
{
1189+
"$ref": "#/definitions/metagenomic_authentication"
1190+
}
1191+
]
1192+
}

0 commit comments

Comments
 (0)