Skip to content

Commit 38aff42

Browse files
authored
Merge pull request #356 from tlitfin-unsw/change-af2-defaults
Update AF2 defaults
2 parents 131a243 + b393785 commit 38aff42

8 files changed

+27
-28
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5353
- [[PR #346](https://github.com/nf-core/proteinfold/pull/346)] - Update pipeline template to [nf-core/tools 3.3.2](https://github.com/nf-core/tools/releases/tag/3.3.2).
5454
- [[PR #351](https://github.com/nf-core/proteinfold/pull/351)] - add chain-wise (i)pTM values and summary file for AF3-generation codes.
5555
- [[PR #355](https://github.com/nf-core/proteinfold/pull/355)] - Remove unneccesary params from Boltz and Helixfold3 modes.
56+
- [[PR #356](https://github.com/nf-core/proteinfold/pull/356)] - Update AF2 defaults to use split mode and monomer_ptm model.
5657
- [[PR #360](https://github.com/nf-core/proteinfold/pull/360)] - Rename some DBs paths in the run modules so they are equal to those when DBs are downloaded.
5758
- [[PR #362](https://github.com/nf-core/proteinfold/pull/355)] - Update boltz Dockerfile and image pinging specific version (2.0.3).
5859

conf/modules.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ process {
3030
withName: 'UNTAR' {
3131
ext.args2 = '--no-same-owner'
3232
publishDir = [
33-
path: {"${params.outdir}/DBs/${params.mode}/${params.alphafold2_mode}"},
33+
path: {"${params.outdir}/DBs/${params.mode}"},
3434
mode: 'symlink',
3535
saveAs: { filename -> filename.equals('versions.yml') ? null : filename },
3636
]

conf/modules_alphafold2.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
process {
1818
withName: 'GUNZIP|COMBINE_UNIPROT|DOWNLOAD_PDBMMCIF|ARIA2_PDB_SEQRES' {
1919
publishDir = [
20-
path: {"${params.outdir}/DBs/alphafold2/${params.alphafold2_mode}"},
20+
path: {"${params.outdir}/DBs/alphafold2"},
2121
mode: 'symlink',
2222
saveAs: { filename -> filename.equals('versions.yml') ? null : filename },
2323
]

nextflow.config

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ params {
1111

1212
// Input options
1313
input = null
14-
mode = 'alphafold2' // {alphafold2, colabfold, esmfold, rosettafold_all_atom, helixfold3, boltz}
14+
mode = 'alphafold2' // {alphafold2, colabfold, esmfold, rosettafold_all_atom, alphafold3, helixfold3, boltz}
1515
use_gpu = false
1616
split_fasta = false
1717
db = null
1818

1919
// Alphafold2 parameters
20-
alphafold2_mode = "standard"
21-
max_template_date = "2038-01-19"
20+
alphafold2_mode = 'split_msa_prediction' // {standard, split_msa_prediction}
21+
max_template_date = '2038-01-19'
2222
full_dbs = false // true full_dbs, false reduced_dbs
23-
alphafold2_model_preset = "monomer" // for AF2 {monomer (default), monomer_casp14, monomer_ptm, multimer}
23+
alphafold2_model_preset = 'monomer_ptm' // for AF2 {monomer, monomer_casp14, monomer_ptm, multimer}
2424
alphafold2_db = null
2525
random_seed = null
2626

nextflow_schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,14 @@
100100
},
101101
"alphafold2_mode": {
102102
"type": "string",
103-
"default": "standard",
103+
"default": "split_msa_prediction",
104104
"description": "Specifies the mode in which AlphaFold2 will be run",
105105
"enum": ["standard", "split_msa_prediction"],
106106
"fa_icon": "fas fa-exchange-alt"
107107
},
108108
"alphafold2_model_preset": {
109109
"type": "string",
110-
"default": "monomer",
110+
"default": "monomer_ptm",
111111
"description": "Model preset for 'AlphaFold2' mode",
112112
"enum": ["monomer", "monomer_casp14", "monomer_ptm", "multimer"],
113113
"fa_icon": "fas fa-stream"

tests/alphafold2_download.nf.test.snap

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,18 @@
2222
[
2323
"DBs",
2424
"DBs/alphafold2",
25-
"DBs/alphafold2/standard",
26-
"DBs/alphafold2/standard/UniRef30_2023_02_hhsuite",
27-
"DBs/alphafold2/standard/alphafold_params_2022-12-06",
28-
"DBs/alphafold2/standard/bfd-first_non_consensus_sequences.fasta",
29-
"DBs/alphafold2/standard/mgy_clusters.fa",
30-
"DBs/alphafold2/standard/mmcif_files",
31-
"DBs/alphafold2/standard/obsolete.dat",
32-
"DBs/alphafold2/standard/pdb70_from_mmcif_220313",
33-
"DBs/alphafold2/standard/pdb_seqres.txt",
34-
"DBs/alphafold2/standard/uniprot.fasta",
35-
"DBs/alphafold2/standard/uniprot_sprot.fasta",
36-
"DBs/alphafold2/standard/uniprot_trembl.fasta",
37-
"DBs/alphafold2/standard/uniref90.fasta",
25+
"DBs/alphafold2/UniRef30_2023_02_hhsuite",
26+
"DBs/alphafold2/alphafold_params_2022-12-06",
27+
"DBs/alphafold2/bfd-first_non_consensus_sequences.fasta",
28+
"DBs/alphafold2/mgy_clusters.fa",
29+
"DBs/alphafold2/mmcif_files",
30+
"DBs/alphafold2/obsolete.dat",
31+
"DBs/alphafold2/pdb70_from_mmcif_220313",
32+
"DBs/alphafold2/pdb_seqres.txt",
33+
"DBs/alphafold2/uniprot.fasta",
34+
"DBs/alphafold2/uniprot_sprot.fasta",
35+
"DBs/alphafold2/uniprot_trembl.fasta",
36+
"DBs/alphafold2/uniref90.fasta",
3837
"multiqc",
3938
"multiqc/alphafold2_multiqc_data",
4039
"multiqc/alphafold2_multiqc_plots",
@@ -70,6 +69,6 @@
7069
"nf-test": "0.9.2",
7170
"nextflow": "25.04.6"
7271
},
73-
"timestamp": "2025-08-05T11:15:15.449397416"
72+
"timestamp": "2025-08-06T17:07:06.871556244"
7473
}
7574
}

tests/colabfold_download.nf.test.snap

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
[
2121
"DBs",
2222
"DBs/colabfold",
23-
"DBs/colabfold/standard",
24-
"DBs/colabfold/standard/alphafold_params_2021-07-14",
23+
"DBs/colabfold/alphafold_params_2021-07-14",
2524
"colabfold",
2625
"colabfold/webserver",
2726
"colabfold/webserver/T1024_colabfold.pdb",
@@ -71,8 +70,8 @@
7170
],
7271
"meta": {
7372
"nf-test": "0.9.2",
74-
"nextflow": "24.10.5"
73+
"nextflow": "25.04.6"
7574
},
76-
"timestamp": "2025-07-24T16:54:46.721482885"
75+
"timestamp": "2025-08-04T13:16:31.355330962"
7776
}
7877
}

tests/split_fasta.nf.test.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
],
6565
"meta": {
6666
"nf-test": "0.9.2",
67-
"nextflow": "24.10.5"
67+
"nextflow": "25.04.6"
6868
},
69-
"timestamp": "2025-07-24T16:55:26.47855323"
69+
"timestamp": "2025-08-04T13:24:37.804124192"
7070
}
7171
}

0 commit comments

Comments
 (0)