-
Notifications
You must be signed in to change notification settings - Fork 88
Expand file tree
/
Copy pathnextflow_schema.json
More file actions
1422 lines (1422 loc) · 117 KB
/
nextflow_schema.json
File metadata and controls
1422 lines (1422 loc) · 117 KB
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
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$schema": "https://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/nf-core/eager/master/nextflow_schema.json",
"title": "nf-core/eager pipeline parameters",
"description": "A fully reproducible and state of the art ancient DNA analysis pipeline",
"type": "object",
"definitions": {
"input_options": {
"title": "Input options",
"type": "object",
"properties": {
"input": {
"type": "string",
"default": "null",
"description": "Either paths or URLs to FASTQ/BAM data (must be surrounded with quotes). For paired end data, the path must use '{1,2}' notation to specify read pairs. Alternatively, a path to a TSV file (ending .tsv) containing file paths and sequencing/sample metadata. Allows for merging of multiple lanes/libraries/samples. Please see documentation for template.",
"fa_icon": "fas fa-file-csv",
"help_text": "\nThere are two possible ways of supplying input sequencing data to nf-core/eager. The most efficient but more simplistic is supplying direct paths (with wildcards) to your FASTQ or BAM files, with each file or pair being considered a single library and each one run independently. TSV input requires creation of an extra file by the user and extra metadta, but allows more powerful lane and library merging.\n\n##### Direct Input Method\n\nThis method is where you specify with `--input`, the path locations of FASTQ (optionally gzipped) or BAM file(s). This option is mutually exclusive to the [TSV input method](#tsv-input-method) which is used for more complex input configurations such as lane and library merging.\n\nWhen using the direct method of `--input` you can specify one or multiple samples in one or more directories files. File names **must be unique**, even if in different directories. \n\nBy default, the pipeline _assumes_ you have paired-end data. If you want to run single-end data you must specify [`--single_end`]('#single_end')\n\nFor example, for a single set of FASTQs, or multiple files paired-end FASTQ files in one directory, you can specify:\n\n```bash\n--input 'path/to/data/sample_*_{1,2}.fastq.gz'\n```\n\nIf you have multiple files in different directories, you can use additional wildcards (`*`) e.g.:\n\n```bash\n--input 'path/to/data/*/sample_*_{1,2}.fastq.gz'\n```\n\n> :warning: It is not possible to run a mixture of single-end and paired-end files in one run with the paths `--input` method! Please see the [TSV input method](#tsv-input-method) for possibilities.\n\n**Please note** the following requirements:\n\n1. Valid file extensions: `.fastq.gz`, `.fastq`, `.fq.gz`, `.fq`, `.bam`.\n2. The path **must** be enclosed in quotes\n3. The path must have at least one `*` wildcard character\n4. When using the pipeline with **paired end data**, the path must use `{1,2}` notation to specify read pairs.\n5. Files names must be unique, having files with the same name, but in different directories is _not_ sufficient\n - This can happen when a library has been sequenced across two sequencers on the same lane. Either rename the file, try a symlink with a unique name, or merge the two FASTQ files prior input.\n6. Due to limitations of downstream tools (e.g. FastQC), sample IDs maybe truncated after the first `.` in the name, Ensure file names are unique prior to this!\n\n##### TSV Input Method\n\nAlternatively to the [direct input method](#direct-input-method), you can supply to `--input` a path to a TSV file that contains paths to FASTQ/BAM files and additional metadata. This allows for more complex procedures such as merging of sequencing data across lanes, sequencing runs, sequencing configuration types, and samples.\n\nThe use of the TSV `--input` method is recommended to be used when performing more complex procedures such as lane or library merging. You do not need to specify `--single_end`, `--bam`, `--colour_chemistry`, `-udg_type` etc. when using TSV input - this is defined within the TSV file itself.\n\nThis TSV should look like the following:\n\n| Sample_Name | Library_ID | Lane | Colour_Chemistry | SeqType | Organism | Strandedness | UDG_Treatment | R1 | R2 | BAM |\n|-------------|------------|------|------------------|--------|----------|--------------|---------------|----|----|-----|\n| JK2782 | JK2782 | 1 | 4 | PE | Mammoth | double | full | https://github.com/nf-core/test-datasets/raw/eager/testdata/Mammoth/fastq/JK2782_TGGCCGATCAACGA_L008_R1_001.fastq.gz.tengrand.fq.gz | https://github.com/nf-core/test-datasets/raw/eager/testdata/Mammoth/fastq/JK2782_TGGCCGATCAACGA_L008_R2_001.fastq.gz.tengrand.fq.gz | NA |\n| JK2802 | JK2802 | 2 | 2 | SE | Mammoth | double | full | https://github.com/nf-core/test-datasets/raw/eager/testdata/Mammoth/fastq/JK2802_AGAATAACCTACCA_L008_R1_001.fastq.gz.tengrand.fq.gz | https://github.com/nf-core/test-datasets/raw/eager/testdata/Mammoth/fastq/JK2802_AGAATAACCTACCA_L008_R2_001.fastq.gz.tengrand.fq.gz | NA |\n\nA template can be taken from https://raw.githubusercontent.com/nf-core/test-datasets/eager/reference/TSV_template.tsv.\n\n> :warning: Cells **must not** contain spaces before or after strings, as this will make the TSV unreadable by nextflow. Strings containing spaces should be wrapped in quotes.\n\nWhen using TSV_input, nf-core/eager will merge FASTQ files of libraries with the same `Library_ID` but different `Lanes` after adapter clipping (and merging), assuming all other metadata columns are the same. If you have the same `Library_ID` but with different SeqType, this will be merged directly after mapping prior BAM filtering. Finally, it will also merge BAM files with the same `Sample_ID` but different `Library_ID` after duplicate removal, but prior to genotyping. Please see caveats to this below.\n\nColumn descriptions are as follows:\n\n- **Sample_Name:** A text string containing the name of a given sample of which there can be multiple libraries. All libraries with the same sample name and same SeqType will be merged after deduplication.\n- **Library_ID:** A text string containing a given library, which there can be multiple sequencing lanes (with the same SeqType).\n- **Lane:** A number indicating which lane the library was sequenced on. Files from the libraries sequenced on different lanes (and different SeqType) will be concatenated after read clipping and merging.\n- **Colour Chemistry** A number indicating whether the Illumina sequencing machine the library was sequenced on was 2 (e.g. Next/NovaSeq) or 4 (Hi/MiSeq). This informs whether poly-G trimming (if turned on) should be performed.\n- **SeqType:** A text string of either 'PE' or 'SE', specifying paired end (with both an R1 [or forward] and R2 [or reverse]) and single end data (only R1 [forward], or BAM). This will affect lane merging if different per library.\n- **Organism:** A text string of the organism name of the sample or 'NA'. This currently has no functionality and can be set to 'NA', but will affect lane/library merging if different per library\n- **Strandedness:** A text string indicating whether the library type is 'single' or 'double'. This currently has no functionality, but will affect lane/library merging if different per library.\n- **UDG_Treatment:** A text string indicating whether the library was generated with UDG treatment - either 'full', 'half' or 'none'. Will affect lane/library merging if different per library.\n- **R1:** A text string of a file path pointing to a forward or R1 FASTQ file. This can be used with the R2 column. File names **must be unique**, even if in different directories.\n- **R2:** A text string of a file path pointing to a reverse or R2 FASTQ file, or 'NA' when single end data. This can be used with the R1 column. File names **must be unique**, even if in different directories.\n- **BAM:** A text string of a file path pointing to a BAM file, or 'NA'. Cannot be specified at the same time as R1 or R2, both of which should be set to 'NA'\n\nFor example, with the following:\n\n| Sample_Name | Library_ID | Lane | Colour_Chemistry | SeqType | Organism | Strandedness | UDG_Treatment | R1 | R2 | BAM |\n|-------------|------------|------|------------------|---------|----------|--------------|---------------|----------------------------------------------------------------|----------------------------------------------------------------|-----|\n| JK2782 | JK2782 | 7 | 4 | PE | Mammoth | double | full | data/JK2782_TGGCCGATCAACGA_L007_R1_001.fastq.gz.tengrand.fq.gz | data/JK2782_TGGCCGATCAACGA_L007_R2_001.fastq.gz.tengrand.fq.gz | NA |\n| JK2782 | JK2782 | 8 | 4 | PE | Mammoth | double | full | data/JK2782_TGGCCGATCAACGA_L008_R1_001.fastq.gz.tengrand.fq.gz | data/JK2782_TGGCCGATCAACGA_L008_R2_001.fastq.gz.tengrand.fq.gz | NA |\n| JK2802 | JK2802 | 7 | 4 | PE | Mammoth | double | full | data/JK2802_AGAATAACCTACCA_L007_R1_001.fastq.gz.tengrand.fq.gz | data/JK2802_AGAATAACCTACCA_L007_R2_001.fastq.gz.tengrand.fq.gz | NA |\n| JK2802 | JK2802 | 8 | 4 | SE | Mammoth | double | full | data/JK2802_AGAATAACCTACCA_L008_R1_001.fastq.gz.tengrand.fq.gz | NA | NA |\n\nIn this context the following will occur:\n\n- After AdapterRemoval, and prior to mapping, FASTQ files from lane 7 and lane 8 _with the same `SeqType`_ (and all other _metadata_ columns) will be concatenated together for each **Library**.\n- After mapping, and prior BAM filtering, BAM files with the same with different `SeqType` (but with all other metadata columns th esame) will be merged together for each **Library**.\n- After duplicate removal, BAM files with `Library_ID`s with the same `Sample_Name` and the same `UDG_Treatment` will be merged together.\n- If BAM trimming is turned, all post-trimming BAMs (i.e. non-UDG and half-UDG ) will be merged with UDG-treated (untreated) BAMs, if they have the same `Sample_Name`.\n\nNote the following important points and limitations for setting up:\n\n- The TSV must use actual tabs (not spaces) between cells.\n- *File* names must be unique irregardless of file path, due to risk of over-writing (see: https://github.com/nextflow-io/nextflow/issues/470.\n - If it is 'too late' and already have duplicate file names, a work around is to concatenate the FASTQ files together and supply this to a nf-core/eager run. The only downside is that you will not get independent FASTQC results for each file.\n- Lane IDs must be unique for each sequencing of each library.\n - If you have a library sequenced e.g. on Lane 8 of two HiSeq runs, you can give a fake lane ID (e.g. 20) for one of the FASTQs, and the libraries will still be processed correctly.\n - This also applies to the SeqType column, i.e. with the example above, if one run is PE and one run is SE, you need to give fake lane IDs to one of the runs as well.\n- All _BAM_ files must be specified as `SE` under `SeqType`.\n- nf-core/eager will only merge multiple _lanes_ of sequencing runs with the same single-end or paired-end configuration\n- Accordingly nf-core/eager will not merge _lanes_ of FASTQs with BAM files (unless you use `--run_convertbam`), as only FASTQ files are lane-merged together.\n- Same libraries that are sequenced on different sequencing configurations (i.e single- and paired-end data), will be merged after mapping and will _always_ be considered 'paired-end' during downstream processes\n - **Important** running DeDup in this context is _not_ recommended, as PE and SE data at the same position will _not_ be evaluated as duplicates. Therefore not all duplicates will be removed.\n - When you wish to run PE/SE data together `-dedupper markduplicates` is therefore prefered.\n - An error will be thrown if you try to merge both PE and SE and also supply `--skip_merging`.\n - If truly you want to mix SE data and PE data but using mate-pair info for PE mapping, please run FASTQ preprocessing mapping manually and supply BAM files for downstream processing by nf-core/eager\n - If you _regularly_ want to run the situation above, please leave an feature request on github.\n- DamageProfiler, NuclearContamination, MTtoNucRatio and PreSeq are performed on each unique library separately after deduplication (but prior same-treated library merging).\n- nf-core/eager functionality such as `--run_trim_bam` will be applied to only non-UDG (UDG_Treatment: none) or half-UDG (UDG_Treatment: half) libraries.\n- Qualimap is run on each sample, after merging of libraries (i.e. your values will reflect the values of all libraries combined - after being damage trimmed etc.).\n- Genotyping will typically be performed on each `sample` independently as normally all libraries will have been merged together. However, if you have a mixture of single-stranded and double-stranded libraries, you will normally need to genotype separately. In this case you **must** give each the SS and DS libraries _distinct_ `Sample_IDs` otherwise you will recieve a `file collision` error in steps such as `sexdeterrmine`, and merge these yourself. We will consider changing this behaviour in the future if there is enough interest. \n"
},
"udg_type": {
"type": "string",
"default": "none",
"description": "Specifies whether you have UDG treated libraries. Set to 'half' for partial treatment, or 'full' for UDG. If not set, libraries are assumed to have no UDG treatment ('none'). Not required for TSV input.",
"fa_icon": "fas fa-vial",
"help_text": "Defines whether Uracil-DNA glycosylase (UDG) treatment was used to remove DNA damage on the sequencing libraries.\n\nSpecify `'none'` if no treatment was performed. If you have partial UDG treated data ([Rohland et al 2016](http://dx.doi.org/10.1098/rstb.2013.0624)), specify `'half'`. If you have complete UDG treated data ([Briggs et al. 2010](https://doi.org/10.1093/nar/gkp1163)), specify `'full'`. When also using PMDtools `'half'` will use a different model for DNA damage assessment in PMDTools. Specify the parameter with `'full'` and the PMDtools DNA damage assessment will use CpG context only. Default: `'none'`."
},
"single_stranded": {
"type": "boolean",
"description": "Specifies that libraries are single stranded. Always affects MALTExtract but will be ignored by pileupCaller with TSV input. Not required for TSV input.",
"fa_icon": "fas fa-minus",
"help_text": "Indicates libraries are single stranded.\n\nCurrently only affects MALTExtract where it will switch on damage patterns calculation mode to single-stranded, and genotyping with pileupcaller where a different method is used. Default: false.\n\nOnly required when using the 'Path' method of `--input"
},
"single_end": {
"type": "boolean",
"description": "Specifies that the input is single end reads. Not required for TSV input.",
"fa_icon": "fas fa-align-left",
"help_text": "By default, the pipeline expects paired-end data. If you have single-end data, specify this parameter on the command line when you launch the pipeline. It is not possible to run a mixture of single-end and paired-end files in one run.\n\nOnly required when using the 'Path' method of `--input`"
},
"colour_chemistry": {
"type": "integer",
"default": 4,
"description": "Specifies which Illumina sequencing chemistry was used. Used to inform whether to poly-G trim if turned on (see below). Not required for TSV input. Options: 2, 4.",
"fa_icon": "fas fa-palette",
"help_text": "Specifies which Illumina colour chemistry was a library was sequenced with. This informs whether to perform poly-G trimming (if `--complexity_filter_poly_g` is also supplied). Only 2 colour chemistry sequencers (e.g. NextSeq or NovaSeq) can generate uncertain poly-G tails (due to 'G' being indicated via a no-colour detection). Default is '4' to indicate e.g. HiSeq or MiSeq platforms, which do not require poly-G trimming. Options: 2, 4. Default: 4\n\nOnly required when using the 'Path' method of input."
},
"bam": {
"type": "boolean",
"description": "Specifies that the input is in BAM format. Not required for TSV input.",
"fa_icon": "fas fa-align-justify",
"help_text": "Specifies the input file type to `--input` is in BAM format. This will automatically also apply `--single_end`.\n\nOnly required when using the 'Path' method of `--input`.\n"
}
},
"fa_icon": "fas fa-terminal",
"description": "Define where the pipeline should find input data, and additional metadata.",
"required": [
"input"
]
},
"input_data_additional_options": {
"title": "Input Data Additional Options",
"type": "object",
"description": "Additional options regarding input data.",
"default": "",
"properties": {
"snpcapture_bed": {
"type": "string",
"fa_icon": "fas fa-magnet",
"description": "If library result of SNP capture, path to BED file containing SNPS positions on reference genome.",
"help_text": "Can be used to set a path to a BED file (3/6 column format) of SNP positions of a reference genome, to calculate SNP capture'd libraries on-target efficiency. If supplied, on-target metrics automatically for you by qualimap."
},
"run_convertinputbam": {
"type": "boolean",
"description": "Turns on conversion of an input BAM file into FASTQ format to allow re-preprocessing (e.g. AdapterRemoval etc.).",
"fa_icon": "fas fa-undo-alt",
"help_text": "Allows you to convert an input BAM file back to FASTQ for downstream processing. Note this is required if you need to perform AdapterRemoval and/or polyG clipping.\n\nIf not turned on, BAMs will automatically be sent to post-mapping steps."
}
},
"fa_icon": "far fa-plus-square"
},
"references": {
"title": "References",
"type": "object",
"properties": {
"fasta": {
"type": "string",
"fa_icon": "fas fa-font",
"description": "Path or URL to a FASTA reference file (required if not iGenome reference). File suffixes can be: '.fa', '.fn', '.fna', '.fasta'.",
"help_text": "You specify the full path to your reference genome here. The FASTA file can have any file suffix, such as `.fasta`, `.fna`, `.fa`, `.FastA` etc. You may also supply a gzipped reference files, which will be unzipped automatically for you.\n\nFor example:\n\n```bash\n--fasta '/<path>/<to>/my_reference.fasta'\n```\n\n> If you don't specify appropriate `--bwa_index`, `--fasta_index` parameters, the pipeline will create these indices for you automatically. Note that you can save the indices created for you for later by giving the `--save_reference` flag.\n> You must select either a `--fasta` or `--genome`\n"
},
"genome": {
"type": "string",
"description": "Name of iGenomes reference (required if not FASTA reference).",
"fa_icon": "fas fa-book",
"help_text": "Alternatively to `--fasta`, the pipeline config files come bundled with paths to the Illumina iGenomes reference index files. If running with docker or AWS, the configuration is set up to use the [AWS-iGenomes](https://ewels.github.io/AWS-iGenomes/) resource.\n\nThere are 31 different species supported in the iGenomes references. To run the pipeline, you must specify which to use with the `--genome` flag.\n\nYou can find the keys to specify the genomes in the [iGenomes config file](../conf/igenomes.config). Common genomes that are supported are:\n\n- Human\n - `--genome GRCh37`\n - `--genome GRCh38`\n- Mouse *\n - `--genome GRCm38`\n- _Drosophila_ *\n - `--genome BDGP6`\n- _S. cerevisiae_ *\n - `--genome 'R64-1-1'`\n\n> \\* Not bundled with nf-core eager by default.\n\nNote that you can use the same configuration setup to save sets of reference files for your own use, even if they are not part of the iGenomes resource. See the [Nextflow documentation](https://www.nextflow.io/docs/latest/config.html) for instructions on where to save such a file.\n\nThe syntax for this reference configuration is as follows:\n\n```nextflow\nparams {\n genomes {\n 'GRCh37' {\n fasta = '<path to the iGenomes genome fasta file>'\n }\n // Any number of additional genomes, key is used with --genome\n }\n}\n```"
},
"igenomes_base": {
"type": "string",
"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`."
},
"bwa_index": {
"type": "string",
"description": "Path to directory containing pre-made BWA indices (i.e. everything before the endings '.amb' '.ann' '.bwt'. Most likely the same path as --fasta). If not supplied will be made for you.",
"fa_icon": "fas fa-address-book",
"help_text": "If you want to use pre-existing `bwa index` indices, please supply the **directory** to the FASTA you also specified in `--fasta` nf-core/eager will automagically detect the index files by searching for the FASTA filename with the corresponding `bwa` index file suffixes.\n\nFor example:\n\n```bash\nnextflow run nf-core/eager \\\n-profile test,docker \\\n--input '*{R1,R2}*.fq.gz'\n--fasta 'results/reference_genome/bwa_index/BWAIndex/Mammoth_MT_Krause.fasta' \\\n--bwa_index 'results/reference_genome/bwa_index/BWAIndex/'\n```\n\n> `bwa index` does not give you an option to supply alternative suffixes/names for these indices. Thus, the file names generated by this command _must not_ be changed, otherwise nf-core/eager will not be able to find them."
},
"bt2_index": {
"type": "string",
"description": "Path to directory containing pre-made Bowtie2 indices (i.e. everything before the endings e.g. '.1.bt2', '.2.bt2', '.rev.1.bt2'. Most likely the same value as --fasta). If not supplied will be made for you.",
"fa_icon": "far fa-address-book",
"help_text": "If you want to use pre-existing `bt2 index` indices, please supply the **directory** to the FASTA you also specified in `--fasta`. nf-core/eager will automagically detect the index files by searching for the FASTA filename with the corresponding `bt2` index file suffixes.\n\nFor example:\n\n```bash\nnextflow run nf-core/eager \\\n-profile test,docker \\\n--input '*{R1,R2}*.fq.gz'\n--fasta 'results/reference_genome/bwa_index/BWAIndex/Mammoth_MT_Krause.fasta' \\\n--bwa_index 'results/reference_genome/bt2_index/BT2Index/'\n```\n\n> `bowtie2-build` does not give you an option to supply alternative suffixes/names for these indices. Thus, the file names generated by this command _must not_ be changed, otherwise nf-core/eager will not be able to find them."
},
"fasta_index": {
"type": "string",
"description": "Path to samtools FASTA index (typically ending in '.fai'). If not supplied will be made for you.",
"fa_icon": "far fa-bookmark",
"help_text": "If you want to use a pre-existing `samtools faidx` index, Use this to specify the required FASTA index file for the selected reference genome. This should be generated by `samtools faidx` and has a file suffix of `.fai`\n\nFor example:\n\n```bash\n--fasta_index 'Mammoth_MT_Krause.fasta.fai'\n```"
},
"seq_dict": {
"type": "string",
"description": "Path to picard sequence dictionary file (typically ending in '.dict'). If not supplied will be made for you.",
"fa_icon": "fas fa-spell-check",
"help_text": "If you want to use a pre-existing `picard CreateSequenceDictionary` dictionary file, use this to specify the required `.dict` file for the selected reference genome.\n\nFor example:\n\n```bash\n--seq_dict 'Mammoth_MT_Krause.dict'\n```"
},
"large_ref": {
"type": "boolean",
"description": "Specify to generate more recent '.csi' BAM indices. If your reference genome is larger than 3.5GB, this is recommended due to more efficent data handling with the '.csi' format over the older '.bai'.",
"fa_icon": "fas fa-mountain",
"help_text": "This parameter is required to be set for large reference genomes. If your reference genome is larger than 3.5GB, the `samtools index` calls in the pipeline need to generate `CSI` indices instead of `BAI` indices to compensate for the size of the reference genome. This parameter is not required for smaller references (including a human `hg19` or `grch37`/`grch38` reference), but `>4GB` genomes have been shown to need `CSI` indices. Default: off"
},
"save_reference": {
"type": "boolean",
"description": "If not already supplied by user, turns on saving of generated reference genome indices for later re-usage.",
"fa_icon": "far fa-save",
"help_text": "Use this if you do not have pre-made reference FASTA indices for `bwa`, `samtools` and `picard`. If you turn this on, the indices nf-core/eager generates for you and will be saved in the `<your_output_dir>/results/reference_genomes` for you. If not supplied, nf-core/eager generated index references will be deleted."
}
},
"fa_icon": "fas fa-dna",
"description": "Specify locations of references and optionally, additional pre-made indices"
},
"output_options": {
"title": "Output options",
"type": "object",
"description": "Specify where to put output files and optional saving of intermediate files",
"default": "",
"properties": {
"outdir": {
"type": "string",
"description": "The output directory where the results will be saved.",
"default": "./results",
"fa_icon": "fas fa-folder-open",
"help_text": "The output directory where the results will be saved. By default will be made in the directory you run the command in under `./results`."
},
"publish_dir_mode": {
"type": "string",
"default": "copy",
"description": "Mode for publishing results in the output directory. Options: 'symlink', 'rellink', 'link', 'copy', 'copyNoFollow', 'move'.",
"fa_icon": "fas fa-upload",
"help_text": "Nextflow mode for 'publishing' final results files i.e. how to move final files into your `--outdir` from working directories. Options: 'symlink', 'rellink', 'link', 'copy', 'copyNoFollow', 'move'. Default: 'copy'.\n\n> It is recommended to select `copy` (default) if you plan to regularly delete intermediate files from `work/`."
},
"saveTrimmed": {
"type": "boolean",
"default": true,
"description": "Turn this on if you want to keep trimmed reads.",
"hidden": true
},
"saveAlignedIntermediates": {
"type": "boolean",
"description": "Turn this on if you want to keep intermediate alignment files (SAM, BAM, non-deduped BAM)",
"hidden": true
}
},
"fa_icon": "fas fa-cloud-download-alt"
},
"generic_options": {
"title": "Generic options",
"type": "object",
"properties": {
"help": {
"type": "boolean",
"description": "Display help text.",
"hidden": true,
"fa_icon": "fas fa-question-circle"
},
"name": {
"type": "string",
"description": "Workflow name of run, for future reference.",
"fa_icon": "fas fa-fingerprint",
"hidden": true,
"help_text": "A custom name for the pipeline run. Unlike the core nextflow `-name` option with one hyphen this parameter can be reused multiple times, for example if using `-resume`. Passed through to steps such as MultiQC and used for things like report filenames and titles."
},
"email": {
"type": "string",
"description": "Email address for completion summary.",
"fa_icon": "fas fa-envelope",
"help_text": "An email address to send a summary email to when the pipeline is completed.",
"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})$",
"hidden": true,
"help_text": "Set this parameter to your e-mail address to get a summary e-mail with details of the run if it **fails**. Normally would be the same as in `--email` but can be different. If set in your user config file (`~/.nextflow/config`) then you don't need to specify this on the command line for every run.\n\n> Note that this functionality requires either `mail` or `sendmail` to be installed on your system."
},
"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.",
"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_config": {
"type": "string",
"description": "Custom config file to supply to MultiQC.",
"fa_icon": "fas fa-cog",
"hidden": true
},
"tracedir": {
"type": "string",
"description": "Directory to keep pipeline Nextflow logs and reports.",
"default": "${params.outdir}/pipeline_info",
"fa_icon": "fas fa-cogs",
"hidden": true
}
},
"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`."
},
"max_job_request_options": {
"title": "Max job request options",
"type": "object",
"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",
"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",
"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'`"
}
},
"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."
},
"institutional_config_options": {
"title": "Institutional config options",
"type": "object",
"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"
},
"hostnames": {
"type": "string",
"description": "Institutional configs hostname.",
"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"
},
"awsqueue": {
"type": "string",
"description": "The AWS Queue to use.",
"fa_icon": "fab fa-aws"
},
"awsregion": {
"type": "string",
"default": "eu-west-1",
"description": "The AWS region to use.",
"fa_icon": "fab fa-aws"
}
},
"fa_icon": "fas fa-university",
"description": "Parameters used to describe centralised config profiles. These generally 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."
},
"skip_steps": {
"title": "Skip steps",
"type": "object",
"description": "Skip any of the mentioned steps.",
"default": "",
"properties": {
"skip_fastqc": {
"type": "boolean",
"fa_icon": "fas fa-fast-forward",
"help_text": "Turns off FastQC pre- and post-Adapter Removal, to speed up the pipeline. Use of this flag is most common when data has been previously pre-processed and the post-Adapter Removal mapped reads are being re-mapped to a new reference genome."
},
"skip_adapterremoval": {
"type": "boolean",
"fa_icon": "fas fa-fast-forward",
"help_text": "Turns off adaptor trimming and paired-end read merging. Equivalent to setting both `--skip_collapse` and `--skip_trim`."
},
"skip_preseq": {
"type": "boolean",
"fa_icon": "fas fa-fast-forward",
"help_text": "Turns off the computation of library complexity estimation."
},
"skip_deduplication": {
"type": "boolean",
"fa_icon": "fas fa-fast-forward",
"help_text": "Turns off duplicate removal methods DeDup and MarkDuplicates respectively. No duplicates will be removed on any data in the pipeline.\n"
},
"skip_damage_calculation": {
"type": "boolean",
"fa_icon": "fas fa-fast-forward",
"help_text": "Turns off the DamageProfiler module to compute DNA damage profiles.\n"
},
"skip_qualimap": {
"type": "boolean",
"fa_icon": "fas fa-fast-forward",
"help_text": "Turns off QualiMap and thus does not compute coverage and other mapping metrics.\n"
}
},
"fa_icon": "fas fa-forward"
},
"complexity_filtering": {
"title": "Complexity filtering",
"type": "object",
"description": "Processing of Illumina two-colour chemistry data.",
"default": "",
"properties": {
"complexity_filter_poly_g": {
"type": "boolean",
"description": "Turn on running poly-G removal on FASTQ files. Will only be performed on 2 colour chemistry machine sequenced libraries.",
"fa_icon": "fas fa-power-off",
"help_text": "Performs a poly-G tail removal step in the beginning of the pipeline using `fastp`, if turned on. This can be useful for trimming ploy-G tails from short-fragments sequenced on two-colour Illumina chemistry such as NextSeqs (where no-fluorescence is read as a G on two-colour chemistry), which can inflate reported GC content values.\n"
},
"complexity_filter_poly_g_min": {
"type": "integer",
"default": 10,
"description": "Specify length of poly-g min for clipping to be performed.",
"fa_icon": "fas fa-ruler-horizontal",
"help_text": "This option can be used to define the minimum length of a poly-G tail to begin low complexity trimming. By default, this is set to a value of `10` unless the user has chosen something specifically using this option."
}
},
"fa_icon": "fas fa-filter"
},
"read_merging_and_adapter_removal": {
"title": "Read merging and adapter removal",
"type": "object",
"description": "Options for adapter clipping and paired-end merging.",
"default": "",
"properties": {
"clip_forward_adaptor": {
"type": "string",
"default": "AGATCGGAAGAGCACACGTCTGAACTCCAGTCAC",
"description": "Specify adapter sequence to be clipped off (forward strand).",
"fa_icon": "fas fa-cut",
"help_text": "Defines the adapter sequence to be used for the forward read. By default, this is set to `'AGATCGGAAGAGCACACGTCTGAACTCCAGTCAC'`.\n"
},
"clip_reverse_adaptor": {
"type": "string",
"default": "AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGTA",
"description": "Specify adapter sequence to be clipped off (reverse strand).",
"fa_icon": "fas fa-cut",
"help_text": "Defines the adapter sequence to be used for the reverse read in paired end sequencing projects. This is set to `'AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGTA'` by default.\n"
},
"clip_readlength": {
"type": "integer",
"default": 30,
"description": "Specify read minimum length to be kept for downstream analysis.",
"fa_icon": "fas fa-ruler",
"help_text": "Defines the minimum read length that is required for reads after merging to be considered for downstream analysis after read merging. Default is `30`.\n\nNote that performing read length filtering at this step is not reliable for correct endogenous DNA calculation, when you have a large percentage of very short reads in your library - such retrieved in single-stranded library protocols. When you have very few reads passing this length filter, it will artificially inflate your endogenous DNA by creating a very small denominator. In these cases it is recommended to set this to 0, and use `--bam_filter_minreadlength` to instead, to filter out 'unusuable' short reads after mapping."
},
"clip_min_read_quality": {
"type": "integer",
"default": 20,
"description": "Specify minimum base quality for trimming off bases.",
"fa_icon": "fas fa-medal",
"help_text": "Defines the minimum read quality per base that is required for a base to be kept. Individual bases at the ends of reads falling below this threshold will be clipped off. Default is set to `20`.\n"
},
"min_adap_overlap": {
"type": "integer",
"default": 1,
"description": "Specify minimum adapter overlap required for clipping.",
"fa_icon": "fas fa-hands-helping",
"help_text": "Sets the minimum overlap between two reads when read merging is performed. Default is set to `1` base overlap.\n"
},
"skip_collapse": {
"type": "boolean",
"description": "Skip of merging forward and reverse reads together. Only applicable for paired-end libraries.",
"fa_icon": "fas fa-fast-forward",
"help_text": "Turns off the paired-end read merging.\n\nFor example\n\n```bash\n--skip_collapse --input '*_{R1,R2}_*.fastq'\n```\n\n> It is important to use the paired-end wildcard globbing as `--skip_collapse` can only be used on paired-end data!\n> :warning: If you run this and also with `--clip_readlength` set to something (as is by default), you may end up removing single reads from either the pair1 or pair2 file. These will be NOT be mapped when aligning with either `bwa` or `bowtie`, as both can only accept one (forward) or two (forward and reverse) FASTQs as input.\n"
},
"skip_trim": {
"type": "boolean",
"description": "Skip adapter and quality trimming.",
"fa_icon": "fas fa-fast-forward",
"help_text": "Turns off adaptor and quality trimming.\n\nFor example:\n\n```bash\n--skip_trim --input '*.fastq'\n```\n"
},
"preserve5p": {
"type": "boolean",
"description": "Skip quality base trimming (n, score, window) of 5 prime end.",
"fa_icon": "fas fa-life-ring",
"help_text": "Turns off quality based trimming at the 5p end of reads when any of the --trimns, --trimqualities, or --trimwindows options are used. Only 3p end of reads will be removed.\n\n> This also entirely disables quality based trimming of collapsed reads, since both ends of these are informative for PCR duplicate filtering. Described [here](https://github.com/MikkelSchubert/adapterremoval/issues/32#issuecomment-504758137).\n"
},
"mergedonly": {
"type": "boolean",
"description": "Only use merged reads downstream (un-merged reads and singletons are discarded).",
"fa_icon": "fas fa-handshake",
"help_text": "Specify that only merged reads are sent downstream for analysis.\n\nSingletons (i.e. reads missing a pair), or un-merged reads (where there wasn't sufficient overlap) are discarded.\n\nYou may want to use this if you want ensure only the best quality reads for your analysis, but with the penalty of potentially losing still valid data (even if some reads have slightly lower quality). It is highly recommended when using `--dedupper 'dedup'` (see below)."
}
},
"fa_icon": "fas fa-cut"
},
"mapping": {
"title": "Read mapping to reference genome",
"type": "object",
"description": "Options for adapter clipping and paired-end merging.",
"default": "",
"properties": {
"mapper": {
"title": "Mapper",
"type": "string",
"description": "Specify which mapper to use. Options: 'bwaaln', 'bwamem', 'circularmapper', 'bowtie2'.",
"default": "bwaaln",
"fa_icon": "fas fa-layer-group",
"help_text": "Specify which mapping tool to use. Options are BWA aln (`'bwaaln'`), BWA mem (`'bwamem'`), circularmapper (`'circularmapper'`), or bowtie2 (`bowtie2`). bwa aln is the default and highly suited for short read ancient DNA. bwa mem can be quite useful for modern DNA, but is rarely used in projects for ancient DNA. CircularMapper enhances the mapping procedure to circular references, using the BWA algorithm but utilizing a extend-remap procedure (see Peltzer et al 2016, Genome Biology for details). Bowtie2 is similar to bwa aln, and has recently been suggested to provide slightly better results under certain conditions ([Poullet and Orlando 2020](https://doi.org/10.3389/fevo.2020.00105)), as well as providing extra functionality (such as FASTQ trimming). Default is 'bwaaln'\n\nMore documentation can be seen for each tool under:\n\n- [bwa aln](http://bio-bwa.sourceforge.net/bwa.shtml#3)\n- [bwa mem](http://bio-bwa.sourceforge.net/bwa.shtml#3)\n- [CircularMapper](https://circularmapper.readthedocs.io/en/latest/contents/userguide.html)\n- [bowtie2](http://bowtie-bio.sourceforge.net/bowtie2/manual.shtml#command-line)\n"
},
"bwaalnn": {
"type": "number",
"default": 0.04,
"description": "Specify the -n parameter for BWA aln, i.e. amount of allowed mismatches in the alignment.",
"fa_icon": "fas fa-sort-numeric-down",
"help_text": "Configures the `bwa aln -n` parameter, defining how many mismatches are allowed in a read. By default set to `0.04` (following recommendations of [Schubert et al. (2012 _BMC Genomics_)](https://doi.org/10.1186/1471-2164-13-178)), if you're uncertain what to set check out [this](https://apeltzer.shinyapps.io/bwa-mismatches/) Shiny App for more information on how to set this parameter efficiently."
},
"bwaalnk": {
"type": "integer",
"default": 2,
"description": "Specify the -k parameter for BWA aln, i.e. maximum edit distance allowed in a seed.",
"fa_icon": "fas fa-drafting-compass",
"help_text": "Configures the `bwa aln -k` parameter for the seeding phase in the mapping algorithm. Default is set to `2`.\n"
},
"bwaalnl": {
"type": "integer",
"default": 1024,
"description": "Specify the -l parameter for BWA aln i.e. the length of seeds to be used.",
"fa_icon": "fas fa-ruler-horizontal",
"help_text": "Configures the length of the seed used in `bwa aln -l`. Default is set to be 'turned off' at the recommendation of Schubert et al. ([2012 _BMC Genomics_](https://doi.org/10.1186/1471-2164-13-178)) for ancient DNA with `1024`.\n\n> Note: Despite being recommended, turning off seeding can result in long runtimes!"
},
"circularextension": {
"type": "integer",
"default": 500,
"description": "Specify the number of bases to extend reference by (circularmapper only).",
"fa_icon": "fas fa-external-link-alt",
"help_text": "The number of bases to extend the reference genome with. By default this is set to `500` if not specified otherwise."
},
"circulartarget": {
"type": "string",
"default": "MT",
"description": "Specify the FASTA header of the target chromosome to extend (circularmapper only).",
"fa_icon": "fas fa-bullseye",
"help_text": "The chromosome in your FASTA reference that you'd like to be treated as circular. By default this is set to `MT` but can be configured to match any other chromosome.\n"
},
"circularfilter": {
"type": "boolean",
"description": "Turn on to filter off-target reads (circularmapper only).",
"fa_icon": "fas fa-filter",
"help_text": "If you want to filter out reads that don't map to a circular chromosome, turn this on. By default this option is turned off.\n"
},
"bt2_alignmode": {
"type": "string",
"default": "local",
"description": "Specify the bowtie2 alignment mode. Options: 'local', 'end-to-end'.",
"fa_icon": "fas fa-arrows-alt-h",
"help_text": "The type of read alignment to use. Options are 'local' or 'end-to-end'. Local allows only partial alignment of read, with ends of reads possibly 'soft-clipped' (i.e. remain unaligned/ignored), if the soft-clipped alignment provides best alignment score. End-to-end requires all nucleotides to be aligned. Default is 'local', following [Cahill et al (2018)](https://doi.org/10.1093/molbev/msy018) and [Poullet and Orlando 2020](https://doi.org/10.3389/fevo.2020.00105)."
},
"bt2_sensitivity": {
"type": "string",
"default": "sensitive",
"description": "Specify the level of sensitivity for the bowtie2 alignment mode. Options: 'no-preset', 'very-fast', 'fast', 'sensitive', 'very-sensitive'.",
"fa_icon": "fas fa-microscope",
"help_text": "The Bowtie2 'preset' to use. Options: 'no-preset' 'very-fast', 'fast', 'sensitive', or 'very-sensitive'. These strings apply to both `--bt2_alignmode` options. See the Bowtie2 [manual](http://bowtie-bio.sourceforge.net/bowtie2/manual.shtml#command-line) for actual settings. Default is 'sensitive' (following [Poullet and Orlando (2020)](https://doi.org/10.3389/fevo.2020.00105), when running damaged-data _without_ UDG treatment)"
},
"bt2n": {
"type": "integer",
"description": "Specify the -N parameter for bowtie2 (mismatches in seed). This will override defaults from alignmode/sensitivity.",
"default": "0",
"fa_icon": "fas fa-sort-numeric-down",
"help_text": "The number of mismatches allowed in the seed during seed-and-extend procedure of Bowtie2. This will override any values set with `--bt2_sensitivity`. Can either be 0 or 1. Default: 0 (i.e. use`--bt2_sensitivity` defaults)."
},
"bt2l": {
"type": "integer",
"description": "Specify the -L parameter for bowtie2 (length of seed substrings). This will override defaults from alignmode/sensitivity.",
"fa_icon": "fas fa-ruler-horizontal",
"default": "0",
"help_text": "The length of the seed substring to use during seeding. This will override any values set with `--bt2_sensitivity`. Default: 0 (i.e. use`--bt2_sensitivity` defaults: [20 for local and 22 for end-to-end](http://bowtie-bio.sourceforge.net/bowtie2/manual.shtml#command-line)."
},
"bt2_trim5": {
"type": "integer",
"description": "Specify number of bases to trim off from 5' (left) end of read before alignment.",
"fa_icon": "fas fa-cut",
"default": "0",
"help_text": "Number of bases to trim of 5' (left) end of read prior alignment. Maybe useful when left-over sequencing artefacts of in-line barcodes present Default: 0"
},
"bt2_trim3": {
"type": "integer",
"description": "Specify number of bases to trim off from 3' (right) end of read before alignment.",
"fa_icon": "fas fa-cut",
"default": "0",
"help_text": "Number of bases to trim of 3' (right) end of read prior alignment. Maybe useful when left-over sequencing artefacts of in-line barcodes present Default: 0."
}
},
"fa_icon": "fas fa-layer-group"
},
"host_removal": {
"title": "Host Removal",
"type": "object",
"description": "Options for production of host-read removed FASTQ files for privacy reasons.",
"default": "",
"properties": {
"hostremoval_input_fastq": {
"type": "boolean",
"description": "Turn on per-library creation pre-Adapter Removal FASTQ files without reads that mapped to reference (e.g. for public upload of privacy sensitive non-host data)",
"fa_icon": "fas fa-power-off",
"help_text": "Create pre-Adapter Removal FASTQ files without reads that mapped to reference (e.g. for public upload of privacy sensitive non-host data)\n"
},
"hostremoval_mode": {
"type": "string",
"default": "remove",
"description": "Host removal mode. Remove mapped reads completely from FASTQ (remove) or just mask mapped reads sequence by N (replace).",
"fa_icon": "fas fa-mask",
"help_text": "Read removal mode. Remove mapped reads completely (`'remove'`) or just replace mapped reads sequence by N (`'replace'`)\n"
}
},
"fa_icon": "fas fa-user-shield"
},
"bam_filtering": {
"title": "BAM Filtering",
"type": "object",
"description": "Options for quality filtering and how to deal with off-target unmapped reads.",
"default": "",
"properties": {
"run_bam_filtering": {
"type": "boolean",
"description": "Turn on filtering of mapping quality, read lengths, or unmapped reads of BAM files.",
"fa_icon": "fas fa-power-off",
"help_text": "Turns on the bam filtering module for either mapping quality filtering or unmapped read treatment.\n"
},
"bam_mapping_quality_threshold": {
"type": "integer",
"description": "Minimum mapping quality for reads filter.",
"default": "0",
"fa_icon": "fas fa-greater-than-equal",
"help_text": "Specify a mapping quality threshold for mapped reads to be kept for downstream analysis. By default keeps all reads and is therefore set to `0` (basically doesn't filter anything).\n"
},
"bam_filter_minreadlength": {
"type": "integer",
"fa_icon": "fas fa-ruler-horizontal",
"description": "Specify minimum read length to be kept after mapping.",
"default": "0",
"help_text": "Specify minimum length of mapped reads. This filtering will apply at the same time as mapping quality filtering.\n\nIf used _instead_ of minimum length read filtering at AdapterRemoval, this can be useful to get more realistic endogenous DNA percentages, when most of your reads are very short (e.g. in single-stranded libraries) and would otherwise be discarded by AdapterRemoval (thus making an artifically small denominator for a typical endogenous DNA calculation). Note in this context you should not perform mapping quality filtering nor discarding of unmapped reads to ensure a correct 'denominator' of 'all reads', for the Endogenous DNA calculation."
},
"bam_unmapped_type": {
"type": "string",
"default": "discard",
"description": "Defines whether to discard all unmapped reads, keep only bam and/or keep only fastq format Options: 'discard', 'bam', 'fastq', 'both'.",
"fa_icon": "fas fa-trash-alt",
"help_text": "Defines how to proceed with unmapped reads: `'discard'` removes all unmapped reads, `keep` keeps both unmapped and mapped reads in the same BAM file, `'bam'` keeps unmapped reads as BAM file, `'fastq'` keeps unmapped reads as FastQ file, `both` keeps both BAM and FASTQ files. Default is `discard`. `keep` is what would happen if `--run_bam_filtering` was _not_ supplied.\n\nNote that in all cases, if `--bam_mapping_quality_threshold` is also supplied, mapping quality filtering will still occur on the mapped reads."
}
},
"fa_icon": "fas fa-sort-amount-down"
},
"deduplication": {
"title": "DeDuplication",
"type": "object",
"description": "Options for removal of PCR amplicon duplciates that can artificially inflate coverage.",
"default": "",
"properties": {
"dedupper": {
"type": "string",
"default": "markduplicates",
"description": "Deduplication method to use. Options: 'markduplicates', 'dedup'.",
"fa_icon": "fas fa-object-group",
"help_text": "Sets the duplicate read removal tool. By default uses `markduplicates` from Picard. Alternatively an ancient DNA specific read deduplication tool 'dedup' ([Peltzer et al. 2016](http://dx.doi.org/10.1186/s13059-016-0918-z)) is offered.\n\nThis utilises both ends of paired-end data to remove duplicates (i.e. true exact duplicates, as markduplicates will over-zealously deduplicate anything with the same starting position even if the ends are different). DeDup should only be used solely on paired-end data otherwise suboptimal deduplication can occur if applied to either single-end or a mix of single-end/paired-end data.\n\nNote that if you run without the `--mergedonly` flag for AdapterRemoval, DeDup will\nlikely fail. If you absolutely want to use both PE and SE data, you can supply the\n`--dedup_all_merged` flag to consider singletons to also be merged paired-end reads. This\nmay result in over-zealous deduplication."
},
"dedup_all_merged": {
"type": "boolean",
"description": "Turn on treating all reads as merged reads.",
"fa_icon": "fas fa-handshake",
"help_text": "Sets DeDup to treat all reads as merged reads. This is useful if reads are for example not prefixed with `M_` in all cases. Therefore, this can be used as a workaround when also using a mixture of paired-end and single-end data, however this is not recommended (see above)."
}
},
"fa_icon": "fas fa-clone"
},
"library_complexity_analysis": {
"title": "Library Complexity Analysis",
"type": "object",
"description": "Options for calculating library complexity (i.e. how many unique reads are present).",
"default": "",
"properties": {
"preseq_step_size": {
"type": "integer",
"default": 1000,
"description": "Specify the step size of Preseq.",
"fa_icon": "fas fa-shoe-prints",
"help_text": "Can be used to configure the step size of Preseqs `c_curve` method. Can be useful when only few and thus shallow sequencing results are used for extrapolation.\n"
}
},
"fa_icon": "fas fa-bezier-curve"
},
"adna_damage_analysis": {
"title": "(aDNA) Damage Analysis",
"type": "object",
"description": "Options for calculating and filtering for characteristic ancient DNA damage patterns.",
"default": "",
"properties": {
"damageprofiler_length": {
"type": "integer",
"default": 100,
"description": "Specify length filter for DamageProfiler.",
"fa_icon": "fas fa-sort-amount-up",
"help_text": "Specifies the length filter for DamageProfiler. By default set to `100`.\n"
},
"damageprofiler_threshold": {
"type": "integer",
"default": 15,
"description": "Specify number of bases of each read to consider for DamageProfiler calculations.",
"fa_icon": "fas fa-ruler-horizontal",
"help_text": "Specifies the length of the read start and end to be considered for profile generation in DamageProfiler. By default set to `15` bases.\n"
},
"damageprofiler_yaxis": {
"type": "number",
"default": 0.3,
"description": "Specify the maximum misincorporation frequency that should be displayed on damage plot. Set to 0 to 'autoscale'.",
"fa_icon": "fas fa-ruler-vertical",
"help_text": "Specifies what the maximum misincorporation frequency should be displayed as, in the DamageProfiler damage plot. This is set to `0.30` (i.e. 30%) by default as this matches the popular [mapDamage2.0](https://ginolhac.github.io/mapDamage) program. However, the default behaviour of DamageProfiler is to 'autoscale' the y-axis maximum to zoom in on any _possible_ damage that may occur (e.g. if the damage is about 10%, the highest value on the y-axis would be set to 0.12). This 'autoscale' behaviour can be turned on by specifying the number to `0`. Default: `0.30`."
},
"run_pmdtools": {
"type": "boolean",
"description": "Turn on PMDtools",
"fa_icon": "fas fa-power-off",
"help_text": "Specifies to run PMDTools for damage based read filtering and assessment of DNA damage in sequencing libraries. By default turned off.\n"
},
"pmdtools_range": {
"type": "integer",
"default": 10,
"description": "Specify range of bases for PMDTools to scan for damage.",
"fa_icon": "fas fa-arrows-alt-h",
"help_text": "Specifies the range in which to consider DNA damage from the ends of reads. By default set to `10`.\n"
},
"pmdtools_threshold": {
"type": "integer",
"default": 3,
"description": "Specify PMDScore threshold for PMDTools.",
"fa_icon": "fas fa-chart-bar",
"help_text": "Specifies the PMDScore threshold to use in the pipeline when filtering BAM files for DNA damage. Only reads which surpass this damage score are considered for downstream DNA analysis. By default set to `3` if not set specifically by the user.\n"
},
"pmdtools_reference_mask": {
"type": "string",
"description": "Specify a path to reference mask for PMDTools.",
"fa_icon": "fas fa-mask",
"help_text": "Can be used to set a path to a reference genome mask for PMDTools.\n"
},
"pmdtools_max_reads": {
"type": "integer",
"default": 10000,
"description": "Specify the maximum number of reads to consider for metrics generation.",
"fa_icon": "fas fa-greater-than-equal",
"help_text": "The maximum number of reads used for damage assessment in PMDtools. Can be used to significantly reduce the amount of time required for damage assessment in PMDTools. Note that a too low value can also obtain incorrect results."
}
},
"fa_icon": "fas fa-chart-line"
},
"annotation_statistics": {
"title": "Annotation Statistics",
"type": "object",
"description": "Options for getting reference annotation statistics (e.g. gene coverages)",
"default": "",
"properties": {
"run_bedtools_coverage": {
"type": "boolean",
"description": "Turn on ability to calculate no. reads, depth and breadth coverage of features in reference.",
"fa_icon": "fas fa-chart-area",
"help_text": "Specifies to turn on the bedtools module, producing statistics for breadth (or percent coverage), and depth (or X fold) coverages.\n"
},
"anno_file": {
"type": "string",
"description": "Path to GFF or BED file containing positions of features in reference file (--fasta). Path should be enclosed in quotes.",
"fa_icon": "fas fa-file-signature",
"help_text": "Specify the path to a GFF/BED containing the feature coordinates (or any acceptable input for [`bedtools coverage`](https://bedtools.readthedocs.io/en/latest/content/tools/coverage.html)). Must be in quotes.\n"
}
},
"fa_icon": "fas fa-scroll"
},
"bam_trimming": {
"title": "BAM Trimming",
"type": "object",
"description": "Options for trimming of aligned reads (e.g. to remove damage prior genotyping).",
"default": "",
"properties": {
"run_trim_bam": {
"type": "boolean",
"description": "Turn on BAM trimming. Will only run on non-UDG or half-UDG libraries",
"fa_icon": "fas fa-power-off",
"help_text": "Turns on the BAM trimming method. Trims off `[n]` bases from reads in the deduplicated BAM file Damage assessment in PMDTools or DamageProfiler remains untouched, as data is routed through this independently. BAM trimming os typically performed to reduce errors during genotyping that can be caused by aDNA damage.\n\nBAM trimming will only be performed on libraries indicated as `--udg_type 'none'` or `--udg_type 'half'`. Complete UDG treatment ('full') should have removed all damage. The amount of bases that will be trimmed off can be set separately for libraries with `--udg_type` `'none'` and `'half'` (see `--bamutils_clip_half_udg_left` / `--bamutils_clip_half_udg_right` / `--bamutils_clip_none_udg_left` / `--bamutils_clip_none_udg_right`).\n\n> Note: additional artefacts such as bar-codes or adapters that could potentially also be trimmed should be removed prior mapping."
},
"bamutils_clip_half_udg_left": {
"type": "integer",
"default": "1",
"fa_icon": "fas fa-ruler-combined",
"description": "Specify the number of bases to clip off reads from 'left' end of read for half-UDG libaries.",
"help_text": "Default set to `1` and clips off one base of the left or right side of reads from libraries whose UDG treatment is set to `half`. Note that reverse reads will automatically be clipped off at the reverse side with this (automatically reverses left and right for the reverse read)."
},
"bamutils_clip_half_udg_right": {
"type": "integer",
"default": "1",
"fa_icon": "fas fa-ruler",
"description": "Specify the number of bases to clip off reads from 'right' end of read for half-UDG libaries.",
"help_text": "Default set to `1` and clips off one base of the left or right side of reads from libraries whose UDG treatment is set to `half`. Note that reverse reads will automatically be clipped off at the reverse side with this (automatically reverses left and right for the reverse read)."
},
"bamutils_clip_none_udg_left": {
"type": "integer",
"default": "1",
"fa_icon": "fas fa-ruler-combined",
"description": "Specify the number of bases to clip off reads from 'left' end of read for non-UDG libaries.",
"help_text": "Default set to `1` and clips off one base of the left or right side of reads from libraries whose UDG treatment is set to `none`. Note that reverse reads will automatically be clipped off at the reverse side with this (automatically reverses left and right for the reverse read).\n"
},
"bamutils_clip_none_udg_right": {
"type": "integer",
"default": "1",
"fa_icon": "fas fa-ruler",
"description": "Specify the number of bases to clip off reads from 'right' end of read for non-UDG libaries.",
"help_text": "Default set to `1` and clips off one base of the left or right side of reads from libraries whose UDG treatment is set to `none`. Note that reverse reads will automatically be clipped off at the reverse side with this (automatically reverses left and right for the reverse read).\n"
},
"bamutils_softclip": {
"type": "boolean",
"description": "Turn on using softclip instead of hard masking.",
"fa_icon": "fas fa-paint-roller",
"help_text": "By default, nf-core/eager uses hard clipping and sets clipped bases to `N` with quality `!` in the BAM output. Turn this on to use soft-clipping instead, masking reads at the read ends respectively using the CIGAR string."
}
},
"fa_icon": "fas fa-eraser"
},
"genotyping": {
"title": "Genotyping",
"type": "object",
"description": "Options for variant calling.",
"default": "",
"properties": {
"run_genotyping": {
"type": "boolean",
"description": "Turn on genotyping of BAM files.",
"fa_icon": "fas fa-power-off",
"help_text": "Turns on genotyping to run on all post-dedup and downstream BAMs. For example if `--run_pmdtools` and `--trim_bam` are both supplied, the genotyper will be run on all three BAM files i.e. post-deduplication, post-pmd and post-trimmed BAM files."
},
"genotyping_tool": {
"type": "string",
"description": "Specify which genotyper to use either GATK UnifiedGenotyper, GATK HaplotypeCaller, Freebayes, or pileupCaller. Note: UnifiedGenotyper requires user-supplied defined GATK 3.5 jar file. Options: 'ug', 'hc', 'freebayes', 'pileupcaller', 'angsd'.",
"fa_icon": "fas fa-tools",
"help_text": "Specifies which genotyper to use. Current options are: GATK (v3.5) UnifiedGenotyper or GATK Haplotype Caller (v4); and the FreeBayes Caller. Specify 'ug', 'hc', 'freebayes', 'pileupcaller' and 'angsd' respectively.\n\n> NB that while UnifiedGenotyper is more suitable for low-coverage ancient DNA (HaplotypeCaller does _de novo_ assembly around each variant site), it is officially deprecated by the Broad Institute and is only accessible by an archived version not properly available on `conda`. Therefore if specifying 'ug', will need to supply a GATK 3.5 `-jar` to the parameter `gatk_ug_jar`. Note that this means the pipline is not fully reproducible in this configuration, unless you personally supply the `.jar` file."
},
"genotyping_source": {
"type": "string",
"default": "raw",
"description": "Specify which input BAM to use for genotyping. Options: 'raw', 'trimmed' or 'pmd'.",
"fa_icon": "fas fa-faucet",
"help_text": "Indicates which BAM file to use for genotyping, depending on what BAM processing modules you have turned on. Options are: `'raw'` for mapped only, filtered, or DeDup BAMs (with priority right to left); `'trimmed'` (for base clipped BAMs); `'pmd'` (for pmdtools output). Default is: `'raw'`.\n"
},
"gatk_ug_jar": {
"type": "string",
"description": "When specifying to use GATK UnifiedGenotyper, path to GATK 3.5 .jar.",
"fa_icon": "fas fa-archive",
"help_text": "Specify a path to a local copy of a GATK 3.5 `.jar` file, preferably version '3.5-0-g36282e4'. The download location of this may be available from the GATK forums of the Broad Institute.\n\n> You must manually report your version of GATK 3.5 in publications/MultiQC as it is not included in our container."
},
"gatk_call_conf": {
"type": "integer",
"default": 30,
"description": "Specify GATK phred-scaled confidence threshold.",
"fa_icon": "fas fa-balance-scale-right",
"help_text": "If selected a GATK genotyper phred-scaled confidence threshold of a given SNP/INDEL call. Default: `30`"
},
"gatk_ploidy": {
"type": "integer",
"default": 2,
"description": "Specify GATK organism ploidy.",
"fa_icon": "fas fa-pastafarianism",
"help_text": "If selected a GATK genotyper, what is the ploidy of your reference organism. E.g. do you want to allow heterozygous calls from >= diploid organisms. Default: `2`\n"
},
"gatk_downsample": {
"type": "integer",
"default": 250,
"description": "Maximum depth coverage allowed for genotyping before down-sampling is turned on.",
"fa_icon": "fas fa-icicles",
"help_text": "Maximum depth coverage allowed for genotyping before down-sampling is turned on. Any position with a coverage higher than this value will be randomly down-sampled to 250 reads. Default: `250`\n"
},
"gatk_dbsnp": {
"type": "string",
"description": "Specify VCF file for SNP annotation of output VCF files. Optional. Gzip not accepted.",
"fa_icon": "fas fa-marker",
"help_text": "(Optional) Specify VCF file for output VCF SNP annotation e.g. if you want annotate your VCF file with 'rs' SNP IDs. Check GATK documentation for more information. Gzip not accepted.\n"
},
"gatk_hc_out_mode": {
"type": "string",
"default": "EMIT_VARIANTS_ONLY",
"description": "Specify GATK output mode. Options: 'EMIT_VARIANTS_ONLY', 'EMIT_ALL_CONFIDENT_SITES', 'EMIT_ALL_ACTIVE_SITES'.",
"fa_icon": "fas fa-bullhorn",
"help_text": "If selected the GATK genotyper HaplotypeCaller, what type of VCF to create, i.e. produce calls for every site or just confidence sites. Options: `'EMIT_VARIANTS_ONLY'`, `'EMIT_ALL_CONFIDENT_SITES'`, `'EMIT_ALL_ACTIVE_SITES'`. Default: `'EMIT_VARIANTS_ONLY'`"
},
"gatk_hc_emitrefconf": {
"type": "string",
"default": "GVCF",
"description": "Specify HaplotypeCaller mode for emitting reference confidence calls . Options: 'NONE', 'BP_RESOLUTION', 'GVCF'.",
"fa_icon": "fas fa-bullhorn",
"help_text": "If selected GATK HaplotypeCaller, mode for emitting reference confidence calls. Options: `'NONE'`, `'BP_RESOLUTION'`, `'GVCF'`. Default: `'GVCF'`\n"
},
"gatk_ug_out_mode": {
"type": "string",
"default": "EMIT_VARIANTS_ONLY",
"description": "Specify GATK output mode. Options: 'EMIT_VARIANTS_ONLY', 'EMIT_ALL_CONFIDENT_SITES', 'EMIT_ALL_SITES'.",
"fa_icon": "fas fa-bullhorn",
"help_text": "If selected the GATK genotyper UnifiedGenotyper, what type of VCF to create, i.e. produce calls for every site or just confidence sites. Options: `'EMIT_VARIANTS_ONLY'`, `'EMIT_ALL_CONFIDENT_SITES'`, `'EMIT_ALL_SITES'`. Default: `'EMIT_VARIANTS_ONLY'`"
},
"gatk_ug_genotype_model": {
"type": "string",
"default": "SNP",
"description": "Specify UnifiedGenotyper likelihood model. Options: 'SNP', 'INDEL', 'BOTH', 'GENERALPLOIDYSNP', 'GENERALPLOIDYINDEL'.",
"fa_icon": "fas fa-project-diagram",
"help_text": "If selected GATK UnifiedGenotyper, which likelihood model to follow, i.e. whether to call use SNPs or INDELS etc. Options: `'SNP'`, `'INDEL'`, `'BOTH'`, `'GENERALPLOIDYSNP'`, `'GENERALPLOIDYINDEL`'. Default: `'SNP'`"
},
"gatk_ug_keep_realign_bam": {
"type": "string",
"description": "Specify to keep the BAM output of re-alignment around variants from GATK UnifiedGenotyper.",
"fa_icon": "fas fa-align-left",
"help_text": "If provided, this will put into the output folder the BAMs that have realigned reads (with GATK's (v3) IndelRealigner) around possible variants for improved genotyping.\n\nThese BAMs will be stored in the same folder as the corresponding VCF files."
},
"gatk_ug_defaultbasequalities": {
"type": "string",
"description": "Supply a default base quality if a read is missing a base quality score. Setting to -1 turns this off.",
"fa_icon": "fas fa-undo-alt",
"help_text": "Specify a value to set base quality scores, if reads are missing this information. Maybe useful if you have 'synthetically' generated reads (e.g. chopping up a reference genome). Default is set to -1 which is do not set any default quality (turned off). Default: `-1`"
},
"freebayes_C": {
"type": "integer",
"default": 1,
"description": "Specify minimum required supporting observations to consider a variant.",
"fa_icon": "fas fa-align-center",
"help_text": "Specify minimum required supporting observations to consider a variant. Default: `1`\n"
},
"freebayes_g": {
"type": "integer",
"description": "Specify to skip over regions of high depth by discarding alignments overlapping positions where total read depth is greater than specified in --freebayes_C.",
"fa_icon": "fab fa-think-peaks",
"default": "0",
"help_text": "Specify to skip over regions of high depth by discarding alignments overlapping positions where total read depth is greater than specified C. Not set by default.\n"
},
"freebayes_p": {
"type": "integer",
"default": 2,
"description": "Specify ploidy of sample in FreeBayes.",
"fa_icon": "fas fa-pastafarianism",
"help_text": "Specify ploidy of sample in FreeBayes. Default is diploid. Default: `2`\n"
},
"pileupcaller_bedfile": {
"type": "string",
"description": "Specify path to SNP panel in bed format for pileupCaller.",
"fa_icon": "fas fa-bed",
"help_text": "Specify a SNP panel in the form of a bed file of sites at which to generate pileup for pileupCaller.\n"
},
"pileupcaller_snpfile": {
"type": "string",
"description": "Specify path to SNP panel in EIGENSTRAT format for pileupCaller.",
"fa_icon": "fas fa-sliders-h",
"help_text": "Specify a SNP panel in [EIGENSTRAT](https://github.com/DReichLab/EIG/tree/master/CONVERTF) format, pileupCaller will call these sites.\n"
},
"pileupcaller_method": {
"type": "string",
"default": "randomHaploid",
"description": "Specify calling method to use. Options: 'randomHaploid', 'randomDiploid', 'majorityCall'.",
"fa_icon": "fas fa-toolbox",
"help_text": "Specify calling method to use. Options: randomHaploid, randomDiploid, majorityCall. Default: `'randomHaploid'`\n"
},
"pileupcaller_transitions_mode": {
"type": "string",
"default": "AllSites",
"description": "Specify the calling mode for transitions. Options: 'AllSites', 'TransitionsMissing', 'SkipTransitions'.",
"fa_icon": "fas fa-toggle-on",
"help_text": "Specify if genotypes of transition SNPs should be called, set to missing, or excluded from the genotypes respectively. Options: `'AllSites'`, `'TransitionsMissing'`, `'SkipTransitions'`. Default: `'AllSites'`\n"
},
"angsd_glmodel": {
"type": "string",
"default": "samtools",
"description": "Specify which ANGSD genotyping likelihood model to use. Options: 'samtools', 'gatk', 'soapsnp', 'syk'.",
"fa_icon": "fas fa-project-diagram",
"help_text": "Specify which genotype likelihood model to use. Options: `'samtools`, `'gatk'`, `'soapsnp'`, `'syk'`. Default: `'samtools'`\n"
},
"angsd_glformat": {
"type": "string",
"default": "binary",
"description": "Specify which output type to output ANGSD genotyping likelihood results: Options: 'text', 'binary', 'binary_three', 'beagle'.",
"fa_icon": "fas fa-text-height",
"help_text": "Specifies what type of genotyping likelihood file format will be output. Options: `'text'`, `'binary'`, `'binary_three'`, `'beagle_binary'`. Default: `'text'`.\n\nThe options refer to the following descriptions respectively:\n\n- `text`: textoutput of all 10 log genotype likelihoods.\n- `binary`: binary all 10 log genotype likelihood\n- `binary_three`: binary 3 times likelihood\n- `beagle_binary`: beagle likelihood file\n\nSee the [ANGSD documentation](http://www.popgen.dk/angsd/) for more information on which to select for your downstream applications."
},
"angsd_createfasta": {
"type": "boolean",
"description": "Turn on creation of FASTA from ANGSD genotyping likelhoood.",
"fa_icon": "fas fa-align-justify",
"help_text": "Turns on the ANGSD creation of a FASTA file from the BAM file.\n"
},
"angsd_fastamethod": {
"type": "string",
"default": "random",
"description": "Specify which genotype type of 'base calling' to use for ANGSD FASTA generation. Options: 'random', 'common'.",
"fa_icon": "fas fa-toolbox",
"help_text": "The type of base calling to be performed when creating the ANGSD FASTA file. Options: `'random'` or `'common'`. Will output the most common non-N base at each given position, whereas 'random' will pick one at random. Default: `'random'`."
}
},
"fa_icon": "fas fa-sliders-h"
},
"consensus_sequence_generation": {
"title": "Consensus Sequence Generation",
"type": "object",
"description": "Options for creation of a per-sample FASTA sequence useful for downstream analysis (e.g. multi sequence alignment)",
"default": "",
"properties": {
"run_vcf2genome": {
"type": "boolean",
"description": "Turns on ability to create a consensus sequence FASTA file based on a UnifiedGenotyper VCF file and the original reference (only considers SNPs).",
"fa_icon": "fas fa-power-off",
"help_text": "Turn on concensus sequence genome creation via VCF2Genome. Only accepts GATK UnifiedGenotyper VCF files with the `--gatk_ug_out_mode 'EMIT_ALL_SITES'` and `--gatk_ug_genotype_model 'SNP` flags. Typically useful for small genomes such as mitochondria.\n"
},
"vcf2genome_outfile": {
"type": "string",
"description": "Specify name of the output FASTA file containing the consensus sequence. Do not include `.vcf` in the file name.",
"fa_icon": "fas fa-file-alt",
"help_text": "The name of your requested output FASTA file. Do not include `.fasta` suffix.\n"
},
"vcf2genome_header": {
"type": "string",
"description": "Specify the header name of the consensus sequence entry within the FASTA file.",
"fa_icon": "fas fa-heading",
"help_text": "The name of the FASTA entry you would like in your FASTA file.\n"
},