forked from nf-core/proteinfold
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnextflow.config
More file actions
670 lines (610 loc) · 26.3 KB
/
nextflow.config
File metadata and controls
670 lines (610 loc) · 26.3 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
/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nf-core/proteinfold Nextflow config file
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Default config options for all compute environments
----------------------------------------------------------------------------------------
*/
// Global default params, used in configs
params {
// Input options
input = null
mode = 'alphafold2' // {alphafold2, colabfold, esmfold, rosettafold_all_atom, alphafold3, helixfold3, boltz, rosettafold2na}
use_gpu = false
save_intermediates = false
split_fasta = false
db = null
full_dbs = false // true/false, globally sets full_dbs if not independently set
use_msa_server = false
msa_server_url = null
uniref30_prefix = null
// Alphafold2 parameters
alphafold2_mode = 'split_msa_prediction' // {standard, split_msa_prediction}
alphafold2_max_template_date = '2038-01-19'
alphafold2_full_dbs = null // true full_dbs, false reduced_dbs
alphafold2_model_preset = 'monomer_ptm' // for AF2 {monomer, monomer_casp14, monomer_ptm, multimer}
alphafold2_db = null
alphafold2_random_seed = null
// Alphafold2 links
alphafold2_bfd_link = null
alphafold2_small_bfd_link = null
alphafold2_params_link = null
alphafold2_mgnify_link = null
alphafold2_pdb70_link = null
alphafold2_pdb_mmcif_link = null
alphafold2_pdb_obsolete_link = null
alphafold2_uniref30_link = null
alphafold2_uniref90_link = null
alphafold2_pdb_seqres_link = null
alphafold2_uniprot_sprot_link = null
alphafold2_uniprot_trembl_link = null
// Alphafold2 paths
alphafold2_bfd_path = null
alphafold2_small_bfd_path = null
alphafold2_params_path = null
alphafold2_mgnify_path = null
alphafold2_pdb70_path = null
alphafold2_pdb_mmcif_path = null
alphafold2_pdb_obsolete_path = null
alphafold2_uniref30_path = null
alphafold2_uniref90_path = null
alphafold2_pdb_seqres_path = null
alphafold2_uniprot_path = null
// Alphafold3 parameters
alphafold3_db = null
// Alphafold3 links
alphafold3_small_bfd_link = null
alphafold3_mgnify_link = null
alphafold3_pdb_mmcif_link = null
alphafold3_uniref90_link = null
alphafold3_pdb_seqres_link = null
alphafold3_uniprot_link = null
alphafold3_rnacentral_link = null
alphafold3_nt_rna_link = null
alphafold3_rfam_link = null
// Alphafold3 paths
alphafold3_small_bfd_path = null
alphafold3_params_path = null
alphafold3_mgnify_path = null
alphafold3_pdb_mmcif_path = null
alphafold3_uniref90_path = null
alphafold3_pdb_seqres_path = null
alphafold3_uniprot_path = null
alphafold3_rnacentral_path = null
alphafold3_nt_rna_path = null
alphafold3_rfam_path = null
// Boltz parameters
boltz_model = null
boltz_use_potentials = false
boltz_use_kernels = true
// Boltz links
boltz_ccd_link = null
boltz_model_link = null
boltz2_aff_link = null
boltz2_conf_link = null
boltz2_mols_link = null
// Boltz paths
boltz_db = null
boltz_ccd_path = null
boltz_model_path = null
boltz2_aff_path = null
boltz2_conf_path = null
boltz2_mols_path = null
// Colabfold parameters
colabfold_model_preset = "alphafold2_ptm" // {'alphafold2_ptm', 'alphafold2_multimer_v1', 'alphafold2_multimer_v2', 'alphafold2_multimer_v3'}
colabfold_num_recycles = 3
colabfold_use_amber = true
colabfold_use_gpu_relax = false
colabfold_db = null
colabfold_db_load_mode = 0
colabfold_use_templates = false
colabfold_create_index = false
// Colabfold links
colabfold_db_link = null
colabfold_uniref30_link = null
// Colabfold paths
colabfold_envdb_path = null
colabfold_uniref30_path = null
// Esmfold parameters
esmfold_db = null
esmfold_model_preset = "monomer"
esmfold_num_recycles = 4
// Esmfold links
esmfold_3B_v1 = null
esm2_t36_3B_UR50D = null
esm2_t36_3B_UR50D_contact_regression = null
// Esmfold paths
esmfold_params_path = null
// RoseTTAFold_All_Atom parameters
rosettafold_all_atom_db = null
// RoseTTAFold_All_Atom links
rosettafold_all_atom_uniref30_link = null
rosettafold_all_atom_pdb100_link = null
rosettafold_all_atom_bfd_link = null
rosettafold_all_atom_paper_weights_link = null
// RoseTTAFold_All_Atom paths
rosettafold_all_atom_uniref30_path = null
rosettafold_all_atom_pdb100_path = null
rosettafold_all_atom_bfd_path = null
rosettafold_all_atom_paper_weights_path = null
// Helixfold3 parameters
helixfold3_db = null
// helixfold3_full_dbs = null // true full_dbs, false reduced_dbs
helixfold3_precision = "bf16"
helixfold3_infer_times = 4
helixfold3_max_template_date = "2038-01-19"
// Helixfold3 links
helixfold3_uniclust30_link = null
helixfold3_ccd_preprocessed_link = null
helixfold3_rfam_link = null
helixfold3_init_models_link = null
helixfold3_bfd_link = null
helixfold3_small_bfd_link = null
helixfold3_uniprot_sprot_link = null
helixfold3_uniprot_trembl_link = null
helixfold3_pdb_seqres_link = null
helixfold3_uniref90_link = null
helixfold3_mgnify_link = null
helixfold3_pdb_mmcif_link = null
helixfold3_obsolete_link = null
helixfold3_maxit_src_link = null
// Helixfold3 paths
helixfold3_uniclust30_path = null
helixfold3_ccd_preprocessed_path = null
helixfold3_rfam_path = null
helixfold3_init_models_path = null
helixfold3_bfd_path = null
helixfold3_small_bfd_path = null
helixfold3_uniprot_path = null
helixfold3_pdb_seqres_path = null
helixfold3_uniref90_path = null
helixfold3_mgnify_path = null
helixfold3_pdb_mmcif_path = null
helixfold3_obsolete_path = null
helixfold3_maxit_src_path = null
// RosettaFold2NA parameters
rosettafold2na_db = null
// RosettaFold2NA links
rosettafold2na_uniref30_link = null
rosettafold2na_bfd_link = null
rosettafold2na_pdb100_link = null
rosettafold2na_weights_link = null
rfam_full_region_link = null
rfam_cm_link = null
rnacentral_rfam_annotations_link = null
rnacentral_id_mapping_link = null
rnacentral_sequences_link = null
// RosettaFold2NA paths
rosettafold2na_uniref30_path = null
rosettafold2na_bfd_path = null
rosettafold2na_pdb100_path = null
rosettafold2na_weights_path = null
rosettafold2na_rna_path = null
// Foldseek params
skip_foldseek = true
foldseek_easysearch_arg = null
// Foldseek databases paths
foldseek_db = null
foldseek_db_path = null
// Process skipping options
skip_multiqc = false
skip_visualisation = false
// MultiQC options
multiqc_config = null
multiqc_title = null
multiqc_logo = null
max_multiqc_email_size = '25.MB'
multiqc_methods_description = null
// Boilerplate options
outdir = null
publish_dir_mode = 'copy'
email = null
email_on_fail = null
plaintext_email = false
monochrome_logs = false
hook_url = System.getenv('HOOK_URL')
help = false
help_full = false
show_hidden = false
version = false
pipelines_testdata_base_path = 'https://raw.githubusercontent.com/nf-core/test-datasets/'
trace_report_suffix = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-ss')
// Config options
config_profile_name = null
config_profile_description = null
custom_config_version = 'master'
custom_config_base = "https://raw.githubusercontent.com/nf-core/configs/${params.custom_config_version}"
config_profile_contact = null
config_profile_url = null
// Schema validation default options
validate_params = true
}
// Load base.config by default for all pipelines
includeConfig 'conf/base.config'
profiles {
debug {
dumpHashes = true
process.beforeScript = 'echo $HOSTNAME'
cleanup = false
nextflow.enable.configProcessNamesValidation = true
}
conda {
conda.enabled = true
docker.enabled = false
singularity.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
conda.channels = ['conda-forge', 'bioconda']
apptainer.enabled = false
}
mamba {
conda.enabled = true
conda.useMamba = true
docker.enabled = false
singularity.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
apptainer.enabled = false
}
docker {
docker.enabled = true
docker.runOptions = params.use_gpu ? '--gpus all' : '-u $(id -u):$(id -g)'
conda.enabled = false
singularity.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
apptainer.enabled = false
}
arm64 {
process.arch = 'arm64'
// TODO https://github.com/nf-core/modules/issues/6694
// For now if you're using arm64 you have to use wave for the sake of the maintainers
// wave profile
apptainer.ociAutoPull = true
singularity.ociAutoPull = true
wave.enabled = true
wave.freeze = true
wave.strategy = 'conda,container'
}
emulate_amd64 {
docker.runOptions = params.use_gpu ?
'-u $(id -u):$(id -g) --platform=linux/amd64 --gpus all' :
'-u $(id -u):$(id -g) --platform=linux/amd64'
}
singularity {
singularity.enabled = true
singularity.autoMounts = true
singularity.pullTimeout = '40m'
singularity.runOptions = params.use_gpu ? '--nv' : ''
conda.enabled = false
docker.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
apptainer.enabled = false
}
podman {
podman.enabled = true
conda.enabled = false
docker.enabled = false
singularity.enabled = false
shifter.enabled = false
charliecloud.enabled = false
apptainer.enabled = false
}
shifter {
shifter.enabled = true
conda.enabled = false
docker.enabled = false
singularity.enabled = false
podman.enabled = false
charliecloud.enabled = false
apptainer.enabled = false
}
charliecloud {
charliecloud.enabled = true
conda.enabled = false
docker.enabled = false
singularity.enabled = false
podman.enabled = false
shifter.enabled = false
apptainer.enabled = false
}
apptainer {
apptainer.enabled = true
apptainer.autoMounts = true
apptainer.pullTimeout = '40m'
apptainer.runOptions = params.use_gpu ? '--nv' : ''
conda.enabled = false
docker.enabled = false
singularity.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
}
wave {
apptainer.ociAutoPull = true
singularity.ociAutoPull = true
wave.enabled = true
wave.freeze = true
wave.strategy = 'conda,container'
}
gpu {
docker.runOptions = '-u $(id -u):$(id -g) --gpus all'
apptainer.runOptions = '--nv'
singularity.runOptions = '--nv'
}
test { includeConfig 'conf/test.config' }
test_alphafold2_split { includeConfig 'conf/test_alphafold_split.config' }
test_alphafold2_download { includeConfig 'conf/test_alphafold_download.config' }
test_alphafold3_standard { includeConfig 'conf/test_alphafold3_standard.config' }
test_alphafold3_download { includeConfig 'conf/test_alphafold3_download.config' }
test_colabfold_local { includeConfig 'conf/test_colabfold_local.config' }
test_colabfold_webserver { includeConfig 'conf/test_colabfold_webserver.config' }
test_colabfold_download { includeConfig 'conf/test_colabfold_download.config' }
test_esmfold { includeConfig 'conf/test_esmfold.config' }
test_split_fasta { includeConfig 'conf/test_split_fasta.config' }
test_full { includeConfig 'conf/test_full.config' }
test_full_alphafold2_standard { includeConfig 'conf/test_full.config' }
test_full_alphafold2_split { includeConfig 'conf/test_full_alphafold_split.config' }
test_full_alphafold2_multimer { includeConfig 'conf/test_full_alphafold_multimer.config' }
test_full_colabfold_local { includeConfig 'conf/test_full_colabfold_local.config' }
test_full_colabfold_webserver { includeConfig 'conf/test_full_colabfold_webserver.config' }
test_full_colabfold_multimer { includeConfig 'conf/test_full_colabfold_webserver_multimer.config' }
test_full_esmfold { includeConfig 'conf/test_full_esmfold.config' }
test_full_esmfold_multimer { includeConfig 'conf/test_full_esmfold_multimer.config' }
test_full_helixfold3 { includeConfig 'conf/test_full_helixfold3.config' }
test_full_boltz { includeConfig 'conf/test_full_boltz.config' }
test_full_rosettafold_all_atom { includeConfig 'conf/test_full_rosettafold_all_atom.config' }
test_full_rosettafold2na { includeConfig 'conf/test_full_rosettafold2na.config' }
test_rosettafold_all_atom { includeConfig 'conf/test_rosettafold_all_atom.config' }
test_helixfold3 { includeConfig 'conf/test_helixfold3.config' }
test_rosettafold2na { includeConfig 'conf/test_rosettafold2na.config' }
test_full_boltz { includeConfig 'conf/test_full_boltz.config' }
test_boltz { includeConfig 'conf/test_boltz.config' }
}
// Load nf-core custom profiles from different institutions
// If params.custom_config_base is set AND either the NXF_OFFLINE environment variable is not set or params.custom_config_base is a local path, the nfcore_custom.config file from the specified base path is included.
// Load nf-core/proteinfold custom profiles from different institutions.
includeConfig params.custom_config_base && (!System.getenv('NXF_OFFLINE') || !params.custom_config_base.startsWith('http')) ? "${params.custom_config_base}/nfcore_custom.config" : "/dev/null"
// Load nf-core/proteinfold custom profiles from different institutions.
includeConfig params.custom_config_base && (!System.getenv('NXF_OFFLINE') || !params.custom_config_base.startsWith('http')) ? "${params.custom_config_base}/pipeline/proteinfold.config" : "/dev/null"
// Set default registry for Apptainer, Docker, Podman, Charliecloud and Singularity independent of -profile
// Will not be used unless Apptainer / Docker / Podman / Charliecloud / Singularity are enabled
// Set to your registry if you have a mirror of containers
apptainer.registry = 'quay.io'
docker.registry = 'quay.io'
podman.registry = 'quay.io'
singularity.registry = 'quay.io'
charliecloud.registry = 'quay.io'
// Export these variables to prevent local Python/R libraries from conflicting with those in the container
// The JULIA depot path has been adjusted to a fixed path `/usr/local/share/julia` that needs to be used for packages in the container.
// See https://apeltzer.github.io/post/03-julia-lang-nextflow/ for details on that. Once we have a common agreement on where to keep Julia packages, this is adjustable.
env {
PYTHONNOUSERSITE = 1
R_PROFILE_USER = "/.Rprofile"
R_ENVIRON_USER = "/.Renviron"
JULIA_DEPOT_PATH = "/usr/local/share/julia"
}
// Set bash options
process.shell = [
"bash",
"-C", // No clobber - prevent output redirection from overwriting files.
"-e", // Exit if a tool returns a non-zero status/exit code
"-u", // Treat unset variables and parameters as an error
"-o", // Returns the status of the last command to exit..
"pipefail" // ..with a non-zero status or zero if all successfully execute
]
// Disable process selector warnings by default. Use debug profile to enable warnings.
nextflow.enable.configProcessNamesValidation = false
timeline {
enabled = true
file = "${params.outdir}/pipeline_info/execution_timeline_${params.trace_report_suffix}.html"
}
report {
enabled = true
file = "${params.outdir}/pipeline_info/execution_report_${params.trace_report_suffix}.html"
}
trace {
enabled = true
file = "${params.outdir}/pipeline_info/execution_trace_${params.trace_report_suffix}.txt"
}
dag {
enabled = true
file = "${params.outdir}/pipeline_info/pipeline_dag_${params.trace_report_suffix}.html"
}
manifest {
name = 'nf-core/proteinfold'
contributors = [
[
name: 'Athanasios Baltzis',
affiliation: 'Centre for Genomic Regulation, Spain',
github: 'athbaltzis',
contribution: ['author', 'maintainer'], // List of contribution types ('author', 'maintainer' or 'contributor')
orcid: '0000-0002-7495-1218'
],
[
name: ' Jose Espinosa-Carrasco',
affiliation: 'Centre for Genomic Regulation, Spain',
github: 'joseespinosa',
contribution: ['author', 'maintainer'], // List of contribution types ('author', 'maintainer' or 'contributor')
orcid: '0000-0002-1541-042X'
],
[
name: 'Luisa Santus',
affiliation: 'Centre for Genomic Regulation, Spain',
github: 'luisas',
contribution: ['author', 'contributor'],
orcid: '0000-0002-5992-0771'
],
[
name: 'Leila Mansouri',
affiliation: 'Centre for Genomic Regulation, Spain',
github: 'l-mansouri',
contribution: ['author', 'contributor'],
orcid: '0000-0001-8442-9709'
],
[
name: 'Harshil Patel',
affiliation: 'Seqera',
github: 'drpatelh',
contribution: ['contributor'],
orcid: '0000-0003-2707-7940'
],
[
name: 'Joshua Caley',
affiliation: 'UNSW Structural Biology Facility, Australia',
github: 'jscgh',
contribution: ['maintainer', 'contributor'],
orcid: '0000-0002-9374-0969'
],
[
name: 'Keiran Rowell',
affiliation: 'UNSW Structural Biology Facility, Australia',
github: 'keiran-rowell-unsw',
contribution: ['maintainer', 'contributor'],
orcid: '0000-0001-6955-1167'
],
[
name: 'Patricia Bota',
affiliation: 'Pompeu Fabra University, Spain',
github: 'abotlp',
contribution: ['maintainer','contributor'],
orcid: '0000-0001-7034-3744'
],
[
name: 'Thomas Liftin',
affiliation: ['UNSW Structural Biology Facility, Australia', 'Australian BioCommons'],
github: 'tlitfin',
contribution: ['maintainer', 'contributor'],
orcid: '0000-0002-4863-3865'
],
[
name: 'Ziad Al-Bkhetan',
affiliation: 'Australian BioCommons',
github: 'ziadbkh',
contribution: ['contributor'],
orcid: '0000-0002-4032-5331'
],
[
name: 'Nathan Glades',
affiliation: 'UNSW Structural Biology Facility, Australia',
github: 'nbtm-sh',
contribution: ['contributor'],
orcid: ''
],
[
name: 'Evangelos Karatzas',
affiliation: 'EMBL-EBI, UK',
github: 'vagkaratzas',
contribution: ['contributor'],
orcid: '0000-0001-9132-8981'
],
[
name: 'Júlia Mir-Pedrol',
affiliation: 'Centre for Genomic Regulation, Spain',
github: 'mirpedrol',
contribution: ['contributor'],
orcid: '0000-0001-6104-9260'
],
[
name: "Mitchell J O Brien",
affiliation: ['Sydney Informatics Hub, The University of Sydney, Australia', 'Australian BioCommons'],
github: 'mitchob',
contribution: ['contributor'],
orcid: '0000-0003-0662-9101'
],
]
homePage = 'https://github.com/nf-core/proteinfold'
description = """Protein 3D structure prediction pipeline"""
mainScript = 'main.nf'
defaultBranch = 'master'
nextflowVersion = '!>=25.10.2'
version = '2.0.0'
doi = '10.5281/zenodo.7629996'
}
// Nextflow plugins
plugins {
id 'nf-schema@2.6.1' // Validation of pipeline parameters and creation of an input channel from a sample sheet
}
validation {
defaultIgnoreParams = ["genomes"]
monochromeLogs = params.monochrome_logs
}
// Load DBs parameters
params.alphafold2_db = params.mode.toLowerCase().split(",").contains("alphafold2") ?
(params.alphafold2_db ?: params.db) : params.alphafold2_db
params.alphafold2_full_dbs = params.mode.toLowerCase().split(",").contains("alphafold2") ?
(params.alphafold2_full_dbs ?: params.full_dbs) : params.alphafold2_full_dbs
params.alphafold3_db = params.mode.toLowerCase().split(",").contains("alphafold3") ?
(params.alphafold3_db ?: params.db) : params.alphafold3_db
params.colabfold_db = (params.mode.toLowerCase().split(",").contains("colabfold") || params.mode.toLowerCase().split(",").contains("boltz")) ?
(params.colabfold_db ?: params.db) : params.colabfold_db
params.esmfold_db = params.mode.toLowerCase().split(",").contains("esmfold") ?
(params.esmfold_db ?: params.db) : params.esmfold_db
params.rosettafold_all_atom_db = params.mode.toLowerCase().split(",").contains("rosettafold_all_atom") ?
(params.rosettafold_all_atom_db ?: params.db) : params.rosettafold_all_atom_db
params.rosettafold2na_db = params.mode.toLowerCase().split(",").contains("rosettafold2na") ?
(params.rosettafold2na_db ?: params.db) : params.rosettafold2na_db
params.helixfold3_db = params.mode.toLowerCase().split(",").contains("helixfold3") ?
(params.helixfold3_db ?: params.db) : params.helixfold3_db
// Not supported yet
//params.helixfold3_full_dbs = params.mode.toLowerCase().split(",").contains("helixfold3") ?
// (params.helixfold3_full_dbs ?: params.full_dbs) : params.helixfold3_full_dbs
params.boltz_db = params.mode.toLowerCase().split(",").contains("boltz") ? (params.boltz_db ?: params.db) : params.boltz_db
// Load modules.config for DSL2 module specific options
includeConfig 'conf/modules.config'
// Load modules config for pipeline specific modes
includeConfig ({
if (params.mode.toLowerCase().split(",").contains("alphafold2")) {
return 'conf/modules_alphafold2.config'
}
return '/dev/null'
}())
includeConfig ({
if (params.mode.toLowerCase().split(",").contains("alphafold3")) {
return 'conf/modules_alphafold3.config'
}
return '/dev/null'
}())
includeConfig ({
if (params.mode.toLowerCase().split(",").contains("colabfold")) {
return 'conf/modules_colabfold.config'
}
return '/dev/null'
}())
includeConfig ({
if (params.mode.toLowerCase().split(",").contains("esmfold")) {
return 'conf/modules_esmfold.config'
}
return '/dev/null'
}())
includeConfig ({
if (params.mode.toLowerCase().split(",").contains("rosettafold_all_atom")) {
return 'conf/modules_rosettafold_all_atom.config'
}
return '/dev/null'
}())
includeConfig ({
if (params.mode.toLowerCase().split(",").contains("helixfold3")) {
return 'conf/modules_helixfold3.config'
}
return '/dev/null'
}())
includeConfig ({
if (params.mode.toLowerCase().split(",").contains("boltz")) {
return 'conf/modules_boltz.config'
}
return '/dev/null'
}())
includeConfig ({
if (params.mode.toLowerCase().split(",").contains("rosettafold2na")) {
return 'conf/modules_rosettafold2na.config'
}
return '/dev/null'
}())
// Load links to DBs and parameters
includeConfig 'conf/dbs.config'