rc-foundry 0.1.4__py3-none-any.whl → 0.1.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- foundry/version.py +2 -2
- {rc_foundry-0.1.4.dist-info → rc_foundry-0.1.6.dist-info}/METADATA +1 -1
- {rc_foundry-0.1.4.dist-info → rc_foundry-0.1.6.dist-info}/RECORD +139 -8
- rf3/configs/callbacks/default.yaml +5 -0
- rf3/configs/callbacks/dump_validation_structures.yaml +6 -0
- rf3/configs/callbacks/metrics_logging.yaml +10 -0
- rf3/configs/callbacks/train_logging.yaml +16 -0
- rf3/configs/dataloader/default.yaml +15 -0
- rf3/configs/datasets/base.yaml +31 -0
- rf3/configs/datasets/pdb_and_distillation.yaml +58 -0
- rf3/configs/datasets/pdb_only.yaml +17 -0
- rf3/configs/datasets/train/disorder_distillation.yaml +48 -0
- rf3/configs/datasets/train/domain_distillation.yaml +50 -0
- rf3/configs/datasets/train/monomer_distillation.yaml +49 -0
- rf3/configs/datasets/train/na_complex_distillation.yaml +50 -0
- rf3/configs/datasets/train/pdb/af3_weighted_sampling.yaml +8 -0
- rf3/configs/datasets/train/pdb/base.yaml +32 -0
- rf3/configs/datasets/train/pdb/plinder.yaml +54 -0
- rf3/configs/datasets/train/pdb/train_interface.yaml +51 -0
- rf3/configs/datasets/train/pdb/train_pn_unit.yaml +46 -0
- rf3/configs/datasets/train/rna_monomer_distillation.yaml +56 -0
- rf3/configs/datasets/val/af3_ab_set.yaml +11 -0
- rf3/configs/datasets/val/af3_validation.yaml +11 -0
- rf3/configs/datasets/val/base.yaml +32 -0
- rf3/configs/datasets/val/runs_and_poses.yaml +12 -0
- rf3/configs/debug/default.yaml +66 -0
- rf3/configs/debug/train_specific_examples.yaml +21 -0
- rf3/configs/experiment/pretrained/rf3.yaml +50 -0
- rf3/configs/experiment/pretrained/rf3_with_confidence.yaml +13 -0
- rf3/configs/experiment/quick-rf3-with-confidence.yaml +15 -0
- rf3/configs/experiment/quick-rf3.yaml +61 -0
- rf3/configs/hydra/default.yaml +18 -0
- rf3/configs/hydra/no_logging.yaml +7 -0
- rf3/configs/inference.yaml +7 -0
- rf3/configs/inference_engine/base.yaml +23 -0
- rf3/configs/inference_engine/rf3.yaml +33 -0
- rf3/configs/logger/csv.yaml +6 -0
- rf3/configs/logger/default.yaml +3 -0
- rf3/configs/logger/wandb.yaml +15 -0
- rf3/configs/model/components/ema.yaml +1 -0
- rf3/configs/model/components/rf3_net.yaml +177 -0
- rf3/configs/model/components/rf3_net_with_confidence_head.yaml +45 -0
- rf3/configs/model/optimizers/adam.yaml +5 -0
- rf3/configs/model/rf3.yaml +43 -0
- rf3/configs/model/rf3_with_confidence.yaml +7 -0
- rf3/configs/model/schedulers/af3.yaml +6 -0
- rf3/configs/paths/data/default.yaml +43 -0
- rf3/configs/paths/default.yaml +21 -0
- rf3/configs/train.yaml +42 -0
- rf3/configs/trainer/cpu.yaml +6 -0
- rf3/configs/trainer/ddp.yaml +5 -0
- rf3/configs/trainer/loss/losses/confidence_loss.yaml +29 -0
- rf3/configs/trainer/loss/losses/diffusion_loss.yaml +9 -0
- rf3/configs/trainer/loss/losses/distogram_loss.yaml +2 -0
- rf3/configs/trainer/loss/structure_prediction.yaml +4 -0
- rf3/configs/trainer/loss/structure_prediction_with_confidence.yaml +2 -0
- rf3/configs/trainer/metrics/structure_prediction.yaml +14 -0
- rf3/configs/trainer/rf3.yaml +20 -0
- rf3/configs/trainer/rf3_with_confidence.yaml +13 -0
- rf3/configs/validate.yaml +45 -0
- rfd3/cli.py +10 -4
- rfd3/configs/__init__.py +0 -0
- rfd3/configs/callbacks/design_callbacks.yaml +10 -0
- rfd3/configs/callbacks/metrics_logging.yaml +20 -0
- rfd3/configs/callbacks/train_logging.yaml +24 -0
- rfd3/configs/dataloader/default.yaml +15 -0
- rfd3/configs/dataloader/fast.yaml +11 -0
- rfd3/configs/datasets/conditions/dna_condition.yaml +3 -0
- rfd3/configs/datasets/conditions/island.yaml +28 -0
- rfd3/configs/datasets/conditions/ppi.yaml +2 -0
- rfd3/configs/datasets/conditions/sequence_design.yaml +17 -0
- rfd3/configs/datasets/conditions/tipatom.yaml +28 -0
- rfd3/configs/datasets/conditions/unconditional.yaml +21 -0
- rfd3/configs/datasets/design_base.yaml +97 -0
- rfd3/configs/datasets/train/pdb/af3_train_interface.yaml +46 -0
- rfd3/configs/datasets/train/pdb/af3_train_pn_unit.yaml +42 -0
- rfd3/configs/datasets/train/pdb/base.yaml +14 -0
- rfd3/configs/datasets/train/pdb/base_no_weights.yaml +19 -0
- rfd3/configs/datasets/train/pdb/base_transform_args.yaml +59 -0
- rfd3/configs/datasets/train/pdb/na_complex_distillation.yaml +20 -0
- rfd3/configs/datasets/train/pdb/pdb_base.yaml +11 -0
- rfd3/configs/datasets/train/pdb/rfd3_train_interface.yaml +22 -0
- rfd3/configs/datasets/train/pdb/rfd3_train_pn_unit.yaml +23 -0
- rfd3/configs/datasets/train/rfd3_monomer_distillation.yaml +38 -0
- rfd3/configs/datasets/val/bcov_ppi_easy_medium.yaml +9 -0
- rfd3/configs/datasets/val/design_validation_base.yaml +40 -0
- rfd3/configs/datasets/val/dna_binder_design5.yaml +9 -0
- rfd3/configs/datasets/val/dna_binder_long.yaml +13 -0
- rfd3/configs/datasets/val/dna_binder_short.yaml +13 -0
- rfd3/configs/datasets/val/indexed.yaml +9 -0
- rfd3/configs/datasets/val/mcsa_41.yaml +9 -0
- rfd3/configs/datasets/val/mcsa_41_short_rigid.yaml +10 -0
- rfd3/configs/datasets/val/ppi_inference.yaml +7 -0
- rfd3/configs/datasets/val/sm_binder_hbonds.yaml +13 -0
- rfd3/configs/datasets/val/sm_binder_hbonds_short.yaml +15 -0
- rfd3/configs/datasets/val/unconditional.yaml +9 -0
- rfd3/configs/datasets/val/unconditional_deep.yaml +9 -0
- rfd3/configs/datasets/val/unindexed.yaml +8 -0
- rfd3/configs/datasets/val/val_examples/bcov_ppi_easy_medium_with_ori.yaml +151 -0
- rfd3/configs/datasets/val/val_examples/bcov_ppi_easy_medium_with_ori_spoof_helical_bundle.yaml +7 -0
- rfd3/configs/datasets/val/val_examples/bcov_ppi_easy_medium_with_ori_varying_lengths.yaml +28 -0
- rfd3/configs/datasets/val/val_examples/bpem_ori_hb.yaml +212 -0
- rfd3/configs/debug/default.yaml +64 -0
- rfd3/configs/debug/train_specific_examples.yaml +21 -0
- rfd3/configs/dev.yaml +9 -0
- rfd3/configs/experiment/debug.yaml +14 -0
- rfd3/configs/experiment/pretrain.yaml +31 -0
- rfd3/configs/experiment/test-uncond.yaml +10 -0
- rfd3/configs/experiment/test-unindexed.yaml +21 -0
- rfd3/configs/hydra/default.yaml +18 -0
- rfd3/configs/hydra/no_logging.yaml +7 -0
- rfd3/configs/inference.yaml +9 -0
- rfd3/configs/inference_engine/base.yaml +15 -0
- rfd3/configs/inference_engine/dev.yaml +20 -0
- rfd3/configs/inference_engine/rfdiffusion3.yaml +65 -0
- rfd3/configs/logger/csv.yaml +6 -0
- rfd3/configs/logger/default.yaml +2 -0
- rfd3/configs/logger/wandb.yaml +15 -0
- rfd3/configs/model/components/ema.yaml +1 -0
- rfd3/configs/model/components/rfd3_net.yaml +131 -0
- rfd3/configs/model/optimizers/adam.yaml +5 -0
- rfd3/configs/model/rfd3_base.yaml +8 -0
- rfd3/configs/model/samplers/edm.yaml +21 -0
- rfd3/configs/model/samplers/symmetry.yaml +10 -0
- rfd3/configs/model/schedulers/af3.yaml +6 -0
- rfd3/configs/paths/data/default.yaml +18 -0
- rfd3/configs/paths/default.yaml +22 -0
- rfd3/configs/train.yaml +28 -0
- rfd3/configs/trainer/cpu.yaml +6 -0
- rfd3/configs/trainer/ddp.yaml +5 -0
- rfd3/configs/trainer/loss/losses/diffusion_loss.yaml +12 -0
- rfd3/configs/trainer/loss/losses/sequence_loss.yaml +3 -0
- rfd3/configs/trainer/metrics/design_metrics.yaml +22 -0
- rfd3/configs/trainer/rfd3_base.yaml +35 -0
- rfd3/configs/validate.yaml +34 -0
- rfd3/run_inference.py +3 -7
- {rc_foundry-0.1.4.dist-info → rc_foundry-0.1.6.dist-info}/WHEEL +0 -0
- {rc_foundry-0.1.4.dist-info → rc_foundry-0.1.6.dist-info}/entry_points.txt +0 -0
- {rc_foundry-0.1.4.dist-info → rc_foundry-0.1.6.dist-info}/licenses/LICENSE.md +0 -0
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
global_args:
|
|
2
|
+
infer_ori_strategy: hotspots
|
|
3
|
+
|
|
4
|
+
insulinr:
|
|
5
|
+
input: /projects/ml/aa_design/benchmarks/bcov_af3_ppi_benchmark/insulin_target.pdb
|
|
6
|
+
contig: 100-100,/0,B1-150
|
|
7
|
+
contig_atoms: '{}'
|
|
8
|
+
length: 250-250
|
|
9
|
+
redesign_motif_sidechains: false
|
|
10
|
+
atom_level_hotspots:
|
|
11
|
+
B59:
|
|
12
|
+
CG,CZ: 1
|
|
13
|
+
B83:
|
|
14
|
+
CG,CZ: 1
|
|
15
|
+
B91:
|
|
16
|
+
CG,CZ: 1
|
|
17
|
+
pdl1:
|
|
18
|
+
input: /projects/ml/aa_design/benchmarks/bcov_af3_ppi_benchmark/5o45_pdl1.pdb
|
|
19
|
+
contig: 100-100,/0,B1-115
|
|
20
|
+
contig_atoms: '{}'
|
|
21
|
+
length: 215-215
|
|
22
|
+
redesign_motif_sidechains: false
|
|
23
|
+
atom_level_hotspots:
|
|
24
|
+
B40:
|
|
25
|
+
CG,CZ: 1
|
|
26
|
+
B99:
|
|
27
|
+
CG,SD: 1
|
|
28
|
+
B107:
|
|
29
|
+
CG,CZ: 1
|
|
30
|
+
vegfr:
|
|
31
|
+
input: /projects/ml/aa_design/benchmarks/bcov_af3_ppi_benchmark/vegfr_2x1w_and_af2_B.pdb
|
|
32
|
+
contig: 100-100,/0,B1-200
|
|
33
|
+
contig_atoms: '{}'
|
|
34
|
+
length: 300-300
|
|
35
|
+
redesign_motif_sidechains: false
|
|
36
|
+
atom_level_hotspots:
|
|
37
|
+
B13:
|
|
38
|
+
CG1,CG2: 1
|
|
39
|
+
B15:
|
|
40
|
+
CG,CZ: 1
|
|
41
|
+
B43:
|
|
42
|
+
CG,CZ: 1
|
|
43
|
+
B75:
|
|
44
|
+
CG,SD: 1
|
|
45
|
+
B89:
|
|
46
|
+
CD1,CG2: 1
|
|
47
|
+
B91:
|
|
48
|
+
CG1,CG2: 1
|
|
49
|
+
B187:
|
|
50
|
+
CG,CD1: 1
|
|
51
|
+
rbd:
|
|
52
|
+
input: /projects/ml/aa_design/benchmarks/bcov_af3_ppi_benchmark/COVID19_target.pdb
|
|
53
|
+
contig: 100-100,/0,B1-195
|
|
54
|
+
contig_atoms: '{}'
|
|
55
|
+
length: 295-295
|
|
56
|
+
redesign_motif_sidechains: false
|
|
57
|
+
atom_level_hotspots:
|
|
58
|
+
B89:
|
|
59
|
+
CG,CZ: 1
|
|
60
|
+
B121:
|
|
61
|
+
CG,CZ: 1
|
|
62
|
+
B123:
|
|
63
|
+
CG,CD1: 1
|
|
64
|
+
B124:
|
|
65
|
+
CG,CZ: 1
|
|
66
|
+
B141:
|
|
67
|
+
CG,CZ: 1
|
|
68
|
+
B157:
|
|
69
|
+
CG,CZ: 1
|
|
70
|
+
B163:
|
|
71
|
+
CG,CZ: 1
|
|
72
|
+
B165:
|
|
73
|
+
CG,CZ: 1
|
|
74
|
+
B173:
|
|
75
|
+
CG,CZ: 1
|
|
76
|
+
cd28:
|
|
77
|
+
input: /projects/ml/aa_design/benchmarks/bcov_af3_ppi_benchmark/cd28_1yjd_B.pdb
|
|
78
|
+
contig: 100-100,/0,B1-118
|
|
79
|
+
contig_atoms: '{}'
|
|
80
|
+
length: 218-218
|
|
81
|
+
redesign_motif_sidechains: false
|
|
82
|
+
atom_level_hotspots:
|
|
83
|
+
B51:
|
|
84
|
+
CG,CZ: 1
|
|
85
|
+
B61:
|
|
86
|
+
CG,CZ: 1
|
|
87
|
+
B99:
|
|
88
|
+
CG,SD: 1
|
|
89
|
+
B104:
|
|
90
|
+
CG,CZ: 1
|
|
91
|
+
il2ra:
|
|
92
|
+
input: /projects/ml/aa_design/benchmarks/bcov_af3_ppi_benchmark/il2ra_1z92_B.pdb
|
|
93
|
+
contig: 100-100,/0,B1-122
|
|
94
|
+
contig_atoms: '{}'
|
|
95
|
+
length: 222-222
|
|
96
|
+
redesign_motif_sidechains: false
|
|
97
|
+
atom_level_hotspots:
|
|
98
|
+
B3:
|
|
99
|
+
CG,CD1: 1
|
|
100
|
+
B26:
|
|
101
|
+
CG,SD: 1
|
|
102
|
+
B43:
|
|
103
|
+
CG,CD1: 1
|
|
104
|
+
B44:
|
|
105
|
+
CG,CZ: 1
|
|
106
|
+
B46:
|
|
107
|
+
CG,CD1: 1
|
|
108
|
+
il10ra:
|
|
109
|
+
input: /projects/ml/aa_design/benchmarks/bcov_af3_ppi_benchmark/il10rb_1lqs_B.pdb
|
|
110
|
+
contig: 100-100,/0,B1-207
|
|
111
|
+
contig_atoms: '{}'
|
|
112
|
+
length: 307-307
|
|
113
|
+
redesign_motif_sidechains: false
|
|
114
|
+
atom_level_hotspots:
|
|
115
|
+
B39:
|
|
116
|
+
CG,CD1: 1
|
|
117
|
+
B50:
|
|
118
|
+
CD1,CG2: 1
|
|
119
|
+
B59:
|
|
120
|
+
CG,CZ: 1
|
|
121
|
+
B63:
|
|
122
|
+
CA,CB: 1
|
|
123
|
+
B64:
|
|
124
|
+
CG1,CG2: 1
|
|
125
|
+
B66:
|
|
126
|
+
CG,CD1: 1
|
|
127
|
+
tie2:
|
|
128
|
+
input: /projects/ml/aa_design/benchmarks/bcov_af3_ppi_benchmark/tie2_2gy5_official_B.pdb
|
|
129
|
+
contig: 100-100,/0,B1-188
|
|
130
|
+
contig_atoms: '{}'
|
|
131
|
+
length: 288-288
|
|
132
|
+
redesign_motif_sidechains: false
|
|
133
|
+
atom_level_hotspots:
|
|
134
|
+
B132:
|
|
135
|
+
CG1,CG2: 1
|
|
136
|
+
B134:
|
|
137
|
+
CG,CZ: 1
|
|
138
|
+
B135:
|
|
139
|
+
CG,CD: 1
|
|
140
|
+
B139:
|
|
141
|
+
CG,CZ: 1
|
|
142
|
+
B140:
|
|
143
|
+
CD1,CG2: 1
|
|
144
|
+
B154:
|
|
145
|
+
CG1,CG2: 1
|
|
146
|
+
B156:
|
|
147
|
+
CG,CD1: 1
|
|
148
|
+
B167:
|
|
149
|
+
CG,CZ: 1
|
|
150
|
+
B172:
|
|
151
|
+
CD1,CG2: 1
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
defaults:
|
|
2
|
+
- bcov_ppi_easy_medium_with_ori
|
|
3
|
+
- _self_
|
|
4
|
+
|
|
5
|
+
insulinr:
|
|
6
|
+
contig: 65-120,/0,B1-150
|
|
7
|
+
length: 215-270
|
|
8
|
+
pdl1:
|
|
9
|
+
contig: 65-120,/0,B1-115
|
|
10
|
+
length: 215-215
|
|
11
|
+
vegfr:
|
|
12
|
+
contig: 65-120,/0,B1-200
|
|
13
|
+
length: 300-300
|
|
14
|
+
rbd:
|
|
15
|
+
contig: 65-120,/0,B1-195
|
|
16
|
+
length: 295-295
|
|
17
|
+
cd28:
|
|
18
|
+
contig: 65-120,/0,B1-118
|
|
19
|
+
length: 218-218
|
|
20
|
+
il2ra:
|
|
21
|
+
contig: 65-120,/0,B1-122
|
|
22
|
+
length: 222-222
|
|
23
|
+
il10ra:
|
|
24
|
+
contig: 65-120,/0,B1-207
|
|
25
|
+
length: 307-307
|
|
26
|
+
tie2:
|
|
27
|
+
contig: 65-120,/0,B1-188
|
|
28
|
+
length: 288-288
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
defaults:
|
|
2
|
+
- bcov_ppi_easy_medium_with_ori
|
|
3
|
+
- _self_
|
|
4
|
+
|
|
5
|
+
# Note: I have removed the more "internal" hotspot atoms on residues that also have
|
|
6
|
+
# hbonds to avoid giving conflicting information with the h-bond conditioning.
|
|
7
|
+
# For targets with no polar hotspots, I have inserted h-bond conditioning to nearby
|
|
8
|
+
# residues.
|
|
9
|
+
|
|
10
|
+
insulinr:
|
|
11
|
+
hbond_donors:
|
|
12
|
+
B113:
|
|
13
|
+
NH1,NH2: 1
|
|
14
|
+
B116:
|
|
15
|
+
NZ: 1
|
|
16
|
+
B139:
|
|
17
|
+
NE2: 1
|
|
18
|
+
hbond_acceptors:
|
|
19
|
+
B115:
|
|
20
|
+
OE2: 1 # OE1 is already h-bonded
|
|
21
|
+
B139:
|
|
22
|
+
ND1: 1
|
|
23
|
+
|
|
24
|
+
atom_level_hotspots:
|
|
25
|
+
B59:
|
|
26
|
+
CG,CZ: 1
|
|
27
|
+
B83:
|
|
28
|
+
CG,CZ: 1
|
|
29
|
+
B91:
|
|
30
|
+
CG,CZ: 1
|
|
31
|
+
pdl1:
|
|
32
|
+
hbond_donors:
|
|
33
|
+
B107:
|
|
34
|
+
OH: 1
|
|
35
|
+
B109:
|
|
36
|
+
NH1,NH2: 1
|
|
37
|
+
hbond_acceptors:
|
|
38
|
+
B40:
|
|
39
|
+
OH: 1
|
|
40
|
+
B107:
|
|
41
|
+
OH: 1
|
|
42
|
+
atom_level_hotspots:
|
|
43
|
+
B40:
|
|
44
|
+
CZ: 1
|
|
45
|
+
B99:
|
|
46
|
+
CG,SD: 1
|
|
47
|
+
B107:
|
|
48
|
+
CZ: 1
|
|
49
|
+
vegfr:
|
|
50
|
+
hbond_donors:
|
|
51
|
+
B15:
|
|
52
|
+
OH: 1
|
|
53
|
+
B43:
|
|
54
|
+
OH: 1
|
|
55
|
+
hbond_acceptors:
|
|
56
|
+
B9: # ASP
|
|
57
|
+
OD1,OD2: 1
|
|
58
|
+
B15:
|
|
59
|
+
OH: 1
|
|
60
|
+
B43:
|
|
61
|
+
OH: 1
|
|
62
|
+
atom_level_hotspots:
|
|
63
|
+
B13:
|
|
64
|
+
CG1,CG2: 1
|
|
65
|
+
B15:
|
|
66
|
+
CZ: 1
|
|
67
|
+
B43:
|
|
68
|
+
CZ: 1
|
|
69
|
+
B75:
|
|
70
|
+
CG,SD: 1
|
|
71
|
+
B89:
|
|
72
|
+
CD1,CG2: 1
|
|
73
|
+
B91:
|
|
74
|
+
CG1,CG2: 1
|
|
75
|
+
B187:
|
|
76
|
+
CG,CD1: 1
|
|
77
|
+
rbd:
|
|
78
|
+
hbond_donors:
|
|
79
|
+
B89:
|
|
80
|
+
OH: 1
|
|
81
|
+
B121:
|
|
82
|
+
OH: 1
|
|
83
|
+
B141:
|
|
84
|
+
OH: 1
|
|
85
|
+
hbond_acceptors:
|
|
86
|
+
B157:
|
|
87
|
+
OH: 1
|
|
88
|
+
B163:
|
|
89
|
+
OH: 1
|
|
90
|
+
B173:
|
|
91
|
+
OH: 1
|
|
92
|
+
atom_level_hotspots:
|
|
93
|
+
B89:
|
|
94
|
+
CZ: 1
|
|
95
|
+
B121:
|
|
96
|
+
CZ: 1
|
|
97
|
+
B123:
|
|
98
|
+
CG,CD1: 1
|
|
99
|
+
B124:
|
|
100
|
+
CG,CZ: 1
|
|
101
|
+
B141:
|
|
102
|
+
CZ: 1
|
|
103
|
+
B157:
|
|
104
|
+
CZ: 1
|
|
105
|
+
B163:
|
|
106
|
+
CZ: 1
|
|
107
|
+
B165:
|
|
108
|
+
CG,CZ: 1
|
|
109
|
+
B173:
|
|
110
|
+
CZ: 1
|
|
111
|
+
cd28:
|
|
112
|
+
hbond_donors:
|
|
113
|
+
B51:
|
|
114
|
+
OH: 1
|
|
115
|
+
B61:
|
|
116
|
+
OH: 1
|
|
117
|
+
B104:
|
|
118
|
+
OH: 1
|
|
119
|
+
hbond_acceptors:
|
|
120
|
+
B51:
|
|
121
|
+
OH: 1
|
|
122
|
+
B61:
|
|
123
|
+
OH: 1
|
|
124
|
+
B104:
|
|
125
|
+
OH: 1
|
|
126
|
+
atom_level_hotspots:
|
|
127
|
+
B51:
|
|
128
|
+
CZ: 1
|
|
129
|
+
B61:
|
|
130
|
+
CZ: 1
|
|
131
|
+
B99:
|
|
132
|
+
CG,SD: 1
|
|
133
|
+
B104:
|
|
134
|
+
CZ: 1
|
|
135
|
+
il2ra:
|
|
136
|
+
hbond_donors:
|
|
137
|
+
B44:
|
|
138
|
+
OH: 1
|
|
139
|
+
hbond_acceptors:
|
|
140
|
+
B44:
|
|
141
|
+
OH: 1
|
|
142
|
+
B77: # HIS
|
|
143
|
+
ND1: 1
|
|
144
|
+
B2: # GLU
|
|
145
|
+
OE1,OE2: 1
|
|
146
|
+
atom_level_hotspots:
|
|
147
|
+
B3:
|
|
148
|
+
CG,CD1: 1
|
|
149
|
+
B26:
|
|
150
|
+
CG,SD: 1
|
|
151
|
+
B43:
|
|
152
|
+
CG,CD1: 1
|
|
153
|
+
B44:
|
|
154
|
+
CZ: 1
|
|
155
|
+
B46:
|
|
156
|
+
CG,CD1: 1
|
|
157
|
+
il10ra:
|
|
158
|
+
hbond_donors:
|
|
159
|
+
B48: # ASN
|
|
160
|
+
ND2: 1
|
|
161
|
+
B59:
|
|
162
|
+
OH: 1
|
|
163
|
+
hbond_acceptors:
|
|
164
|
+
B48: # ASN
|
|
165
|
+
OD1: 1
|
|
166
|
+
B59:
|
|
167
|
+
OH: 1
|
|
168
|
+
atom_level_hotspots:
|
|
169
|
+
B39:
|
|
170
|
+
CG,CD1: 1
|
|
171
|
+
B50:
|
|
172
|
+
CD1,CG2: 1
|
|
173
|
+
B59:
|
|
174
|
+
CZ: 1
|
|
175
|
+
B63:
|
|
176
|
+
CA,CB: 1
|
|
177
|
+
B64:
|
|
178
|
+
CG1,CG2: 1
|
|
179
|
+
B66:
|
|
180
|
+
CG,CD1: 1
|
|
181
|
+
tie2:
|
|
182
|
+
hbond_donors:
|
|
183
|
+
B134:
|
|
184
|
+
OH: 1
|
|
185
|
+
B135:
|
|
186
|
+
NZ: 1
|
|
187
|
+
B167:
|
|
188
|
+
OH: 1
|
|
189
|
+
hbond_acceptors:
|
|
190
|
+
B134:
|
|
191
|
+
OH: 1
|
|
192
|
+
B167:
|
|
193
|
+
OH: 1
|
|
194
|
+
atom_level_hotspots:
|
|
195
|
+
B132:
|
|
196
|
+
CG1,CG2: 1
|
|
197
|
+
B134:
|
|
198
|
+
CZ: 1
|
|
199
|
+
B135:
|
|
200
|
+
CD: 1
|
|
201
|
+
B139:
|
|
202
|
+
CG,CZ: 1
|
|
203
|
+
B140:
|
|
204
|
+
CD1,CG2: 1
|
|
205
|
+
B154:
|
|
206
|
+
CG1,CG2: 1
|
|
207
|
+
B156:
|
|
208
|
+
CG,CD1: 1
|
|
209
|
+
B167:
|
|
210
|
+
CZ: 1
|
|
211
|
+
B172:
|
|
212
|
+
CD1,CG2: 1
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# @package _global_
|
|
2
|
+
|
|
3
|
+
defaults:
|
|
4
|
+
- override /logger: null
|
|
5
|
+
|
|
6
|
+
# default debugging setup, runs 1 full epoch
|
|
7
|
+
# other debugging configs can inherit from this one
|
|
8
|
+
|
|
9
|
+
# overwrite task name so debugging logs are stored in separate folder
|
|
10
|
+
task_name: "debug"
|
|
11
|
+
|
|
12
|
+
extras:
|
|
13
|
+
ignore_warnings: False
|
|
14
|
+
enforce_tags: False
|
|
15
|
+
|
|
16
|
+
# sets level of all command line loggers to 'DEBUG'
|
|
17
|
+
# https://hydra.cc/docs/tutorials/basic/running_your_app/logging/
|
|
18
|
+
hydra:
|
|
19
|
+
job_logging:
|
|
20
|
+
root:
|
|
21
|
+
level: DEBUG
|
|
22
|
+
# use the below to also set hydra loggers to 'DEBUG'
|
|
23
|
+
verbose: True
|
|
24
|
+
|
|
25
|
+
# Print example ID before forward pass
|
|
26
|
+
callbacks:
|
|
27
|
+
print_example_id_before_forward_pass:
|
|
28
|
+
_target_: foundry.callbacks.train_logging.PrintExampleIDBeforeForwardPassCallback
|
|
29
|
+
|
|
30
|
+
dataloader:
|
|
31
|
+
train:
|
|
32
|
+
dataloader_params:
|
|
33
|
+
batch_size: 1
|
|
34
|
+
num_workers: 0 # debuggers don't like multiprocessing -- work on main thread
|
|
35
|
+
pin_memory: False # disable gpu memory pin
|
|
36
|
+
prefetch_factor: null # must be null for num_workers=0
|
|
37
|
+
n_fallback_retries: 0 # disable fallback retries for debugging
|
|
38
|
+
|
|
39
|
+
val:
|
|
40
|
+
dataloader_params:
|
|
41
|
+
batch_size: 1
|
|
42
|
+
num_workers: 0
|
|
43
|
+
pin_memory: False
|
|
44
|
+
prefetch_factor: null # must be null for num_workers=0
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
datasets:
|
|
48
|
+
crop_size: 100 # set small crop size for quick debugging
|
|
49
|
+
diffusion_batch_size_train: 1
|
|
50
|
+
diffusion_batch_size_inference: 1
|
|
51
|
+
n_recycles_train: 1
|
|
52
|
+
n_recycles_validation: 1
|
|
53
|
+
n_msa: 128
|
|
54
|
+
key_to_balance: null # otherwise big examples will be processed first
|
|
55
|
+
|
|
56
|
+
trainer:
|
|
57
|
+
devices_per_node: 1
|
|
58
|
+
limit_train_batches: 1
|
|
59
|
+
limit_val_batches: 1
|
|
60
|
+
validate_every_n_epochs: 1
|
|
61
|
+
|
|
62
|
+
# Set tags to help identify debugging runs
|
|
63
|
+
tags:
|
|
64
|
+
- debug
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# @package _global_
|
|
2
|
+
|
|
3
|
+
# See: https://hydra.cc/docs/patterns/configuring_experiments/
|
|
4
|
+
|
|
5
|
+
# to execute this experiment run:
|
|
6
|
+
# python train.py +debug=train_single_example [any other arguments]
|
|
7
|
+
|
|
8
|
+
defaults:
|
|
9
|
+
- default
|
|
10
|
+
- gpu
|
|
11
|
+
|
|
12
|
+
datasets:
|
|
13
|
+
# you can add specific example IDs here to load a subset of the dataset (training)
|
|
14
|
+
subset_to_example_ids:
|
|
15
|
+
- "{['pdb', 'pn_units']}{3px1}{1}{['A_3']}"
|
|
16
|
+
val: null
|
|
17
|
+
|
|
18
|
+
tags:
|
|
19
|
+
- debug
|
|
20
|
+
- train
|
|
21
|
+
- specific-examples
|
rfd3/configs/dev.yaml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# @package _global_
|
|
2
|
+
# Training configuration for RFD3
|
|
3
|
+
|
|
4
|
+
name: train-base
|
|
5
|
+
tags: [print-model]
|
|
6
|
+
ckpt_path: null
|
|
7
|
+
|
|
8
|
+
datasets:
|
|
9
|
+
diffusion_batch_size_train: 16
|
|
10
|
+
crop_size: 256
|
|
11
|
+
max_atoms_in_crop: 2560 # ~10x crop size.
|
|
12
|
+
global_transform_args:
|
|
13
|
+
train_conditions:
|
|
14
|
+
unconditional:
|
|
15
|
+
frequency: 2.0
|
|
16
|
+
island:
|
|
17
|
+
frequency: 2.0
|
|
18
|
+
sequence_design:
|
|
19
|
+
frequency: 0.5
|
|
20
|
+
tipatom:
|
|
21
|
+
frequency: 5.0
|
|
22
|
+
ppi:
|
|
23
|
+
frequency: 0.0
|
|
24
|
+
train:
|
|
25
|
+
# These are the ratios used in the preprint but we set all pdb sampling by default since not everyone might download the distillation data.
|
|
26
|
+
#pdb:
|
|
27
|
+
#probability: 0.10
|
|
28
|
+
#monomer_distillation:
|
|
29
|
+
#probability: 0.90
|
|
30
|
+
pdb:
|
|
31
|
+
probability: 1.0
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# @package _global_
|
|
2
|
+
|
|
3
|
+
defaults:
|
|
4
|
+
- _self_
|
|
5
|
+
|
|
6
|
+
name: train-unindexed-main
|
|
7
|
+
|
|
8
|
+
datasets:
|
|
9
|
+
diffusion_batch_size_train: 24
|
|
10
|
+
global_transform_args:
|
|
11
|
+
train_conditions:
|
|
12
|
+
unconditional:
|
|
13
|
+
frequency: 3.0
|
|
14
|
+
sequence_design:
|
|
15
|
+
frequency: 0.5
|
|
16
|
+
island:
|
|
17
|
+
frequency: 3.0
|
|
18
|
+
p_unindex_motif_tokens: 1.0
|
|
19
|
+
tipatom:
|
|
20
|
+
frequency: 3.0
|
|
21
|
+
p_unindex_motif_tokens: 1.0
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# https://hydra.cc/docs/configure_hydra/intro/
|
|
2
|
+
|
|
3
|
+
# enable color logging (requires `colorlog` to be installed)
|
|
4
|
+
# defaults:
|
|
5
|
+
# - override hydra_logging: colorlog
|
|
6
|
+
# - override job_logging: colorlog
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
# output directory, generated dynamically on each run
|
|
10
|
+
run:
|
|
11
|
+
dir: ${paths.log_dir}/${task_name}/${name}/${now:%Y-%m-%d}_${now:%H-%M}_JOB_${oc.env:SLURM_JOB_ID,default}
|
|
12
|
+
|
|
13
|
+
# ... this is where the log file is written (i.e. the programs output)
|
|
14
|
+
job_logging:
|
|
15
|
+
handlers:
|
|
16
|
+
file:
|
|
17
|
+
# Incorporates fix from https://github.com/facebookresearch/hydra/pull/2242
|
|
18
|
+
filename: ${hydra.runtime.output_dir}/experiment.log
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# @package _global_
|
|
2
|
+
|
|
3
|
+
defaults:
|
|
4
|
+
- /hydra: no_logging
|
|
5
|
+
|
|
6
|
+
# Parameters for RFD3InferenceEngine.__init__()
|
|
7
|
+
ckpt_path: ???
|
|
8
|
+
num_nodes: 1
|
|
9
|
+
devices_per_node: 1
|
|
10
|
+
verbose: false
|
|
11
|
+
seed: null
|
|
12
|
+
|
|
13
|
+
# Parameters for RFD3InferenceEngine.run()
|
|
14
|
+
inputs: ???
|
|
15
|
+
out_dir: ???
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# @package _global_
|
|
2
|
+
defaults:
|
|
3
|
+
- rfdiffusion3
|
|
4
|
+
- _self_
|
|
5
|
+
|
|
6
|
+
diffusion_batch_size: 8
|
|
7
|
+
n_batches: 1
|
|
8
|
+
seed: 42
|
|
9
|
+
|
|
10
|
+
dump_trajectories: True
|
|
11
|
+
verbose: true
|
|
12
|
+
skip_existing: False
|
|
13
|
+
cleanup_guideposts: False
|
|
14
|
+
cleanup_virtual_atoms: False
|
|
15
|
+
output_full_json: True
|
|
16
|
+
|
|
17
|
+
inference_sampler:
|
|
18
|
+
gamma_0: 0.0
|
|
19
|
+
|
|
20
|
+
out_dir: ./logs/benchmark
|