forked from RaqManzano/rnadnavar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nextflow_schema.json
973 lines (972 loc) · 60 KB
/
nextflow_schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/nf-core/rnadnavar/master/nextflow_schema.json",
"title": "nf-core/rnadnavar pipeline parameters",
"description": "Pipeline for RNA and DNA integrated analysis for somatic mutation detection",
"type": "object",
"definitions": {
"input_output_options": {
"title": "Input/output options",
"type": "object",
"fa_icon": "fas fa-terminal",
"description": "Define where the pipeline should find input data and save output data.",
"required": [
"input",
"outdir"
],
"properties": {
"input": {
"description": "Path to comma-separated file containing information about the samples in the experiment.",
"help_text": "A design file with information about the samples in your experiment. Use this parameter to specify the location of the input files. It has to be a comma-separated file with a header row. See [usage docs](https://nf-co.re/sarek/usage#input).\n\nIf no input file is specified, sarek will attempt to locate one in the `{outdir}` directory. If no input should be supplied, i.e. when --step is supplied or --build_from_index, then set --input false",
"fa_icon": "fas fa-file-csv",
"schema": "assets/schema_input.json",
"anyOf": [
{
"type": "string",
"format": "file-path",
"exists": true,
"mimetype": "text/csv",
"pattern": "^\\S+\\.csv$"
},
{
"type": "boolean",
"enum": ["false"]
}
]
},
"input_restart": {
"type": "string",
"format": "file-path",
"exists": true,
"mimetype": "text/csv",
"pattern": "^\\S+\\.csv$",
"hidden": true,
"schema": "assets/schema_input.json"
},
"split_fastq": {
"type": "integer",
"default": 50000000
},
"step": {
"type": "string",
"default": "mapping",
"fa_icon": "fas fa-play",
"description": "Starting step",
"help_text": "The pipeline starts from this step and then runs through the possible subsequent steps.",
"enum": [
"mapping",
"markduplicates",
"splitncigar",
"prepare_recalibration",
"recalibrate",
"variant_calling",
"normalization",
"consensus",
"annotate",
"filtering"
]
},
"outdir": {
"type": "string",
"format": "directory-path",
"description": "The output directory where the results will be saved. You have to use absolute paths to storage on Cloud infrastructure.",
"fa_icon": "fas fa-folder-open"
},
"save_mapped": {
"type": "boolean",
"fa_icon": "fas fa-download",
"description": "Save mapped files.",
"help_text": "If the parameter `--split-fastq` is used, the sharded bam files are merged and converted to CRAM before saving them."
},
"save_bam_mapped": {
"type": "boolean",
"fa_icon": "fas fa-download",
"description": "Save mapped BAMs.",
"help_text": "If the parameter `--split-fastq` is used, the sharded bam files are merged before saving them."
},
"save_output_as_bam": {
"type": "boolean",
"description": "Saves output from Markduplicates & Baserecalibration as BAM file instead of CRAM",
"fa_icon": "fas fa-download"
}
}
},
"reference_genome_options": {
"title": "Reference genome options",
"type": "object",
"fa_icon": "fas fa-dna",
"description": "Reference genome related files and options required for the workflow.",
"properties": {
"genome": {
"type": "string",
"description": "Name of iGenomes reference.",
"default": "GATK.GRCh38",
"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."
},
"bwa": {
"type": "string",
"fa_icon": "fas fa-copy",
"description": "Path to BWA mem indices.",
"help_text": "If you use AWS iGenomes, this has already been set for you appropriately.\n\nIf you wish to recompute indices available on igenomes, set `--bwa false`.\n\n> **NB** If none provided, will be generated automatically from the FASTA reference. Combine with `--save_reference` to save for future runs.",
"hidden": true
},
"bwamem2": {
"type": "string",
"fa_icon": "fas fa-copy",
"description": "Path to bwa-mem2 mem indices.",
"help_text": "If you use AWS iGenomes, this has already been set for you appropriately.\n\nIf you wish to recompute indices available on igenomes, set `--bwamem2 false`.\n\n> **NB** If none provided, will be generated automatically from the FASTA reference, if `--aligner bwa-mem2` is specified. Combine with `--save_reference` to save for future runs.",
"hidden": true
},
"dragmap": {
"type": "string",
"fa_icon": "fas fa-copy",
"description": "Path to dragmap indices.",
"help_text": "If you use AWS iGenomes, this has already been set for you appropriately.\n\nIf you wish to recompute indices available on igenomes, set `--dragmap false`.\n\n> **NB** If none provided, will be generated automatically from the FASTA reference, if `--aligner dragmap` is specified. Combine with `--save_reference` to save for future runs.",
"hidden": true
},
"hisat2_index": {
"type": "string",
"description": "Path to STAR index folder or compressed file (tar.gz)",
"help_text": "This parameter can be used if there is an pre-defined STAR index available. You can either give the full path to the index directory or a compressed file in tar.gz format."
},
"splicesites": {
"type": "string",
"format": "file-path",
"mimetype": "text/plain",
"fa_icon": "fas fa-hand-scissors",
"description": "Splice sites file required for HISAT2."
},
"star_index": {
"type": "string",
"description": "Path to STAR index folder or compressed file (tar.gz)",
"help_text": "This parameter can be used if there is an pre-defined STAR index available. You can either give the full path to the index directory or a compressed file in tar.gz format."
},
"star_twopass": {
"type": "boolean",
"description": "Enable STAR 2-pass mapping mode.",
"help_text": "This parameter enables STAR to perform 2-pass mapping. Default true."
},
"star_ignore_sjdbgtf": {
"type": "boolean",
"description": "Do not use GTF file during STAR index buidling step",
"help_text": "Do not use parameter --sjdbGTFfile <GTF file> during the STAR genomeGenerate process."
},
"star_max_memory_bamsort": {
"type": "integer",
"default": 0,
"description": "Option to limit RAM when sorting BAM file. Value to be specified in bytes. If 0, will be set to the genome index size.",
"help_text": "This parameter specifies the maximum available RAM (bytes) for sorting BAM during STAR alignment."
},
"star_bins_bamsort": {
"type": "integer",
"default": 50,
"description": "Specifies the number of genome bins for coordinate-sorting",
"help_text": "This parameter specifies the number of bins to be used for coordinate sorting during STAR alignment step."
},
"star_max_collapsed_junc": {
"type": "integer",
"default": 1000000,
"description": "Specifies the maximum number of collapsed junctions"
},
"read_length": {
"type": "number",
"default": 151.0,
"description": "Read length",
"help_text": "Specify the read length for the STAR aligner."
},
"nucleotides_per_second": {
"type": "number",
"fa_icon": "fas fa-clock",
"description": "Estimate interval size.",
"help_text": "Intervals are parts of the chopped up genome used to speed up preprocessing and variant calling. See `--intervals` for more info. \n\nChanging this parameter, changes the number of intervals that are grouped and processed together. Bed files from target sequencing can contain thousands or small intervals. Spinning up a new process for each can be quite resource intensive. Instead it can be desired to process small intervals together on larger nodes. \nIn order to make use of this parameter, no runtime estimate can be present in the bed file (column 5). ",
"default": 1000.0
},
"dbsnp": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Path to dbsnp file.",
"hidden": true,
"help_text": "If you use AWS iGenomes, this has already been set for you appropriately."
},
"dbsnp_tbi": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Path to dbsnp index.",
"help_text": "If you use AWS iGenomes, this has already been set for you appropriately.\n\n> **NB** If none provided, will be generated automatically from the dbsnp file. Combine with `--save_reference` to save for future runs.",
"hidden": true
},
"dict": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Path to FASTA dictionary file.",
"help_text": "If you use AWS iGenomes, this has already been set for you appropriately.\n\n> **NB** If none provided, will be generated automatically from the FASTA reference. Combine with `--save_reference` to save for future runs.",
"hidden": true
},
"fasta": {
"type": "string",
"format": "file-path",
"exists": true,
"mimetype": "text/plain",
"pattern": "^\\S+\\.fn?a(sta)?(\\.gz)?$",
"description": "Path to FASTA genome file.",
"help_text": "If you use AWS iGenomes, this has already been set for you appropriately.\n\nThis parameter is *mandatory* if `--genome` is not specified.",
"fa_icon": "far fa-file-code"
},
"fasta_fai": {
"type": "string",
"fa_icon": "fas fa-file",
"help_text": "If you use AWS iGenomes, this has already been set for you appropriately.\n\n> **NB** If none provided, will be generated automatically from the FASTA reference. Combine with `--save_reference` to save for future runs.",
"description": "Path to FASTA reference index."
},
"germline_resource": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Path to GATK Mutect2 Germline Resource File.",
"help_text": "If you use AWS iGenomes, this has already been set for you appropriately.\n\nThe germline resource VCF file (bgzipped and tabixed) needed by GATK4 Mutect2 is a collection of calls that are likely present in the sample, with allele frequencies.\nThe AF info field must be present.\nYou can find a smaller, stripped gnomAD VCF file (most of the annotation is removed and only calls signed by PASS are stored) in the AWS iGenomes Annotation/GermlineResource folder.",
"hidden": true
},
"germline_resource_tbi": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Path to GATK Mutect2 Germline Resource Index.",
"help_text": "If you use AWS iGenomes, this has already been set for you appropriately.\n\n> **NB** If none provided, will be generated automatically from the Germline Resource file, if provided. Combine with `--save_reference` to save for future runs.",
"hidden": true
},
"known_indels": {
"type": "string",
"fa_icon": "fas fa-copy",
"description": "Path to known indels file.",
"hidden": true,
"help_text": "If you use AWS iGenomes, this has already been set for you appropriately."
},
"known_indels_tbi": {
"type": "string",
"fa_icon": "fas fa-copy",
"description": "Path to known indels file index.",
"help_text": "If you use AWS iGenomes, this has already been set for you appropriately.\n\n> **NB** If none provided, will be generated automatically from the known index file, if provided. Combine with `--save_reference` to save for future runs.",
"hidden": true
},
"known_snps": {
"type": "string",
"fa_icon": "fas fa-copy",
"description": "If you use AWS iGenomes, this has already been set for you appropriately.\n\nPath to known snps file."
},
"known_snps_tbi": {
"type": "string",
"fa_icon": "fas fa-copy",
"description": "Path to known snps file snps.",
"help_text": "If you use AWS iGenomes, this has already been set for you appropriately.\n\n> **NB** If none provided, will be generated automatically from the known index file, if provided. Combine with `--save_reference` to save for future runs."
},
"vep_genome": {
"type": "string",
"fa_icon": "fas fa-microscope",
"description": "VEP genome.",
"help_text": "If you use AWS iGenomes, this has already been set for you appropriately.\nThis is used to specify the genome when using the container with pre-downloaded cache.",
"hidden": true
},
"vep_species": {
"type": "string",
"fa_icon": "fas fa-microscope",
"description": "VEP species.",
"help_text": "If you use AWS iGenomes, this has already been set for you appropriately.\nAlternatively species listed in Ensembl Genomes caches can be used.",
"hidden": true
},
"vep_cache_version": {
"type": "number",
"fa_icon": "fas fa-tag",
"description": "VEP cache version.",
"help_text": "If you use AWS iGenomes, this has already been set for you appropriately.\nAlternatively cache version can be use to specify the correct Ensembl Genomes version number as these differ from the concurrent Ensembl/VEP version numbers",
"hidden": true
},
"save_reference": {
"type": "boolean",
"fa_icon": "fas fa-download",
"description": "Save built references.",
"help_text": "Set this parameter, if you wish to save all computed reference files. This is useful to avoid re-computation on future runs."
},
"build_only_index": {
"type": "boolean",
"fa_icon": "fas fa-download",
"description": "Only built references.",
"help_text": "Set this parameter, if you wish to compute and save all computed reference files. No alignment or any other downstream steps will be performed."
},
"download_cache": {
"type": "boolean",
"fa_icon": "fas fa-download",
"description": "Download annotation cache.",
"help_text": "Set this parameter, if you wish to download annotation cache."
},
"igenomes_base": {
"type": "string",
"format": "directory-path",
"description": "Directory / URL base for iGenomes references.",
"default": "s3://ngi-igenomes/igenomes",
"fa_icon": "fas fa-cloud-download-alt",
"hidden": true
},
"igenomes_ignore": {
"type": "boolean",
"description": "Do not load the iGenomes reference config.",
"fa_icon": "fas fa-ban",
"hidden": true,
"help_text": "Do not load `igenomes.config` when running the pipeline. You may choose this option if you observe clashes between custom parameters and those supplied in `igenomes.config`."
},
"hisat2_build_memory": {
"type": "string",
"default": "200.GB",
"fa_icon": "fas fa-memory",
"pattern": "^\\d+(\\.\\d+)?\\.?\\s*(K|M|G|T)?B$",
"description": "Minimum memory required to use splice sites and exons in the HiSAT2 index build process.",
"help_text": "HiSAT2 requires a huge amount of RAM to build a genome index for larger genomes, if including splice sites and exons e.g. the human genome might typically require 200GB. If you specify less than this threshold for the `HISAT2_BUILD` process then the splice sites and exons will be ignored, meaning that the process will require a lot less memory. If you are working with a small genome, set this parameter to a lower value to reduce the threshold for skipping this check. If using a larger genome, consider supplying more memory to the `HISAT2_BUILD` process."
},
"gtf": {
"type": "string",
"description": "Path to GTF annotation file.",
"help_text": "This parameter is *mandatory* if `--genome` is not specified."
},
"gff": {
"type": "string",
"description": "Path to GFF3 annotation file.",
"help_text": "This parameter must be specified if `--genome` or `--gtf` are not specified."
},
"exon_bed": {
"type": "string",
"description": "Path to BED file containing exon intervals. This will be created from the GTF file if not specified."
}
},
"help_text": "The pipeline config files come bundled with paths to the Illumina iGenomes reference index files.\nThe configuration is set up to use the AWS-iGenomes resource\ncf https://ewels.github.io/AWS-iGenomes/."
},
"fastq_preprocessing": {
"title": "FASTQ Preprocessing",
"type": "object",
"description": "Trim fastq file or handle UMIs",
"default": "",
"fa_icon": "fas fa-cut",
"properties": {
"trim_fastq": {
"type": "boolean",
"fa_icon": "fas fa-cut",
"description": "Run FastP for read trimming",
"help_text": "Use this to perform adapter trimming. Adapter are detected automatically by using the FastP flag `--detect_adapter_for_pe`. For more info see [FastP](https://github.com/OpenGene/fastp)."
},
"clip_r1": {
"type": "integer",
"default": 0,
"fa_icon": "fas fa-cut",
"description": "Remove bp from the 5' end of read 1",
"help_text": "This may be useful if the qualities were very poor, or if there is some sort of unwanted bias at the 5' end. Corresponds to the FastP flag `--trim_front1`.",
"hidden": true
},
"clip_r2": {
"type": "integer",
"default": 0,
"description": "Remove bp from the 5' end of read 2",
"help_text": "This may be useful if the qualities were very poor, or if there is some sort of unwanted bias at the 5' end. Corresponds to the FastP flag `--trim_front2`.",
"fa_icon": "fas fa-cut",
"hidden": true
},
"three_prime_clip_r1": {
"type": "integer",
"default": 0,
"fa_icon": "fas fa-cut",
"description": "Remove bp from the 3' end of read 1",
"help_text": "This may remove some unwanted bias from the 3'. Corresponds to the FastP flag `--three_prime_clip_r1`.",
"hidden": true
},
"three_prime_clip_r2": {
"type": "integer",
"default": 0,
"fa_icon": "fas fa-cut",
"description": "Remove bp from the 3' end of read 2",
"help_text": "This may remove some unwanted bias from the 3' end. Corresponds to the FastP flag `--three_prime_clip_r2`.",
"hidden": true
},
"trim_nextseq": {
"type": "integer",
"default": 0,
"fa_icon": "fas fa-cut",
"description": "Removing poly-G tails.",
"help_text": "DetectS polyG in read tails and trim them. Corresponds to the FastP flag `--trim_poly_g`.",
"hidden": true
},
"save_trimmed": {
"type": "boolean",
"fa_icon": "fas fa-save",
"description": "Save trimmed FastQ file intermediates.",
"hidden": true
},
"save_split_fastqs": {
"type": "boolean",
"fa_icon": "fas fa-vial",
"description": "If set, publishes split FASTQ files. Intended for testing purposes.",
"hidden": true
}
}
},
"pipeline_stage_options": {
"title": "Pipeline stage options",
"type": "object",
"fa_icon": "fas fa-terminal",
"description": "Define parameters that control the stages in the pipeline",
"properties": {
"tools": {
"type": "string",
"fa_icon": "fas fa-toolbox",
"description": "Tools to use for variant calling and/or for annotation.",
"help_text": "Multiple tools separated with commas.\n\n**Variant Calling:**\n\nSomatic variant calling can currently only be performed with the following variant callers:\n- SNPs/Indels: FreeBayes, Mutect2, Strelka2, SAGE\n\n> **NB** Mutect2 for somatic variant calling cannot be combined with `--no_intervals`\n\n**Annotation:**\n \n- VEP (only).\n\n> **NB** As RNADNAVAR will use bgzip and tabix to compress and index VCF files annotated, it expects VCF files to be sorted when starting from `--step annotate`.",
"pattern": "^((freebayes|manta|merge|sage|mutect2|strelka|vep|consensus|filtering|normalise|normalize|rna_filtering|vcf_qc|vcf2maf|preprocessing|second_run)*,?)*$"
},
"skip_tools": {
"type": "string",
"fa_icon": "fas fa-forward",
"description": "Disable specified tools.",
"help_text": "Multiple tools can be specified, separated by commas.\n\n> **NB** `--skip_tools baserecalibrator_report` is actually just not saving the reports.\n> **NB** `--skip_tools markduplicates_report` does not skip `MarkDuplicates` but prevent the collection of duplicate metrics that slows down performance.",
"pattern": "^((contamination|learnreadorientation|baserecalibrator|baserecalibrator_report|bcftools|documentation|fastqc|markduplicates|markduplicates_report|mosdepth|multiqc|samtools|vcftools|versions|splitncigar|second_pass)*(,)*)*$"
},
"wes": {
"type": "boolean",
"fa_icon": "fas fa-dna",
"description": "Enable when exome or panel data is provided.",
"help_text": "With this parameter flags in various tools are set for targeted sequencing data. It is recommended to enable for whole-exome and panel data analysis."
}
}
},
"alignment_options": {
"title": "Alignment options",
"type": "object",
"fa_icon": "fas fa-terminal",
"description": "Define parameters related to read alignment",
"properties": {
"aligner": {
"type": "string",
"default": "bwa-mem",
"fa_icon": "fas fa-puzzle-piece",
"enum": ["bwa-mem", "bwa-mem2", "dragmap", "sentieon-bwamem"],
"description": "Specify aligner to be used to map reads to reference genome.",
"help_text": "Sarek will build missing indices automatically if not provided. Set `--bwa false` if indices should be (re-)built.\nIf DragMap is selected as aligner, it is recommended to skip baserecalibration with `--skip_tools baserecalibrator`. For more info see [here](https://gatk.broadinstitute.org/hc/en-us/articles/4407897446939--How-to-Run-germline-single-sample-short-variant-discovery-in-DRAGEN-mode)."
},
"save_unaligned": {
"type": "boolean",
"description": "Where possible, save unaligned reads from aligner to the results directory.",
"help_text": "This may either be in the form of FastQ or BAM files depending on the options available for that particular tool."
},
"save_align_intermeds": {
"type": "boolean",
"description": "Save the intermediate BAM files from the alignment step.",
"help_text": "By default, intermediate BAM files will not be saved. The final BAM files created after the appropriate filtering step are always saved to limit storage usage. Set this parameter to also save other intermediate BAM files."
},
"bam_csi_index": {
"type": "boolean",
"description": "Create a CSI index for BAM files instead of the traditional BAI index. This will be required for genomes with larger chromosome sizes."
}
}
},
"variant_calling": {
"title": "Variant calling",
"type": "object",
"description": "",
"default": "",
"fa_icon": "fas fa-toolbox",
"properties": {
"remove_duplicates": {
"type": "boolean",
"default": false
},
"no_intervals": {
"type": "boolean",
"default": false
},
"intervals": {
"type": "string",
"fa_icon": "fas fa-file-alt",
"help_text": "To speed up preprocessing and variant calling processes, the execution is parallelized across a reference chopped into smaller pieces.\n\nParts of preprocessing and variant calling are done by these intervals, the different resulting files are then merged.\nThis can parallelize processes, and push down wall clock time significantly.\n\nWe are aligning to the whole genome, and then run Base Quality Score Recalibration and Variant Calling on the supplied regions.\n\n**Whole Genome Sequencing:**\n\nThe (provided) intervals are chromosomes cut at their centromeres (so each chromosome arm processed separately) also additional unassigned contigs.\n\nWe are ignoring the `hs37d5` contig that contains concatenated decoy sequences.\n\nThe calling intervals can be defined using a .list or a BED file.\nA .list file contains one interval per line in the format `chromosome:start-end` (1-based coordinates).\nA BED file must be a tab-separated text file with one interval per line.\nThere must be at least three columns: chromosome, start, and end (0-based coordinates).\nAdditionally, the score column of the BED file can be used to provide an estimate of how many seconds it will take to call variants on that interval.\nThe fourth column remains unused.\n\n```\n|chr1|10000|207666|NA|47.3|\n```\nThis indicates that variant calling on the interval chr1:10001-207666 takes approximately 47.3 seconds.\n\nThe runtime estimate is used in two different ways.\nFirst, when there are multiple consecutive intervals in the file that take little time to compute, they are processed as a single job, thus reducing the number of processes that needs to be spawned.\nSecond, the jobs with largest processing time are started first, which reduces wall-clock time.\nIf no runtime is given, a time of 1000 nucleotides per second is assumed. See `-nucleotides_per_second` on how to customize this.\nActual figures vary from 2 nucleotides/second to 30000 nucleotides/second.\nIf you prefer, you can specify the full path to your reference genome when you run the pipeline:\n\n> **NB** If none provided, will be generated automatically from the FASTA reference\n> **NB** Use --no_intervals to disable automatic generation.\n\n**Targeted Sequencing:**\n\nThe recommended flow for targeted sequencing data is to use the workflow as it is, but also provide a `BED` file containing targets for all steps using the `--intervals` option. In addition, the parameter `--wes` should be set.\nIt is advised to pad the variant calling regions (exons or target) to some extent before submitting to the workflow.\n\nThe procedure is similar to whole genome sequencing, except that only BED file are accepted. See above for formatting description.\nAdding every exon as an interval in case of `WES` can generate >200K processes or jobs, much more forks, and similar number of directories in the Nextflow work directory. These are appropriately grouped together to reduce number of processes run in parallel (see above and `--nucleotides_per_second` for details). \nFurthermore, primers and/or baits are not 100% specific, (certainly not for MHC and KIR, etc.), quite likely there going to be reads mapping to multiple locations.\nIf you are certain that the target is unique for your genome (all the reads will certainly map to only one location), and aligning to the whole genome is an overkill, it is actually better to change the reference itself.",
"description": "Path to target bed file in case of whole exome or targeted sequencing or intervals file."
},
"gatk_interval_scatter_count": {
"type": "integer",
"default": 25
},
"pon": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Panel-of-normals VCF (bgzipped) for GATK Mutect2",
"help_text": "Without PON, there will be no calls with PASS in the INFO field, only an unfiltered VCF is written.\nIt is highly recommended to make your own PON, as it depends on sequencer and library preparation.\n\nThe pipeline is shipped with a panel-of-normals for `--genome GATK.GRCh38` provided by [GATK](https://gatk.broadinstitute.org/hc/en-us/articles/360035890631-Panel-of-Normals-PON-). \n\nSee [PON documentation](https://gatk.broadinstitute.org/hc/en-us/articles/360042479112-CreateSomaticPanelOfNormals-BETA)\n> **NB** PON file should be bgzipped.",
"hidden": true
},
"pon_tbi": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Index of PON panel-of-normals VCF.",
"help_text": "If none provided, will be generated automatically from the PON bgzipped VCF file.",
"hidden": true
},
"joint_mutect2": {
"type": "boolean",
"fa_icon": "fas fa-angle-double-right",
"description": "Runs Mutect2 in joint (multi-sample) mode for better concordance among variant calls of tumor samples from the same patient. Mutect2 outputs will be stored in a subfolder named with patient ID under `variant_calling/mutect2/` folder. Only a single normal sample per patient is allowed. Tumor-only mode is also supported."
},
"sage_highconfidence": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Bed file with known high confidence used as input in Sage variant caller",
"hidden": true
},
"sage_actionablepanel": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Bed file with ac actionable list of variants used as input in Sage variant caller",
"hidden": true
},
"sage_knownhotspots": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Known hotspots used as input in Sage variant caller",
"hidden": true
},
"sage_ensembl_dir": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Directory to ensembl cache for SAGE",
"hidden": true
},
"sage_custom_args": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Custom parameters for SAGE",
"hidden": true
},
"ignore_soft_clipped_bases": {
"type": "boolean",
"fa_icon": "fas fa-ban",
"description": "Do not analyze soft clipped bases in the reads for GATK Mutect2.",
"help_text": "use the `--dont-use-soft-clipped-bases` params with GATK Mutect2.",
"hidden": true
}
}
},
"annotation": {
"title": "Annotation",
"type": "object",
"description": "",
"default": "",
"fa_icon": "fas fa-toolbox",
"properties": {
"vep_include_fasta": {
"type": "boolean",
"fa_icon": "fas fa-file",
"description": "Allow usage of fasta file for annotation with VEP",
"hidden": true,
"help_text": "By pointing VEP to a FASTA file, it is possible to retrieve reference sequence locally. This enables VEP to retrieve HGVS notations (--hgvs), check the reference sequence given in input data, and construct transcript models from a GFF or GTF file without accessing a database.\n\nFor details, see [here](https://www.ensembl.org/info/docs/tools/vep/script/vep_cache.html#fasta)."
},
"vep_dbnsfp": {
"type": "boolean",
"fa_icon": "fas fa-database",
"description": "Enable the use of the VEP dbNSFP plugin.",
"hidden": true,
"help_text": "For details, see [here](https://www.ensembl.org/info/docs/tools/vep/script/vep_plugins.html#dbnsfp)."
},
"dbnsfp": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Path to dbNSFP processed file.",
"help_text": "To be used with `--vep_dbnsfp`.\ndbNSFP files and more information are available at https://www.ensembl.org/info/docs/tools/vep/script/vep_plugins.html#dbnsfp and https://sites.google.com/site/jpopgen/dbNSFP/",
"hidden": true
},
"dbnsfp_tbi": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Path to dbNSFP tabix indexed file.",
"help_text": "To be used with `--vep_dbnsfp`.",
"hidden": true
},
"dbnsfp_consequence": {
"type": "string",
"fa_icon": "fas fa-arrow-alt-circle-right",
"description": "Consequence to annotate with",
"help_text": "To be used with `--vep_dbnsfp`.\nThis params is used to filter/limit outputs to a specific effect of the variant.\nThe set of consequence terms is defined by the Sequence Ontology and an overview of those used in VEP can be found here: https://www.ensembl.org/info/genome/variation/prediction/predicted_data.html\nIf one wants to filter using several consequences, then separate those by using '&' (i.e. 'consequence=3_prime_UTR_variant&intron_variant'.",
"hidden": true
},
"dbnsfp_fields": {
"type": "string",
"fa_icon": "fas fa-border-all",
"description": "Fields to annotate with",
"default": "rs_dbSNP,HGVSc_VEP,HGVSp_VEP,1000Gp3_EAS_AF,1000Gp3_AMR_AF,LRT_score,GERP++_RS,gnomAD_exomes_AF",
"help_text": "To be used with `--vep_dbnsfp`.\nThis params can be used to retrieve individual values from the dbNSFP file. The values correspond to the name of the columns in the dbNSFP file and are separated by comma.\nThe column names might differ between the different dbNSFP versions. Please check the Readme.txt file, which is provided with the dbNSFP file, to obtain the correct column names. The Readme file contains also a short description of the provided values and the version of the tools used to generate them.\n\nDefault value are explained below:\n\nrs_dbSNP - rs number from dbSNP\nHGVSc_VEP - HGVS coding variant presentation from VEP. Multiple entries separated by ';', corresponds to Ensembl_transcriptid\nHGVSp_VEP - HGVS protein variant presentation from VEP. Multiple entries separated by ';', corresponds to Ensembl_proteinid\n1000Gp3_EAS_AF - Alternative allele frequency in the 1000Gp3 East Asian descendent samples\n1000Gp3_AMR_AF - Alternative allele counts in the 1000Gp3 American descendent samples\nLRT_score - Original LRT two-sided p-value (LRTori), ranges from 0 to 1\nGERP++_RS - Conservation score. The larger the score, the more conserved the site, ranges from -12.3 to 6.17\ngnomAD_exomes_AF - Alternative allele frequency in the whole gnomAD exome samples.",
"hidden": true
},
"vep_loftee": {
"type": "boolean",
"fa_icon": "fas fa-database",
"description": "Enable the use of the VEP LOFTEE plugin.",
"hidden": true,
"help_text": "For details, see [here](https://github.com/konradjk/loftee)."
},
"genesplicer": {
"type": "boolean",
"fa_icon": "fas fa-database",
"description": "Enable the use of the VEP genesplicer plugin.",
"help_text": "For details, see [here](https://ccb.jhu.edu/software/genesplicer/)."
},
"vep_spliceai": {
"type": "boolean",
"fa_icon": "fas fa-database",
"description": "Enable the use of the VEP SpliceAI plugin.",
"hidden": true,
"help_text": "For details, see [here](https://www.ensembl.org/info/docs/tools/vep/script/vep_plugins.html#spliceai)."
},
"spliceai_snv": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Path to spliceai raw scores snv file.",
"help_text": "To be used with `--vep_spliceai`.",
"hidden": true
},
"spliceai_snv_tbi": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Path to spliceai raw scores snv tabix indexed file.",
"help_text": "To be used with `--vep_spliceai`.",
"hidden": true
},
"spliceai_indel": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Path to spliceai raw scores indel file.",
"help_text": "To be used with `--vep_spliceai`.",
"hidden": true
},
"spliceai_indel_tbi": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Path to spliceai raw scores indel tabix indexed file.",
"help_text": "To be used with `--vep_spliceai`.",
"hidden": true
},
"vep_spliceregion": {
"type": "boolean",
"fa_icon": "fas fa-database",
"description": "Enable the use of the VEP SpliceRegion plugin.",
"hidden": true,
"help_text": "For details, see [here](https://www.ensembl.org/info/docs/tools/vep/script/vep_plugins.html#spliceregion) and [here](https://www.ensembl.info/2018/10/26/cool-stuff-the-vep-can-do-splice-site-variant-annotation/)."
},
"vep_custom_args": {
"type": "string",
"default": "--everything --filter_common --per_gene --total_length --offline --format vcf",
"fa_icon": "fas fa-toolbox",
"description": "Add an extra custom argument to VEP.",
"hidden": true,
"help_text": "Using this params you can add custom args to VEP."
},
"vep_cache": {
"type": "string",
"fa_icon": "fas fa-file",
"description": "Path to VEP cache.",
"help_text": "To be used with `--annotation_cache`.",
"hidden": true
},
"outdir_cache": {
"type": "string",
"format": "directory-path",
"description": "The output directory where the cache will be saved. You have to use absolute paths to storage on Cloud infrastructure.",
"fa_icon": "fas fa-folder-open",
"hidden": true
},
"vep_out_format": {
"type": "string",
"default": "vcf",
"description": "VEP output-file format.",
"enum": [
"json",
"tab",
"vcf"
],
"help_text": "Sets the format of the output-file from VEP. Available formats: json, tab and vcf.",
"fa_icon": "fas fa-table",
"hidden": true
},
"whitelist": {
"type": "string",
"fa_icon": "fas fa-database",
"description": "Path to BED file with variants to whitelist during filtering"
},
"blacklist": {
"type": "string",
"fa_icon": "fas fa-database",
"description": "Path to BED file with positions to blacklist during filtering (e.g. regions difficult to map)"
},
"annotation_cache": {
"type": "string",
"fa_icon": "fas fa-database",
"description": ""
}
}
},
"institutional_config_options": {
"title": "Institutional config options",
"type": "object",
"fa_icon": "fas fa-university",
"description": "Parameters used to describe centralised config profiles. These should not be edited.",
"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.",
"properties": {
"custom_config_version": {
"type": "string",
"description": "Git commit id for Institutional configs.",
"default": "master",
"hidden": true,
"fa_icon": "fas fa-users-cog"
},
"custom_config_base": {
"type": "string",
"description": "Base directory for Institutional configs.",
"default": "https://raw.githubusercontent.com/nf-core/configs/master",
"hidden": true,
"help_text": "If you're running offline, Nextflow will not be able to fetch the institutional config files from the internet. If you don't need them, then this is not a problem. If you do need them, you should download the files from the repo and tell Nextflow where to find them with this parameter.",
"fa_icon": "fas fa-users-cog"
},
"config_profile_name": {
"type": "string",
"description": "Institutional config name.",
"hidden": true,
"fa_icon": "fas fa-users-cog"
},
"config_profile_description": {
"type": "string",
"description": "Institutional config description.",
"hidden": true,
"fa_icon": "fas fa-users-cog"
},
"config_profile_contact": {
"type": "string",
"description": "Institutional config contact information.",
"hidden": true,
"fa_icon": "fas fa-users-cog"
},
"config_profile_url": {
"type": "string",
"description": "Institutional config URL link.",
"hidden": true,
"fa_icon": "fas fa-users-cog"
},
"test_data_base": {
"type": "string",
"default": "https://raw.githubusercontent.com/nf-core/test-datasets/sarek3",
"description": "Base path / URL for data used in the test profiles",
"help_text": "Warning: The `-profile test` samplesheet file itself contains remote paths. Setting this parameter does not alter the contents of that file.",
"hidden": true
},
"seq_center": {
"type": "string",
"fa_icon": "fas fa-university",
"description": "Sequencing center information to be added to read group (CN field).",
"hidden": true
},
"seq_platform": {
"type": "string",
"fa_icon": "fas fa-university",
"default": "ILLUMINA",
"description": "Sequencing platform information to be added to read group (PL field).",
"help_text": "Default: ILLUMINA. Will be used to create a proper header for further GATK4 downstream analysis.",
"hidden": true
}
}
},
"max_job_request_options": {
"title": "Max job request options",
"type": "object",
"fa_icon": "fab fa-acquisitions-incorporated",
"description": "Set the top limit for requested resources for any single job.",
"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.",
"properties": {
"max_cpus": {
"type": "integer",
"description": "Maximum number of CPUs that can be requested for any single job.",
"default": 16,
"fa_icon": "fas fa-microchip",
"hidden": true,
"help_text": "Use to set an upper-limit for the CPU requirement for each process. Should be an integer e.g. `--max_cpus 1`."
},
"max_memory": {
"type": "string",
"description": "Maximum amount of memory that can be requested for any single job.",
"default": "128.GB",
"fa_icon": "fas fa-memory",
"pattern": "^\\d+(\\.\\d+)?\\.?\\s*(K|M|G|T)?B$",
"hidden": true,
"help_text": "Use to set an upper-limit for the memory requirement for each process. Should be a string in the format integer-unit e.g. `--max_memory '8.GB'`."
},
"max_time": {
"type": "string",
"description": "Maximum amount of time that can be requested for any single job.",
"default": "240.h",
"fa_icon": "far fa-clock",
"pattern": "^(\\d+\\.?\\s*(s|m|h|d|day)\\s*)+$",
"hidden": true,
"help_text": "Use to set an upper-limit for the time requirement for each process. Should be a string in the format integer-unit e.g. `--max_time '2.h'`."
}
}
},
"generic_options": {
"title": "Generic options",
"type": "object",
"fa_icon": "fas fa-file-import",
"description": "Less common options for the pipeline, typically set in a config file.",
"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`.",
"properties": {
"help": {
"type": "boolean",
"description": "Display help text.",
"fa_icon": "fas fa-question-circle",
"hidden": true
},
"version": {
"type": "boolean",
"description": "Display version and exit.",
"fa_icon": "fas fa-question-circle",
"hidden": true
},
"publish_dir_mode": {
"type": "string",
"default": "copy",
"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"
],
"hidden": true
},
"email": {
"type": "string",
"description": "Email address for completion summary.",
"fa_icon": "fas fa-envelope",
"help_text": "Set this parameter to your e-mail address to get a summary e-mail with details of the run sent to you when the workflow exits. If set in your user config file (`~/.nextflow/config`) then you don't need to specify this on the command line for every run.",
"pattern": "^([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$"
},
"email_on_fail": {
"type": "string",
"description": "Email address for completion summary, only when pipeline fails.",
"fa_icon": "fas fa-exclamation-triangle",
"pattern": "^([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$",
"help_text": "An email address to send a summary email to when the pipeline is completed - ONLY sent if the pipeline does not exit successfully.",
"hidden": true
},
"plaintext_email": {
"type": "boolean",
"description": "Send plain-text email instead of HTML.",
"fa_icon": "fas fa-remove-format",
"hidden": true
},
"max_multiqc_email_size": {
"type": "string",
"description": "File size limit when attaching MultiQC reports to summary emails.",
"pattern": "^\\d+(\\.\\d+)?\\.?\\s*(K|M|G|T)?B$",
"default": "25.MB",
"fa_icon": "fas fa-file-upload",
"hidden": true
},
"monochrome_logs": {
"type": "boolean",
"description": "Do not use coloured log outputs.",
"fa_icon": "fas fa-palette",
"hidden": true
},
"multiqc_title": {
"type": "string",
"description": "MultiQC report title. Printed as page header, used for filename if not otherwise specified.",
"fa_icon": "fas fa-file-signature"
},
"multiqc_config": {
"type": "string",
"format": "file-path",
"description": "Custom config file to supply to MultiQC.",
"fa_icon": "fas fa-cog",
"hidden": true
},
"multiqc_logo": {
"type": "string",
"description": "Custom logo file to supply to MultiQC. File name must also be set in the MultiQC config file",
"fa_icon": "fas fa-image",
"hidden": true
},
"multiqc_methods_description": {
"type": "string",
"description": "Custom MultiQC yaml file containing HTML including a methods description.",
"fa_icon": "fas fa-cog"
},
"validate_params": {
"type": "boolean",
"description": "Boolean whether to validate parameters against the schema at runtime",
"default": true,
"fa_icon": "fas fa-check-square",
"hidden": true
},
"validationShowHiddenParams": {
"type": "boolean",
"fa_icon": "far fa-eye-slash",
"description": "Show all params when using `--help`",
"hidden": true,
"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."
},
"validationFailUnrecognisedParams": {
"type": "boolean",
"fa_icon": "far fa-check-circle",
"description": "Validation of parameters fails when an unrecognised parameter is found.",
"hidden": true,
"help_text": "By default, when an unrecognised parameter is found, it returns a warinig."
},
"validationLenientMode": {
"type": "boolean",
"fa_icon": "far fa-check-circle",
"description": "Validation of parameters in lenient more.",
"hidden": true,
"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)."
},
"hook_url": {
"type": "string",
"description": "Incoming hook URL for messaging service",
"fa_icon": "fas fa-people-group",
"help_text": "Incoming hook URL for messaging service. Currently, MS Teams and Slack are supported.",
"hidden": true
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/input_output_options"
},
{
"$ref": "#/definitions/reference_genome_options"
},
{
"$ref": "#/definitions/alignment_options"
},
{
"$ref": "#/definitions/fastq_preprocessing"
},
{
"$ref": "#/definitions/pipeline_stage_options"
},
{
"$ref": "#/definitions/variant_calling"
},
{
"$ref": "#/definitions/annotation"
},
{
"$ref": "#/definitions/institutional_config_options"
},
{
"$ref": "#/definitions/max_job_request_options"
},
{
"$ref": "#/definitions/generic_options"
}
]
}