Skip to content

Commit 4fe1b9d

Browse files
authored
Protein mutation protocol (#132)
* Base implementation for the protein mutation support for nonequilibrium cycling protocol.
1 parent b835e6c commit 4fe1b9d

34 files changed

+12578
-222
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
matrix:
3030
os: ["ubuntu"]
3131
python-version:
32-
- "3.10"
3332
- "3.11"
3433
- "3.12"
3534
include:
@@ -80,7 +79,14 @@ jobs:
8079
# Set the OFE_SLOW_TESTS to True if running a Cron job
8180
OFE_SLOW_TESTS: ${{ fromJSON('{"false":"false","true":"true"}')[github.event_name != 'pull_request'] }}
8281
run: |
83-
pytest -n auto -v --cov=feflow --cov-report=xml --durations=10
82+
if [ "$RUNNER_OS" == "macOS" ]; then
83+
echo "Running test in serial for macOS (known limitations)..."
84+
pytest -n 0 -v --cov=feflow --cov-report=xml --durations=10
85+
else
86+
echo "Running tests in parallel with xdist..."
87+
pytest -n logical -v --cov=feflow --cov-report=xml --durations=10
88+
fi
89+
8490
8591
- name: codecov
8692
if: ${{ github.repository == 'OpenFreeEnergy/feflow'

devtools/conda-envs/test_env.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ channels:
44
- openeye
55
dependencies:
66
# Base depends
7-
- gufe >=1.7.1, <2
7+
- gufe ~=1.7.1
88
- numpy
9-
- openfe >=1.1.0 # TODO: Remove once we don't depend on openfe
9+
- openfe ~=1.8.0 # TODO: Remove once we don't depend on openfe
1010
- openff-units
1111
- openmm
1212
- openmmforcefields >=0.14.1 # TODO: remove when upstream deps fix this
13-
- pymbar >4.0
14-
- pydantic >=1.10.17
13+
- openmmtools >=0.23.0
14+
- pymbar ~=4.0
15+
- pydantic >=1.10.17, <3
1516
- python
16-
1717
# Testing (optional deps)
1818
- espaloma_charge ==0.0.8 # To use Espaloma FF in tests
1919
- torchdata <0.10

docs/CHANGELOG.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ feflow Change Log
44

55
.. current developments
66
7+
v0.2.0
8+
====================
9+
Most changes come from supporting protein mutations in the Nonequilibrium cycling protocol.
10+
11+
- Single point protein mutation support for the Nonequilibrium Cycling protocol, in its ``SetupUnit`` (`PR #106 <https://github.com/OpenFreeEnergy/feflow/pull/106>`_)
12+
- Hybrid Topology Factory optimizations adopted from `openfe codebase <https://github.com/OpenFreeEnergy/openfe/>`_ (`PR #128 <https://github.com/OpenFreeEnergy/feflow/pull/128>`_).
13+
- Dropping use of deprecated openff quantity models for type hinting, in favor of ``GufeQuantity`` from ``gufe`` (`PR #130 <https://github.com/OpenFreeEnergy/feflow/pull/130>`_).
14+
715
v0.1.4
816
====================
917
- Dropping use of deprecated ``openff-models``. Using vendored ``gufe`` implementation instead (`PR #123 <https://github.com/OpenFreeEnergy/feflow/pull/123>`_)

docs/tutorials/abl1_imatinib.png

381 KB
Loading

docs/tutorials/inputs/abl1_structure.pdb

Lines changed: 4315 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
LIG
2+
-OEChem-09082123573D
3+
4+
70 74 0 0 0 0 0 0 0999 V2000
5+
63.5480 48.1030 18.6180 C 0 0 0 0 0 0 0 0 0 0 0 0
6+
63.0290 48.8330 17.5400 C 0 0 0 0 0 0 0 0 0 0 0 0
7+
63.3200 50.2310 17.4320 C 0 0 0 0 0 0 0 0 0 0 0 0
8+
64.1560 50.8350 18.3690 C 0 0 0 0 0 0 0 0 0 0 0 0
9+
64.6750 50.0840 19.4270 N 0 0 0 0 0 0 0 0 0 0 0 0
10+
64.3670 48.7670 19.5100 C 0 0 0 0 0 0 0 0 0 0 0 0
11+
62.8240 51.1030 16.2970 C 0 0 0 0 0 0 0 0 0 0 0 0
12+
62.2280 50.5780 15.2210 C 0 0 0 0 0 0 0 0 0 0 0 0
13+
61.8700 51.4970 14.1990 C 0 0 0 0 0 0 0 0 0 0 0 0
14+
62.1290 52.8060 14.3580 N 0 0 0 0 0 0 0 0 0 0 0 0
15+
62.7400 53.2580 15.4700 C 0 0 0 0 0 0 0 0 0 0 0 0
16+
63.1420 52.4270 16.4430 N 0 0 0 0 0 0 0 0 0 0 0 0
17+
63.0140 54.5840 15.7220 N 0 0 0 0 0 0 0 0 0 0 0 0
18+
62.8730 55.4970 14.6950 C 0 0 0 0 0 0 0 0 0 0 0 0
19+
63.8370 55.7240 13.6800 C 0 0 0 0 0 0 0 0 0 0 0 0
20+
63.5250 56.7300 12.7570 C 0 0 0 0 0 0 0 0 0 0 0 0
21+
62.3210 57.4780 12.8000 C 0 0 0 0 0 0 0 0 0 0 0 0
22+
61.3740 57.2630 13.7760 C 0 0 0 0 0 0 0 0 0 0 0 0
23+
61.6840 56.2770 14.7130 C 0 0 0 0 0 0 0 0 0 0 0 0
24+
60.1800 58.0950 13.7210 N 0 0 0 0 0 0 0 0 0 0 0 0
25+
59.3060 58.3230 14.7280 C 0 0 0 0 0 0 0 0 0 0 0 0
26+
58.3860 59.4950 14.7360 C 0 0 0 0 0 0 0 0 0 0 0 0
27+
57.5700 59.7550 15.8520 C 0 0 0 0 0 0 0 0 0 0 0 0
28+
56.6310 60.8190 15.8980 C 0 0 0 0 0 0 0 0 0 0 0 0
29+
56.5060 61.6630 14.7990 C 0 0 0 0 0 0 0 0 0 0 0 0
30+
57.2670 61.3960 13.6720 C 0 0 0 0 0 0 0 0 0 0 0 0
31+
58.1950 60.3220 13.6180 C 0 0 0 0 0 0 0 0 0 0 0 0
32+
55.5170 62.7980 14.8260 C 0 0 0 0 0 0 0 0 0 0 0 0
33+
54.6660 62.8220 13.6500 N 0 3 0 0 0 0 0 0 0 0 0 0
34+
53.9280 61.5600 13.5270 C 0 0 0 0 0 0 0 0 0 0 0 0
35+
53.0530 61.5960 12.2140 C 0 0 0 0 0 0 0 0 0 0 0 0
36+
52.2570 62.8380 12.2300 N 0 3 0 0 0 0 0 0 0 0 0 0
37+
51.6290 62.8120 10.9250 C 0 0 0 0 0 0 0 0 0 0 0 0
38+
53.0920 63.9910 12.3580 C 0 0 0 0 0 0 0 0 0 0 0 0
39+
53.7320 63.9520 13.7600 C 0 0 0 0 0 0 0 0 0 0 0 0
40+
59.2040 57.5660 15.6480 O 0 0 0 0 0 0 0 0 0 0 0 0
41+
65.1760 54.9810 13.5260 C 0 0 0 0 0 0 0 0 0 0 0 0
42+
63.3153 47.0563 18.7468 H 0 0 0 0 0 0 0 0 0 0 0 0
43+
62.4150 48.3455 16.7973 H 0 0 0 0 0 0 0 0 0 0 0 0
44+
64.4026 51.8825 18.2776 H 0 0 0 0 0 0 0 0 0 0 0 0
45+
64.7893 48.2000 20.3264 H 0 0 0 0 0 0 0 0 0 0 0 0
46+
62.0309 49.5197 15.1345 H 0 0 0 0 0 0 0 0 0 0 0 0
47+
61.3913 51.1450 13.2972 H 0 0 0 0 0 0 0 0 0 0 0 0
48+
63.7465 54.7667 16.3778 H 0 0 0 0 0 0 0 0 0 0 0 0
49+
64.2364 56.9468 11.9739 H 0 0 0 0 0 0 0 0 0 0 0 0
50+
62.1427 58.2340 12.0496 H 0 0 0 0 0 0 0 0 0 0 0 0
51+
60.9733 56.0937 15.5053 H 0 0 0 0 0 0 0 0 0 0 0 0
52+
59.9862 58.5441 12.8488 H 0 0 0 0 0 0 0 0 0 0 0 0
53+
57.6623 59.1138 16.7162 H 0 0 0 0 0 0 0 0 0 0 0 0
54+
56.0208 60.9714 16.7760 H 0 0 0 0 0 0 0 0 0 0 0 0
55+
57.1503 62.0273 12.8035 H 0 0 0 0 0 0 0 0 0 0 0 0
56+
58.7559 60.1409 12.7130 H 0 0 0 0 0 0 0 0 0 0 0 0
57+
54.8826 62.6920 15.7184 H 0 0 0 0 0 0 0 0 0 0 0 0
58+
56.0705 63.7470 14.8803 H 0 0 0 0 0 0 0 0 0 0 0 0
59+
55.2333 62.9478 12.8362 H 0 0 0 0 0 0 0 0 0 0 0 0
60+
54.6386 60.7221 13.4726 H 0 0 0 0 0 0 0 0 0 0 0 0
61+
53.2737 61.4297 14.4016 H 0 0 0 0 0 0 0 0 0 0 0 0
62+
53.7067 61.5830 11.3294 H 0 0 0 0 0 0 0 0 0 0 0 0
63+
52.3833 60.7238 12.1878 H 0 0 0 0 0 0 0 0 0 0 0 0
64+
51.5711 62.8055 12.9570 H 0 0 0 0 0 0 0 0 0 0 0 0
65+
50.9938 63.7021 10.8054 H 0 0 0 0 0 0 0 0 0 0 0 0
66+
52.4046 62.8077 10.1450 H 0 0 0 0 0 0 0 0 0 0 0 0
67+
51.0117 61.9062 10.8333 H 0 0 0 0 0 0 0 0 0 0 0 0
68+
53.8766 63.9730 11.5872 H 0 0 0 0 0 0 0 0 0 0 0 0
69+
52.4893 64.9044 12.2464 H 0 0 0 0 0 0 0 0 0 0 0 0
70+
52.9758 63.7689 14.5376 H 0 0 0 0 0 0 0 0 0 0 0 0
71+
54.2650 64.8887 13.9802 H 0 0 0 0 0 0 0 0 0 0 0 0
72+
65.2778 54.2372 14.3300 H 0 0 0 0 0 0 0 0 0 0 0 0
73+
65.2031 54.4728 12.5508 H 0 0 0 0 0 0 0 0 0 0 0 0
74+
66.0044 55.7021 13.5868 H 0 0 0 0 0 0 0 0 0 0 0 0
75+
1 2 2 0 0 0 0
76+
1 6 1 0 0 0 0
77+
1 38 1 0 0 0 0
78+
2 3 1 0 0 0 0
79+
2 39 1 0 0 0 0
80+
3 4 2 0 0 0 0
81+
3 7 1 0 0 0 0
82+
4 5 1 0 0 0 0
83+
4 40 1 0 0 0 0
84+
5 6 2 0 0 0 0
85+
6 41 1 0 0 0 0
86+
7 8 2 0 0 0 0
87+
7 12 1 0 0 0 0
88+
8 9 1 0 0 0 0
89+
8 42 1 0 0 0 0
90+
9 10 2 0 0 0 0
91+
9 43 1 0 0 0 0
92+
10 11 1 0 0 0 0
93+
11 12 2 0 0 0 0
94+
11 13 1 0 0 0 0
95+
13 14 1 0 0 0 0
96+
13 44 1 0 0 0 0
97+
14 15 2 0 0 0 0
98+
14 19 1 0 0 0 0
99+
15 16 1 0 0 0 0
100+
15 37 1 0 0 0 0
101+
16 17 2 0 0 0 0
102+
16 45 1 0 0 0 0
103+
17 18 1 0 0 0 0
104+
17 46 1 0 0 0 0
105+
18 19 2 0 0 0 0
106+
18 20 1 0 0 0 0
107+
19 47 1 0 0 0 0
108+
20 21 1 0 0 0 0
109+
20 48 1 0 0 0 0
110+
21 22 1 0 0 0 0
111+
21 36 2 0 0 0 0
112+
22 23 2 0 0 0 0
113+
22 27 1 0 0 0 0
114+
23 24 1 0 0 0 0
115+
23 49 1 0 0 0 0
116+
24 25 2 0 0 0 0
117+
24 50 1 0 0 0 0
118+
25 26 1 0 0 0 0
119+
25 28 1 0 0 0 0
120+
26 27 2 0 0 0 0
121+
26 51 1 0 0 0 0
122+
27 52 1 0 0 0 0
123+
28 29 1 0 0 0 0
124+
28 53 1 0 0 0 0
125+
28 54 1 0 0 0 0
126+
29 30 1 0 0 0 0
127+
29 35 1 0 0 0 0
128+
29 55 1 0 0 0 0
129+
30 31 1 0 0 0 0
130+
30 56 1 0 0 0 0
131+
30 57 1 0 0 0 0
132+
31 32 1 0 0 0 0
133+
31 58 1 0 0 0 0
134+
31 59 1 0 0 0 0
135+
32 33 1 0 0 0 0
136+
32 34 1 0 0 0 0
137+
32 60 1 0 0 0 0
138+
33 61 1 0 0 0 0
139+
33 62 1 0 0 0 0
140+
33 63 1 0 0 0 0
141+
34 35 1 0 0 0 0
142+
34 64 1 0 0 0 0
143+
34 65 1 0 0 0 0
144+
35 66 1 0 0 0 0
145+
35 67 1 0 0 0 0
146+
37 68 1 0 0 0 0
147+
37 69 1 0 0 0 0
148+
37 70 1 0 0 0 0
149+
M CHG 2 29 1 32 1
150+
M END
151+
> <bio:pdb:part:site>
152+
1
153+
154+
> <bio:pdb:part:order>
155+
1
156+
157+
> <bio:pdb:ligand>
158+
true
159+
160+
$$$$

0 commit comments

Comments
 (0)