-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathnextflow_schema.json
845 lines (845 loc) · 53.7 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
{
"$schema": "https://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/nf-core/proteomicslfq/master/nextflow_schema.json",
"title": "nf-core/proteomicslfq pipeline parameters",
"description": "Proteomics label-free quantification (LFQ) analysis pipeline using OpenMS and MSstats, with feature quantification, feature summarization, quality control and group-based statistical analysis.",
"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"
],
"properties": {
"input": {
"type": "string",
"fa_icon": "fas fa-vials",
"description": "URI/path to an [SDRF](https://github.com/bigbio/proteomics-metadata-standard/tree/master/annotated-projects) file **OR** globbing pattern for URIs/paths of mzML or Thermo RAW files",
"help_text": "The input to the pipeline can be specified in two **mutually exclusive** ways:\n - using a path or URI to a PRIDE Sample to Data Relation Format file (SDRF), e.g. as part of a submitted and\nannotated PRIDE experiment (see [here](https://github.com/bigbio/proteomics-metadata-standard/tree/master/annotated-projects) for examples). Input files will be downloaded and cached from the URIs specified in the SDRF file.\nAn OpenMS-style experimental design will be generated based on the factor columns of the SDRF. The settings for the\nfollowing parameters will currently be overwritten by the ones specified in the SDRF:\n\n * `fixed_mods`,\n * `variable_mods`,\n * `precursor_mass_tolerance`,\n * `precursor_mass_tolerance_unit`,\n * `fragment_mass_tolerance`,\n * `fragment_mass_tolerance_unit`,\n * `fragment_method`,\n * `enzyme`\n - by specifying globbing patterns to the input spectrum files in Thermo RAW or mzML format (e.g. `/data/experiment{1,2,3}_rep*.mzML`). An experimental design should be provided with the `expdesign` parameter."
},
"outdir": {
"type": "string",
"description": "The output directory where the results will be saved.",
"default": "./results",
"fa_icon": "fas fa-folder-open"
},
"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})$"
}
}
},
"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.",
"hidden": true,
"fa_icon": "fas fa-question-circle"
},
"publish_dir_mode": {
"type": "string",
"default": "copy",
"hidden": true,
"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",
"mov"
]
},
"name": {
"type": "string",
"description": "Workflow name.",
"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_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": "This works exactly as with `--email`, except emails are only sent if the workflow is not successful."
},
"plaintext_email": {
"type": "boolean",
"description": "Send plain-text email instead of HTML.",
"fa_icon": "fas fa-remove-format",
"hidden": true,
"help_text": "Set to receive plain-text e-mails instead of HTML formatted."
},
"max_multiqc_email_size": {
"type": "string",
"default": "25 MB",
"fa_icon": "fas fa-file-upload",
"description": "File size limit when attaching QC reports to summary emails.",
"help_text": "If file generated by pipeline exceeds the threshold, it will not be attached.",
"hidden": true
},
"monochrome_logs": {
"type": "boolean",
"description": "Do not use coloured log outputs.",
"fa_icon": "fas fa-palette",
"hidden": true,
"help_text": "Set to disable colourful command line output and live life in monochrome."
},
"tracedir": {
"type": "string",
"description": "Directory to keep pipeline Nextflow logs and reports.",
"default": "${params.outdir}/pipeline_info",
"fa_icon": "fas fa-cogs",
"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",
"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'`"
}
}
},
"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",
"help_text": "Provide git commit id for custom Institutional configs hosted at `nf-core/configs`. This was implemented for reproducibility purposes. Default: `master`.\n\n```bash\n## Download and use config file with following git commit id\n--custom_config_version d52db660777c4bf36546ddb188ec530c3ada1b96\n```"
},
"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 the `custom_config_base` option. For example:\n\n```bash\n## Download and unzip the config files\ncd /path/to/my/configs\nwget https://github.com/nf-core/configs/archive/master.zip\nunzip master.zip\n\n## Run the pipeline\ncd /path/to/my/data\nnextflow run /path/to/pipeline/ --custom_config_base /path/to/my/configs/configs-master/\n```\n\n> Note that the nf-core/tools helper package has a `download` command to download all required pipeline files + singularity containers + institutional configs in one go for you, to make this process easier.",
"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"
}
}
},
"main_parameters__sdrf_": {
"title": "Main parameters (SDRF)",
"type": "object",
"description": "In case your input was an SDRF files, the following optional parameters can be set.",
"default": "",
"properties": {
"root_folder": {
"type": "string",
"description": "Root folder in which the spectrum files specified in the SDRF are searched",
"fa_icon": "fas fa-folder",
"help_text": "This optional parameter can be used to specify a root folder in which the spectrum files specified in the SDRF are searched.\nIt is usually used if you have a local version of the experiment already. Note that this option does not support recursive\nsearching yet."
},
"local_input_type": {
"type": "string",
"description": "Overwrite the file type/extension of the filename as specified in the SDRF",
"fa_icon": "fas fa-file-invoice",
"help_text": "If the above [`--root_folder`](#params_root_folder) was given to load local input files, this overwrites the file type/extension of\nthe filename as specified in the SDRF. Usually used in case you have an mzML-converted version of the files already. Needs to be\none of 'mzML' or 'raw' (the letter cases should match your files exactly)."
}
},
"fa_icon": "far fa-chart-bar"
},
"main_parameters__spectra_files_": {
"title": "Main parameters (spectra files)",
"type": "object",
"description": "In case your input was a globbing pattern to spectrum files in Thermo RAW or mzML format you can specify a manual OpenMS-style experimental design file here.",
"default": "",
"properties": {
"expdesign": {
"type": "string",
"description": "A tab-separated experimental design file in OpenMS' own format (TODO link). All input files need to be present as a row with exactly the same names. If no design is given, unrelated, unfractionated runs are assumed.",
"fa_icon": "fas fa-file-csv"
}
},
"fa_icon": "far fa-chart-bar"
},
"protein_database": {
"title": "Protein database",
"type": "object",
"description": "Settings that relate to the mandatory protein database and the optional generation of decoy entries.",
"default": "",
"properties": {
"database": {
"type": "string",
"description": "The `fasta` protein database used during database search.",
"fa_icon": "fas fa-file",
"help_text": "Since the database is not included in an SDRF, this parameter always needs to be given to specify the input protein database\nwhen you run the pipeline. Remember to include contaminants (and decoys if not added in the pipeline with \\-\\-add-decoys)\n\n```bash\n--database '[path to Fasta protein database]'\n```"
},
"add_decoys": {
"type": "boolean",
"description": "Generate and append decoys to the given protein database",
"fa_icon": "fas fa-coins",
"help_text": "If decoys were not yet included in the input database, they have to be appended by OpenMS DecoyGenerator by adding this flag (TODO allow specifying type).\nDefault: pseudo-reverse peptides"
},
"decoy_affix": {
"type": "string",
"description": "Pre- or suffix of decoy proteins in their accession",
"default": "DECOY_",
"fa_icon": "fas fa-font",
"help_text": "If [`--add-decoys`](#params_add_decoys) was set, this setting is used during generation and passed to all tools that need decoy information.\n If decoys were appended to the database externally, this setting needs to match the used affix. (While OpenMS tools can infer the affix automatically, some thirdparty tools might not.)\nTypical values are 'rev', 'decoy', 'dec'. Look for them in your database."
},
"affix_type": {
"type": "string",
"description": "Location of the decoy marker string in the fasta accession. Before (prefix) or after (suffix)",
"default": "prefix",
"fa_icon": "fas fa-list-ol",
"help_text": "Prefix is highly recommended. Only in case an external tool marked decoys with a suffix, e.g. `sp|Q12345|ProteinA_DECOY` change this parameter to suffix."
}
},
"fa_icon": "fas fa-database",
"required": [
"database"
]
},
"spectrum_preprocessing": {
"title": "Spectrum preprocessing",
"type": "object",
"description": "In case you start from profile mode mzMLs or the internal preprocessing during conversion with the ThermoRawFileParser fails (e.g. due to new instrument types), preprocessing has to be performed with OpenMS. Use this section to configure.",
"default": "",
"properties": {
"openms_peakpicking": {
"type": "boolean",
"description": "Activate OpenMS-internal peak picking",
"fa_icon": "far fa-check-square",
"help_text": "Activate OpenMS-internal peak picking with the tool PeakPickerHiRes. Skips already picked spectra."
},
"peakpicking_inmemory": {
"type": "boolean",
"description": "Perform peakpicking in memory",
"fa_icon": "far fa-check-square",
"help_text": "Perform peakpicking in memory. Use only if problems occur."
},
"peakpicking_ms_levels": {
"type": "string",
"description": "Which MS levels to pick as comma separated list. Leave empty for auto-detection.",
"fa_icon": "fas fa-font",
"help_text": "Which MS levels to pick as comma separated list, e.g. `--peakpicking_ms_levels 1,2`. Leave empty for auto-detection."
}
},
"fa_icon": "far fa-chart-bar"
},
"database_search": {
"title": "Database search",
"type": "object",
"description": "",
"default": "",
"properties": {
"search_engines": {
"type": "string",
"description": "A comma separated list of search engines. Valid: comet, msgf",
"default": "comet",
"fa_icon": "fas fa-tasks",
"help_text": "A comma-separated list of search engines to run in parallel on each mzML file. Currently supported: comet and msgf (default: comet)\nIf more than one search engine is given, results are combined based on posterior error probabilities (see the different types\nof estimation procedures under [`--posterior_probabilities`](#--posterior_probabilities)). Combination is done with\n[ConsensusID](https://abibuilder.informatik.uni-tuebingen.de/archive/openms/Documentation/release/latest/html/TOPP_ConsensusID.html).\nSee also its corresponding [`--consensusid_algorithm`](#--consensusid_algorithm) parameter for different combination strategies.\nCombinations may profit from an increased [`--num_hits`](#--num_hits) parameter."
},
"enzyme": {
"type": "string",
"description": "The enzyme to be used for in-silico digestion, in 'OpenMS format'",
"default": "Trypsin",
"fa_icon": "fas fa-list-ol",
"help_text": "Specify which enzymatic restriction should be applied, e.g. 'unspecific cleavage', 'Trypsin' (default), see OpenMS\n[enzymes](https://github.com/OpenMS/OpenMS/blob/develop/share/OpenMS/CHEMISTRY/Enzymes.xml). Note: MSGF does not support extended\ncutting rules, as used by default with `Trypsin`. I.e. if you specify `Trypsin` with MSGF, it will be automatically converted to\n`Trypsin/P`= 'Trypsin without proline rule'."
},
"num_enzyme_termini": {
"type": "string",
"description": "Specify the amount of termini matching the enzyme cutting rules for a peptide to be considered. Valid values are `fully` (default), `semi`, or `none`",
"default": "fully",
"fa_icon": "fas fa-list-ol",
"enum": [
"fully",
"semi",
"none"
]
},
"allowed_missed_cleavages": {
"type": "integer",
"description": "Specify the maximum number of allowed missed enzyme cleavages in a peptide. The parameter is not applied if `unspecific cleavage` is specified as enzyme.",
"default": 2,
"fa_icon": "fas fa-sliders-h"
},
"precursor_mass_tolerance": {
"type": "integer",
"description": "Precursor mass tolerance used for database search. For High-Resolution instruments a precursor mass tolerance value of 5 ppm is recommended (i.e. 5). See also [`--precursor_mass_tolerance_unit`](#--precursor_mass_tolerance_unit).",
"default": 5,
"fa_icon": "fas fa-sliders-h"
},
"precursor_mass_tolerance_unit": {
"type": "string",
"description": "Precursor mass tolerance unit used for database search. Possible values are 'ppm' (default) and 'Da'.",
"default": "ppm",
"fa_icon": "fas fa-sliders-h",
"enum": [
"Da",
"ppm"
]
},
"fragment_mass_tolerance": {
"type": "number",
"description": "Fragment mass tolerance used for database search. The default of 0.03 Da is for high-resolution instruments.",
"default": 0.03,
"fa_icon": "fas fa-sliders-h",
"help_text": "Caution: for Comet we are estimating the `fragment_bin_tolerance` parameter based on this automatically."
},
"fragment_mass_tolerance_unit": {
"type": "string",
"description": "Fragment mass tolerance unit used for database search. Possible values are 'ppm' (default) and 'Da'.",
"default": "Da",
"fa_icon": "fas fa-list-ol",
"help_text": "Caution: for Comet we are estimating the `fragment_bin_tolerance` parameter based on this automatically.",
"enum": [
"Da",
"ppm"
]
},
"fixed_mods": {
"type": "string",
"description": "A comma-separated list of fixed modifications with their Unimod name to be searched during database search",
"default": "Carbamidomethyl (C)",
"fa_icon": "fas fa-tasks",
"help_text": "Specify which fixed modifications should be applied to the database search (eg. '' or 'Carbamidomethyl (C)', see Unimod modifications\nin the style '({unimod name} ({optional term specificity} {optional origin})').\nAll possible modifications can be found in the restrictions mentioned in the command line documentation of e.g. [CometAdapter](https://abibuilder.informatik.uni-tuebingen.de/archive/openms/Documentation/release/latest/html/TOPP_CometAdapter.html) (scroll down a bit for the complete set).\nMultiple fixed modifications can be specified comma separated (e.g. 'Carbamidomethyl (C),Oxidation (M)').\nFixed modifications need to be found at every matching amino acid for a peptide to be reported."
},
"variable_mods": {
"type": "string",
"description": "A comma-separated list of variable modifications with their Unimod name to be searched during database search",
"default": "Oxidation (M)",
"fa_icon": "fas fa-tasks",
"help_text": "Specify which variable modifications should be applied to the database search (eg. '' or 'Oxidation (M)', see Unimod modifications\nin the style '({unimod name} ({optional term specificity} {optional origin})').\nAll possible modifications can be found in the restrictions mentioned in the command line documentation of e.g. [CometAdapter](https://abibuilder.informatik.uni-tuebingen.de/archive/openms/Documentation/release/latest/html/TOPP_CometAdapter.html) (scroll down a bit for the complete set).\nMultiple variable modifications can be specified comma separated (e.g. 'Carbamidomethyl (C),Oxidation (M)').\nVariable modifications may or may not be found at matching amino acids for a peptide to be reported."
},
"fragment_method": {
"type": "string",
"description": "The fragmentation method used during tandem MS. (MS/MS or MS2).",
"default": "HCD",
"fa_icon": "fas fa-list-ol",
"help_text": "Currently unsupported. Defaults to `ALL` for Comet and `from_spectrum`, for MSGF. Should be a sensible default for 99% of the cases.",
"hidden": true
},
"isotope_error_range": {
"type": "string",
"description": "Comma-separated range of integers with allowed isotope peak errors for precursor tolerance (MS-GF+ parameter '-ti'). E.g. -1,2",
"default": "0,1",
"fa_icon": "fas fa-tasks",
"help_text": "Range of integers with allowed isotope peak errors (MS-GF+ parameter '-ti'). Takes into account the error introduced by choosing a non-monoisotopic peak for fragmentation. Combined with 'precursor_mass_tolerance'/'precursor_error_units', this determines the actual precursor mass tolerance. E.g. for experimental mass 'exp' and calculated mass 'calc', '-precursor_mass_tolerance 20 -precursor_error_units ppm -isotope_error_range -1,2' tests '|exp - calc - n * 1.00335 Da| < 20 ppm' for n = -1, 0, 1, 2."
},
"instrument": {
"type": "string",
"description": "Type of instrument that generated the data. 'low_res' or 'high_res' (default; refers to LCQ and LTQ instruments)",
"default": "high_res",
"fa_icon": "fas fa-list-ol"
},
"protocol": {
"type": "string",
"description": "MSGF only: Labeling or enrichment protocol used, if any. Default: automatic",
"default": "automatic",
"fa_icon": "fas fa-list-ol"
},
"min_precursor_charge": {
"type": "integer",
"description": "Minimum precursor ion charge. Omit the '+'",
"default": 2,
"fa_icon": "fas fa-sliders-h"
},
"max_precursor_charge": {
"type": "integer",
"description": "Maximum precursor ion charge. Omit the '+'",
"default": 4,
"fa_icon": "fas fa-sliders-h"
},
"min_peptide_length": {
"type": "integer",
"description": "Minimum peptide length to consider (works with MSGF and in newer Comet versions)",
"default": 6,
"fa_icon": "fas fa-sliders-h"
},
"max_peptide_length": {
"type": "integer",
"description": "Maximum peptide length to consider (works with MSGF and in newer Comet versions)",
"default": 40,
"fa_icon": "fas fa-sliders-h"
},
"num_hits": {
"type": "integer",
"description": "Specify the maximum number of top peptide candidates per spectrum to be reported by the search engine. Default: 1",
"default": 1,
"fa_icon": "fas fa-sliders-h"
},
"max_mods": {
"type": "integer",
"description": "Maximum number of modifications per peptide. If this value is large, the search may take very long.",
"default": 3,
"fa_icon": "fas fa-sliders-h"
},
"db_debug": {
"type": "integer",
"description": "Debug level when running the database search. Logs become more verbose and at '>5' temporary files are kept.",
"fa_icon": "fas fa-bug"
}
},
"fa_icon": "fas fa-search"
},
"modification_localization": {
"title": "Modification localization",
"type": "object",
"description": "Settings for calculating a localization probability with LucXor for modifications with multiple candidate amino acids in a peptide.",
"default": "",
"properties": {
"enable_mod_localization": {
"type": "boolean",
"description": "Turn the mechanism on.",
"fa_icon": "fas fa-toggle-on"
},
"mod_localization": {
"type": "string",
"description": "Which variable modifications to use for scoring their localization.",
"default": "Phospho (S),Phospho (T),Phospho (Y)",
"fa_icon": "fas fa-tasks"
},
"luciphor_neutral_losses": {
"type": "string",
"description": "List of neutral losses to consider for mod. localization.",
"fa_icon": "fas fa-font",
"help_text": "List the types of neutral losses that you want to consider. The residue field is case sensitive. For example: lower case 'sty' implies that the neutral loss can only occur if the specified modification is present.\nSyntax: 'NL = <RESDIUES> -<NEUTRAL_LOSS_MOLECULAR_FORMULA> <MASS_LOST>'\n(default: '[sty -H3PO4 -97.97690]')",
"hidden": true
},
"luciphor_decoy_mass": {
"type": "number",
"description": "How much to add to an amino acid to make it a decoy for mod. localization.",
"fa_icon": "fas fa-font",
"hidden": true
},
"luciphor_decoy_neutral_losses": {
"type": "string",
"description": "List of neutral losses to consider for mod. localization from an internally generated decoy sequence.",
"fa_icon": "fas fa-font",
"help_text": "For handling the neutral loss from a decoy sequence. The syntax for this is identical to that of the normal neutral losses given above except that the residue is always 'X'. Syntax: DECOY_NL = X -<NEUTRAL_LOSS_MOLECULAR_FORMULA> <MASS_LOST> (default: '[X -H3PO4 -97.97690]')",
"hidden": true
},
"luciphor_debug": {
"type": "integer",
"fa_icon": "fas fa-bug",
"description": "Debug level for Luciphor step. Increase for verbose logging and keeping temp files.",
"hidden": true
}
},
"fa_icon": "fas fa-search-location"
},
"peptide_re_indexing": {
"title": "Peptide re-indexing",
"type": "object",
"description": "",
"default": "",
"properties": {
"allow_unmatched": {
"type": "string",
"description": "Do not fail if there are some unmatched peptides. Only activate as last resort, if you know that the rest of your settings are fine!",
"default": "false",
"fa_icon": "far fa-check-square",
"enum": [
"false",
"true"
]
},
"IL_equivalent": {
"type": "string",
"description": "Should isoleucine and leucine be treated interchangeably when mapping search engine hits to the database? Default: true",
"default": "true",
"fa_icon": "far fa-check-square",
"enum": [
"true",
"false"
]
}
},
"fa_icon": "fas fa-project-diagram"
},
"psm_re_scoring__general_": {
"title": "PSM re-scoring (general)",
"type": "object",
"description": "Choose between different rescoring/posterior probability calculation methods and set them up.",
"default": "",
"properties": {
"posterior_probabilities": {
"type": "string",
"description": "How to calculate posterior probabilities for PSMs:\n\n* 'percolator' = Re-score based on PSM-feature-based SVM and transform distance\n to hyperplane for posteriors\n* 'fit_distributions' = Fit positive and negative distributions to scores\n (similar to PeptideProphet)",
"fa_icon": "fas fa-list-ol",
"default": "percolator",
"enum": [
"percolator",
"fit_distributions"
]
},
"psm_pep_fdr_cutoff": {
"type": "number",
"description": "FDR cutoff on PSM level (or potential peptide level; see Percolator options) before going into feature finding, map alignment and inference.",
"default": 0.1,
"fa_icon": "fas fa-filter"
},
"pp_debug": {
"type": "integer",
"description": "Debug level when running the re-scoring. Logs become more verbose and at '>5' temporary files are kept.",
"fa_icon": "fas fa-bug"
}
},
"fa_icon": "fas fa-star-half-alt"
},
"psm_re_scoring__percolator_": {
"title": "PSM re-scoring (Percolator)",
"type": "object",
"description": "In the following you can find help for the Percolator specific options that are only used if [`--posterior_probabilities`](#--posterior_probabilities) was set to 'percolator'.\nNote that there are currently some restrictions to the original options of Percolator:\n\n* no Percolator protein FDR possible (currently OpenMS' FDR is used on protein level)\n* no support for separate target and decoy databases (i.e. no min-max q-value calculation or target-decoy competition strategy)\n* no support for combined or experiment-wide peptide re-scoring. Currently search results per input file are submitted to Percolator independently.",
"default": "",
"properties": {
"FDR_level": {
"type": "string",
"description": "Calculate FDR on PSM ('psm-level-fdrs') or peptide level ('peptide-level-fdrs')?",
"default": "peptide-level-fdrs",
"fa_icon": "fas fa-list-ol",
"enum": [
"peptide-level-fdrs",
"psm-level-fdrs"
]
},
"train_FDR": {
"type": "number",
"description": "The FDR cutoff to be used during training of the SVM.",
"default": 0.05,
"fa_icon": "fas fa-sliders-h"
},
"test_FDR": {
"type": "number",
"description": "The FDR cutoff to be used during testing of the SVM.",
"default": 0.05,
"fa_icon": "fas fa-sliders-h"
},
"subset_max_train": {
"type": "integer",
"description": "Only train an SVM on a subset of PSMs, and use the resulting score vector to evaluate the other PSMs. Recommended when analyzing huge numbers (>1 million) of PSMs. When set to 0, all PSMs are used for training as normal. This is a runtime vs. discriminability tradeoff. Default: 300,000",
"default": 300000,
"fa_icon": "fas fa-sliders-h"
},
"klammer": {
"type": "boolean",
"description": "Retention time features are calculated as in Klammer et al. instead of with Elude. Default: false",
"fa_icon": "far fa-check-square",
"hidden": true
},
"description_correct_features": {
"type": "integer",
"description": "Use additional features whose values are learnt by correct entries. See help text. Default: 0 = none",
"fa_icon": "fas fa-list-ol",
"help_text": "Percolator provides the possibility to use so called description of correct features, i.e. features for which desirable values are learnt from the previously identified target PSMs. The absolute value of the difference between desired value and observed value is then used as predictive features.\n\n1 -> iso-electric point\n\n2 -> mass calibration\n\n4 -> retention time\n\n8 -> `delta_retention_time * delta_mass_calibration`"
}
},
"fa_icon": "fas fa-star-half"
},
"psm_re_scoring__distribution_fitting_": {
"title": "PSM re-scoring (distribution fitting)",
"type": "object",
"description": "Use this instead of Percolator if there are problems with Percolator (e.g. due to bad separation) or for performance",
"default": "",
"properties": {
"outlier_handling": {
"type": "string",
"description": "How to handle outliers during fitting:\n\n* ignore_iqr_outliers (default): ignore outliers outside of `3*IQR` from Q1/Q3 for fitting\n* set_iqr_to_closest_valid: set IQR-based outliers to the last valid value for fitting\n* ignore_extreme_percentiles: ignore everything outside 99th and 1st percentile (also removes equal values like potential censored max values in XTandem)\n* none: do nothing",
"default": "none",
"fa_icon": "fas fa-list-ol",
"enum": [
"none",
"ignore_iqr_outliers",
"set_iqr_to_closest_valid",
"ignore_extreme_percentiles"
]
}
},
"fa_icon": "far fa-star-half"
},
"consensus_id": {
"title": "Consensus ID",
"type": "object",
"description": "",
"default": "",
"properties": {
"consensusid_algorithm": {
"type": "string",
"description": "How to combine the probabilities from the single search engines: best, combine using a sequence similarity-matrix (PEPMatrix), combine using shared ion count of peptides (PEPIons). See help for further info.",
"default": "best",
"fa_icon": "fas fa-list-ol",
"help_text": "Specifies how search engine results are combined: ConsensusID offers several algorithms that can aggregate results from multiple peptide identification engines ('search engines') into consensus identifications - typically one per MS2 spectrum. This works especially well for search engines that provide more than one peptide hit per spectrum, i.e. that report not just the best hit, but also a list of runner-up candidates with corresponding scores.\n\nThe available algorithms are:\n\n* PEPMatrix: Scoring based on posterior error probabilities (PEPs) and peptide sequence similarities. This algorithm uses a substitution matrix to score the similarity of sequences not listed by all search engines. It requires PEPs as the scores for all peptide hits.\n* PEPIons: Scoring based on posterior error probabilities (PEPs) and fragment ion similarities ('shared peak count'). This algorithm, too, requires PEPs as scores.\n* best: For each peptide ID, this uses the best score of any search engine as the consensus score.\n* worst: For each peptide ID, this uses the worst score of any search engine as the consensus score.\n* average: For each peptide ID, this uses the average score of all search engines as the consensus score.\n* ranks: Calculates a consensus score based on the ranks of peptide IDs in the results of different search engines. The final score is in the range (0, 1], with 1 being the best score.\n\nTo make scores comparable, for best, worst and average, PEPs are used as well. Peptide IDs are only considered the same if they map to exactly the same sequence (including modifications and their localization). Also isobaric aminoacids are (for now) only considered equal with the PEPMatrix/PEPIons algorithms.",
"enum": [
"best",
"PEPMatrix",
"PEPIons"
]
},
"consensusid_considered_top_hits": {
"type": "integer",
"description": "Only use the top N hits per search engine and spectrum for combination. Default: 0 = all",
"fa_icon": "fas fa-sliders-h",
"help_text": "Limits the number of alternative peptide hits considered per spectrum/feature for each identification run. This helps to reduce runtime, especially for the PEPMatrix and PEPIons algorithms, which involve costly 'all vs. all' comparisons of peptide hits per spectrum across engines."
},
"min_consensus_support": {
"type": "integer",
"description": "A threshold for the ratio of occurence/similarity scores of a peptide in other runs, to be reported. See help.",
"fa_icon": "fas fa-filter",
"help_text": "This allows filtering of peptide hits based on agreement between search engines. Every peptide sequence in the analysis has been identified by at least one search run. This parameter defines which fraction (between 0 and 1) of the remaining search runs must 'support' a peptide identification that should be kept. The meaning of 'support' differs slightly between algorithms: For best, worst, average and rank, each search run supports peptides that it has also identified among its top `consensusid_considered_top_hits` candidates. So `min_consensus_support` simply gives the fraction of additional search engines that must have identified a peptide. (For example, if there are three search runs, and only peptides identified by at least two of them should be kept, set `min_support` to 0.5.) For the similarity-based algorithms PEPMatrix and PEPIons, the 'support' for a peptide is the average similarity of the most-similar peptide from each (other) search run. (In the context of the JPR publication, this is the average of the similarity scores used in the consensus score calculation for a peptide.) Note: For most of the subsequent algorithms, only the best identification per spectrum is used."
}
},
"fa_icon": "fas fa-code-branch"
},
"protein_inference_": {
"title": "Protein inference ",
"type": "object",
"description": "To group proteins, calculate scores on the protein (group) level and to potentially modify associations from peptides to proteins.",
"default": "",
"properties": {
"protein_inference": {
"type": "string",
"description": "The inference method to use. 'aggregation' (default) or 'bayesian'.",
"default": "aggregation",
"fa_icon": "fas fa-list-ol",
"help_text": "Infer proteins through:\n\n* 'aggregation' = aggregates all peptide scores across a protein (by calculating the maximum) (default)\n* 'bayesian' = compute a posterior probability for every protein based on a Bayesian network (i.e. using Epifany)\n* ('percolator' not yet supported)\n\n**Note:** If protein grouping is performed also depends on the `protein_quant` parameter (i.e. if peptides have to be unique or unique to a group only)",
"enum": [
"aggregation",
"bayesian"
]
},
"protein_level_fdr_cutoff": {
"type": "number",
"description": "The experiment-wide protein (group)-level FDR cutoff. Default: 0.05",
"default": 0.05,
"fa_icon": "fas fa-filter",
"help_text": "This can be protein level if 'strictly_unique_peptides' are used for protein quantification. See [`--protein_quant`](#params_protein_quant)"
}
},
"fa_icon": "fab fa-hubspot"
},
"protein_quantification": {
"title": "Protein Quantification",
"type": "object",
"description": "",
"default": "",
"properties": {
"protein_quant": {
"type": "string",
"description": "Quantify proteins based on:\n\n* 'unique_peptides' = use peptides mapping to single proteins or a group of indistinguishable proteins (according to the set of experimentally identified peptides)\n* 'strictly_unique_peptides' = use peptides mapping to a unique single protein only\n* 'shared_peptides' = use shared peptides, too, but only greedily for its best group (by inference score)",
"default": "unique_peptides",
"enum": [
"unique_peptides",
"strictly_unique_peptides",
"shared_peptides"
],
"fa_icon": "fas fa-list-ol"
},
"quantification_method": {
"type": "string",
"description": "Choose between feature-based quantification based on integrated MS1 signals ('feature_intensity'; default) or spectral counting of PSMs ('spectral_counting'). **WARNING:** 'spectral_counting' is not compatible with our MSstats step yet. MSstats will therefore be disabled automatically with that choice.",
"default": "feature_intensity",
"enum": [
"feature_intensity",
"spectral_counting"
],
"fa_icon": "fas fa-list-ol"
},
"mass_recalibration": {
"type": "boolean",
"description": "Recalibrates masses based on precursor mass deviations to correct for instrument biases. (default: 'false')",
"fa_icon": "far fa-check-square"
},
"transfer_ids": {
"type": "string",
"description": "Tries a targeted requantification in files where an ID is missing, based on aggregate properties (i.e. RT) of the features in other aligned files (e.g. 'mean' of RT). (**WARNING:** increased memory consumption and runtime). 'false' turns this feature off. (default: 'false')",
"default": "false",
"enum": [
"false",
"mean"
],
"fa_icon": "fas fa-list-ol"
},
"targeted_only": {
"type": "boolean",
"description": "Only looks for quantifiable features at locations with an identified spectrum. Set to false to include unidentified features so they can be linked and matched to identified ones (= match between runs). (default: 'true')",
"default": true,
"fa_icon": "far fa-check-square"
},
"inf_quant_debug": {
"type": "integer",
"description": "Debug level when running the re-scoring. Logs become more verbose and at '>666' potentially very large temporary files are kept.",
"fa_icon": "fas fa-bug"
}
},
"fa_icon": "fas fa-braille"
},
"statistical_post_processing": {
"title": "Statistical post-processing",
"type": "object",
"description": "",
"default": "Parameters for the R script using MSstats for statistical post processing and quantification visualization.",
"properties": {
"skip_post_msstats": {
"type": "boolean",
"description": "Skip MSstats for statistical post-processing?",
"fa_icon": "fas fa-forward"
},
"ref_condition": {
"type": "string",
"description": "Instead of all pairwise contrasts (default), uses the given condition name/number (corresponding to your experimental design) as a reference and creates pairwise contrasts against it. (TODO not yet fully implemented)",
"fa_icon": "fas fa-font"
},
"contrasts": {
"type": "string",
"description": "Allows full control over contrasts by specifying a set of contrasts in a semicolon seperated list of R-compatible contrasts with the condition names/numbers as variables (e.g. `1-2;1-3;2-3`). Overwrites '--ref_condition' (TODO not yet fully implemented)",
"fa_icon": "fas fa-font"
}
},
"fa_icon": "fab fa-r-project"
},
"quality_control": {
"title": "Quality control",
"type": "object",
"description": "",
"default": "",
"properties": {
"enable_qc": {
"type": "boolean",
"description": "Enable generation of quality control report by PTXQC? default: 'false' since it is still unstable",
"fa_icon": "fas fa-toggle-on"
},
"ptxqc_report_layout": {
"type": "string",
"description": "Specify a yaml file for the report layout (see PTXQC documentation) (TODO not yet fully implemented)",
"fa_icon": "far fa-file"
}
},
"fa_icon": "fas fa-file-medical-alt"
}
},
"allOf": [
{
"$ref": "#/definitions/input_output_options"
},
{
"$ref": "#/definitions/generic_options"
},
{
"$ref": "#/definitions/max_job_request_options"
},
{
"$ref": "#/definitions/institutional_config_options"
},
{
"$ref": "#/definitions/main_parameters__sdrf_"
},
{
"$ref": "#/definitions/main_parameters__spectra_files_"
},
{
"$ref": "#/definitions/protein_database"
},
{
"$ref": "#/definitions/spectrum_preprocessing"
},
{
"$ref": "#/definitions/database_search"
},
{
"$ref": "#/definitions/modification_localization"
},
{
"$ref": "#/definitions/peptide_re_indexing"
},
{
"$ref": "#/definitions/psm_re_scoring__general_"
},
{
"$ref": "#/definitions/psm_re_scoring__percolator_"
},
{
"$ref": "#/definitions/psm_re_scoring__distribution_fitting_"
},
{
"$ref": "#/definitions/consensus_id"
},
{
"$ref": "#/definitions/protein_inference_"
},
{
"$ref": "#/definitions/protein_quantification"
},
{
"$ref": "#/definitions/statistical_post_processing"
},
{
"$ref": "#/definitions/quality_control"
}
]
}