Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +1 -0
- .gitignore +29 -0
- .ms_upload_cache +1 -0
- README.md +221 -0
- conf/LICENSE +21 -0
- conf/config.json +12 -0
- conf/model_v1/config.json +56 -0
- conf/model_v1/feature_config.json +9 -0
- conf/model_v2/config.json +60 -0
- conf/model_v2/feature_config.json +9 -0
- conf/model_v3/config.json +68 -0
- conf/model_v3/feature_config.json +9 -0
- conf/pyproject.toml +2 -0
- conf/requirements.txt +7 -0
- conf/requirements_to_freeze.dev.txt +1 -0
- conf/requirements_to_freeze.txt +8 -0
- configuration.json +13 -0
- model/__init__.py +0 -0
- model/constants.py +30 -0
- model/domain_assignment/assigners.py +76 -0
- model/domain_assignment/sparse_lowrank.py +121 -0
- model/domain_assignment/util.py +132 -0
- model/domain_chop.py +340 -0
- model/errors.py +11 -0
- model/factories.py +72 -0
- model/featurisers.py +159 -0
- model/loggers.py +130 -0
- model/models/results.py +23 -0
- model/models/rosetta.py +68 -0
- model/prediction_result_file.py +161 -0
- model/utils/__init__.py +0 -0
- model/utils/cif2pdb.py +137 -0
- model/utils/common.py +49 -0
- model/utils/domain_boundary_distance_score.py +79 -0
- model/utils/ndo_score.py +94 -0
- model/utils/pdb_reres.py +200 -0
- model/utils/pymol_3d_visuals.py +47 -0
- model/utils/secondary_structure.py +94 -0
- scripts/__init__.py +0 -0
- scripts/chainsaw_submit.ucl_cs.sh +114 -0
- scripts/development/data_and_benchmarking/README.md +13 -0
- scripts/development/data_and_benchmarking/chainsaw_cath1363_train_test_splits.json +0 -0
- scripts/development/data_and_benchmarking/chainsaw_model_v3_on_cath1363_test.csv +0 -0
- scripts/development/experiments/chop_newfolds_cluster.py +72 -0
- scripts/development/experiments/speed_test_human200.py +45 -0
- scripts/development/notebooks/InteractiveUsageExample.ipynb +380 -0
- scripts/development/tests/e2e/test_basic_usage.py +95 -0
- scripts/development/tests/e2e/test_stride_error.py +47 -0
- scripts/development/tests/fixtures/4wgvC.pdb +0 -0
- scripts/development/tests/fixtures/5yclA.pdb +997 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
scripts/stride/stride filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.git/
|
| 2 |
+
.idea/
|
| 3 |
+
.vscode/
|
| 4 |
+
__pycache__/
|
| 5 |
+
*.py[cod]
|
| 6 |
+
*.o
|
| 7 |
+
*.so
|
| 8 |
+
*.dylib
|
| 9 |
+
*.DS_Store
|
| 10 |
+
*.ipynb_checkpoints/
|
| 11 |
+
|
| 12 |
+
# Runtime and test outputs
|
| 13 |
+
output/
|
| 14 |
+
results/
|
| 15 |
+
conv_logs/
|
| 16 |
+
*.png
|
| 17 |
+
*.npy
|
| 18 |
+
*_renum.pdb
|
| 19 |
+
*image_gen.pml
|
| 20 |
+
*.crh
|
| 21 |
+
|
| 22 |
+
# Local environments
|
| 23 |
+
venv/
|
| 24 |
+
chswEnv/
|
| 25 |
+
|
| 26 |
+
# Local datasets and experiment outputs
|
| 27 |
+
pdbs/
|
| 28 |
+
scripts/development/experiments/cath_annotated_alphafold/assignment.table
|
| 29 |
+
model_v3_predictions*
|
.ms_upload_cache
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version": 3, "repo_id": "OneScience/Chainsaw", "files": {"README.md|1787816209.0|5989": {"hash": "56808cd07e168b6203f9aa773d0e0684b79be83d560bfb88a5b1c5243360b4b1", "size": 5989, "status": "c"}, ".gitignore|1787814402.0|375": {"hash": "e932d06e9b9b8d3321a9f8eec7c56c431b542201bf999856acb3fb30fa21d7b1", "size": 375, "status": "c"}, "conf/model_v2/feature_config.json|1785482345.0|312": {"hash": "1a0bc59e8de8f07a56485757cc196b33f7aabb3bb170d42998f49796003658ff", "size": 312, "status": "c"}, "conf/config.json|1787814155.0|384": {"hash": "6b2fbe7080161d45ef1f3a8fa26f46359386e12ea2d8f6b28ac6a03250fce36a", "size": 384, "status": "c"}, "conf/model_v1/feature_config.json|1785482345.0|294": {"hash": "787953dbcdbe4c96c1b5bb0d8011e322f6cfab44b5ee72a156e94c625d59e545", "size": 294, "status": "c"}, "conf/model_v2/config.json|1785482345.0|1718": {"hash": "182cc72b36b5fd7321cae3942174938ac18aa304df853341506f095bb40b5509", "size": 1718, "status": "c"}, "conf/model_v1/config.json|1785482345.0|1582": {"hash": "23d97d37f86ea0a812f11eecd9dc22fd27af54ae2af81981438faf4fe273e576", "size": 1582, "status": "c"}, "conf/LICENSE|1785482344.0|1067": {"hash": "f4d5206446ac533b01d5a51875564b2237a7d81299d26afd7a9524622b00d268", "size": 1067, "status": "c"}, "conf/model_v3/config.json|1785482345.0|1978": {"hash": "fdf3ea1d9e6c2c72ed63cf04952a6845258cc725ec8f6f529aa577bb5d550715", "size": 1978, "status": "c"}, "conf/model_v3/feature_config.json|1785482345.0|304": {"hash": "5b0ab82dbdfd012b403d27ef9f1ec959bcadc7ff12427a0d9e8a9d2da4c16522", "size": 304, "status": "c"}, "model/__init__.py|1785482345.0|0": {"hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "size": 0, "status": "c"}, "conf/pyproject.toml|1785482344.0|29": {"hash": "dd3b03f9d41e0effb906878d84dcb095a50ab162e0b707d3db9bfb9e61aa914e", "size": 29, "status": "c"}, "conf/requirements_to_freeze.dev.txt|1785482344.0|6": {"hash": "2b01214d32c382dbc73bf6b493bedb7926324af27bad3ee888f66774b9b114c8", "size": 6, "status": "c"}, "conf/requirements.txt|1787814152.0|191": {"hash": "c5b28226aefbb9e5280dc221463c7b63738322c0ea0d9795262ddc0a1d42b01a", "size": 191, "status": "c"}, "configuration.json|1787815553.0|328": {"hash": "5e26bc304c4f9c6bb74d0337fc9a6e37f940caa96c111e8f4e7d150a31edb2b8", "size": 328, "status": "c"}, "conf/requirements_to_freeze.txt|1785482344.0|63": {"hash": "18962dbd2998744de9737aa6aaf7ce87585d035e06c49422a0f0bd0e894f814c", "size": 63, "status": "c"}, "model/__pycache__/domain_chop.cpython-311.pyc|1787816725.0|22343": {"hash": "1ae6e101441745b8c96a1f8a2d5050289e7e966228e3f5253d98f519cf8756a4", "size": 22343, "status": "c"}, "model/__pycache__/constants.cpython-311.pyc|1787816724.0|1159": {"hash": "b07825ba20304672a3e2e2b3878f9087d253b1f0de01b592841f02f67564c05b", "size": 1159, "status": "c"}, "model/__pycache__/__init__.cpython-311.pyc|1787816724.0|164": {"hash": "fabc8e36d0a6869e2538c59765c36eaed2007c223280fbcfa6e9a57f359490ec", "size": 164, "status": "c"}, "model/__pycache__/errors.cpython-311.pyc|1787816726.0|894": {"hash": "f080a1cc2ae92960a27ccca53417eb09b1540621208de6b5674db2755a542a8b", "size": 894, "status": "c"}, "model/constants.py|1787813883.0|542": {"hash": "87c6b8c8cb999d658216c21a7d473b23f7c25e5c245d91e154df81f3fae02b20", "size": 542, "status": "c"}, "model/__pycache__/factories.cpython-311.pyc|1787816725.0|4196": {"hash": "cd4a768e04a1d448957a3eb66d22ce41a9f9d21b79800480ef36e9082113c4d3", "size": 4196, "status": "c"}, "model/__pycache__/featurisers.cpython-311.pyc|1787816724.0|8857": {"hash": "4e7f4101d5ed373cb5b3ce3bcf03e51aa024ddf33cc5a87b6a6460781a985835", "size": 8857, "status": "c"}, "model/__pycache__/prediction_result_file.cpython-311.pyc|1787816726.0|9258": {"hash": "26a27e14427cc6006a9b4b1133cba1fda66a602414cb40c11e6d1e7ead6c62ec", "size": 9258, "status": "c"}, "model/domain_assignment/__pycache__/assigners.cpython-311.pyc|1787816725.0|5014": {"hash": "96973c7770ab6dc832d0d6d1304ec2bc2538f38a5f35003574e5ff6e3e1da434", "size": 5014, "status": "c"}, "model/domain_assignment/__pycache__/sparse_lowrank.cpython-311.pyc|1787816725.0|5486": {"hash": "ade3050279be92b9a6ee89ad791d2bcaf348d27cdb13053792062a25fcf5b293", "size": 5486, "status": "c"}, "model/domain_assignment/__pycache__/util.cpython-311.pyc|1787816725.0|8283": {"hash": "bcc89d70b56223006212c5573caa7ca556b08661a02c69d39c9bf857f560365f", "size": 8283, "status": "c"}, "model/domain_assignment/util.py|1785482345.0|4708": {"hash": "007718b5575d2078a5fc14c126ca56d21ace273756c5ecbc96d219d458fc05ff", "size": 4708, "status": "c"}, "model/domain_assignment/assigners.py|1787813888.0|2601": {"hash": "9ae0d882dbebc9e3136b6c3764780432455554e2456a90f6d381d52808a6feff", "size": 2601, "status": "c"}, "model/domain_assignment/sparse_lowrank.py|1785482345.0|4740": {"hash": "cebf40615a983cb8adf69bca8d26f133b13c3d5bbb798267f7d2179aba9235a0", "size": 4740, "status": "c"}, "model/featurisers.py|1787813887.0|5638": {"hash": "bfa24e1bd67fc571fbea274ed667e9f99b8c5a4090298fdc823c0865c8796fc1", "size": 5638, "status": "c"}, "model/domain_chop.py|1787813884.0|13864": {"hash": "a1d7c93aeb381c6bbf1aac67b8156ab6aac0bb3181640993afd45973275443d9", "size": 13864, "status": "c"}, "model/factories.py|1787813886.0|2253": {"hash": "89fb7816fc24be8986e4767e9e67b3b49225adbe63147b2af523acd9b814191d", "size": 2253, "status": "c"}, "model/errors.py|1785482345.0|211": {"hash": "a7975fbfc65fc42493728d5505da08ea5178eaf736c696ea87c1102948fca4f5", "size": 211, "status": "c"}, "model/loggers.py|1785482345.0|4644": {"hash": "e7d3eb982b79b182136fa85941664a219eb4b8999c8e42fb916aa47e1437694f", "size": 4644, "status": "c"}, "model/models/__pycache__/results.cpython-311.pyc|1787816726.0|1501": {"hash": "71445e02af3d65638406e62f9eac236670fe667cc5147e36a10a7010fe815fc3", "size": 1501, "status": "c"}, "model/utils/__init__.py|1785482345.0|0": {"hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "size": 0, "status": "c"}, "model/models/results.py|1787814533.0|608": {"hash": "49509469b2f29a7ef0406e979f96530927c96ab75bfd156ebde8a2ece619eefd", "size": 608, "status": "c"}, "model/models/__pycache__/rosetta.cpython-311.pyc|1787816725.0|4770": {"hash": "01681890fc010794b87b539df5c1f88d8a0790549e97a0f5275ce3c535d11451", "size": 4770, "status": "c"}, "model/prediction_result_file.py|1785482345.0|5365": {"hash": "aa35107f7daea5a9b4918aa18539bd481aed156fa3f9bc527e462fb5f6ff8766", "size": 5365, "status": "c"}, "model/models/rosetta.py|1785482345.0|2335": {"hash": "b6a378368d45481361dd8f0f5e0afcfd45b487cba4927c267a06382d2718029f", "size": 2335, "status": "c"}, "model/utils/__pycache__/__init__.cpython-311.pyc|1787816725.0|170": {"hash": "8e7d302e9f279abc1cb354eeea6af673ae5ab313a1abb9309b6b1ceff21cabfb", "size": 170, "status": "c"}, "model/utils/__pycache__/common.cpython-311.pyc|1787816725.0|2926": {"hash": "b0e4cb25ee74d750e0661e37342540ac260839996b04ca2126e6c1fcebfcb357", "size": 2926, "status": "c"}, "model/utils/__pycache__/cif2pdb.cpython-311.pyc|1787816725.0|6773": {"hash": "674f8ca7af4c0f8180bd1dc6abe8cfb278b9ea185c65f828cf6bdb8fa61a04fa", "size": 6773, "status": "c"}, "model/utils/__pycache__/secondary_structure.cpython-311.pyc|1787816725.0|7245": {"hash": "5996a7911198ae8d5b3d30063950df84284ea52483389158ab5df53126a8903f", "size": 7245, "status": "c"}, "model/utils/__pycache__/pymol_3d_visuals.cpython-311.pyc|1787816726.0|2913": {"hash": "d47671d6b97ed9c3903b7f331e1140fb66aa7d81984bf03b158f35ceebe438bf", "size": 2913, "status": "c"}, "model/utils/cif2pdb.py|1785482345.0|4247": {"hash": "4c3848a69a1968a918ce8700950dc4173533f74945ebebbe6153e1423d82e130", "size": 4247, "status": "c"}, "model/utils/ndo_score.py|1785482345.0|4073": {"hash": "c3e2e8a6882dd3c8dc612ffeaf3355c499821c3e9926b66a81747830701e4215", "size": 4073, "status": "c"}, "model/utils/common.py|1785482345.0|1260": {"hash": "d23404e29a3ba78f9b30996534391353627e6e2be26ca86db944999851aa2522", "size": 1260, "status": "c"}, "scripts/__init__.py|1785482345.0|0": {"hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "size": 0, "status": "c"}, "model/utils/domain_boundary_distance_score.py|1785482345.0|3575": {"hash": "ce6fb5667f735080e8696de71b0b8618becb720adfca798ea8293bbb5c3d4a84", "size": 3575, "status": "c"}, "model/utils/pymol_3d_visuals.py|1785482345.0|1972": {"hash": "88bc47afff4a41032e714a5a2cb5bf26be162ff3c868fd5263034a26c367f011", "size": 1972, "status": "c"}, "model/utils/secondary_structure.py|1787814846.0|3918": {"hash": "2529cdd1a9e8d4d1339679d4bd6b727d2110b2bf0b1a6b21f5a447ab62d10b91", "size": 3918, "status": "c"}, "model/utils/pdb_reres.py|1785482345.0|5821": {"hash": "56e828c67312e9ee1eae28dd45617dbdf0154499399d1c045eeb0ae30ff0ffc6", "size": 5821, "status": "c"}, "scripts/chainsaw_submit.ucl_cs.sh|1787815557.0|2848": {"hash": "a4d715103eff7990f91b86620b196c8dafcfcba8781c682c725052c0a3b8fce9", "size": 2848, "status": "c"}, "scripts/development/data_and_benchmarking/README.md|1787815560.0|759": {"hash": "7ea57716facfba0e62c12e13a06a1fd2cf756ebb2726d2cb8af2eec2ac52dfd1", "size": 759, "status": "c"}, "scripts/development/experiments/chop_newfolds_cluster.py|1785482344.0|3319": {"hash": "9cf4ca18a73970d579907a80833433236e90a9ca8728642c68d5c0a707c0adeb", "size": 3319, "status": "c"}, "scripts/development/experiments/speed_test_human200.py|1785482344.0|1911": {"hash": "c612548e4c733634f5145958843c46abd2c6ab0eed8f3b1980ef71e1329501f5", "size": 1911, "status": "c"}, "scripts/development/data_and_benchmarking/chainsaw_cath1363_train_test_splits.json|1785482344.0|651867": {"hash": "e0f364afb451f2469174d207dd2e348fab994f230b033f4a365ffecf4de79c37", "size": 651867, "status": "c"}, "scripts/development/data_and_benchmarking/chainsaw_model_v3_on_cath1363_test.csv|1785482344.0|220976": {"hash": "882091cbc2d96fc28ddb9ac6c02dbc981585964aced89eb706c5f720a9496e0d", "size": 220976, "status": "c"}, "scripts/development/tests/e2e/test_stride_error.py|1787815562.0|1824": {"hash": "ea81b547c37a1212be0233331c78f50b468e576e122c69964eb7019db398aceb", "size": 1824, "status": "c"}, "scripts/development/tests/e2e/test_basic_usage.py|1787815561.0|3541": {"hash": "6e6726f41fd30b09a1f453db520dd08c5c8c0c0befcc7dc3a8ebac852a947a0b", "size": 3541, "status": "c"}, "scripts/development/notebooks/InteractiveUsageExample.ipynb|1787814459.0|72859": {"hash": "8d80edf5e13f67fe4d0753580fd394c3b447f8c888ba32ef35c57a700ff0e31b", "size": 72859, "status": "c"}, "scripts/development/tests/fixtures/4wgvC.pdb|1785482345.0|204357": {"hash": "42a646c7f37bc4884ce998eed7e1c5536ba023fea728d38c7da3fbf864813733", "size": 204357, "status": "c"}, "scripts/development/tests/fixtures/5yclA.pdb|1785482345.0|66679": {"hash": "1ee3e6b862eb7876d82f538eb60f416be2497e9a694e179515aaa60422c472d6", "size": 66679, "status": "c"}, "scripts/development/tests/unit/__init__.py|1787814020.0|117": {"hash": "d2258c1c2758ec7561f816ee2101b28adea7806b011b72c6f81abb1aafd2b63c", "size": 117, "status": "c"}, "scripts/development/tests/fixtures/AF-A0A0A9LVA1-F1-model_v4.pdb|1785482345.0|9558": {"hash": "bf693d9fc876e48afdc27669105217041e1056f066b0929e7170149ae34e06ea", "size": 9558, "status": "c"}, "scripts/development/tests/fixtures/AF-A0A1W2PQ64-F1-model_v4.pdb|1785482345.0|132353": {"hash": "882619402336796e5a52e3f39cfbe764454cd124f2612c671af89abc9106c86e", "size": 132353, "status": "c"}, "scripts/development/tests/unit/test_get_predictions.py|1787815564.0|2032": {"hash": "b0dd810f1d8bb43558265387d7bd427bc73d09736fafdd14b13460cc059c66fd", "size": 2032, "status": "c"}, "scripts/development/tests/unit/test_model_results.py|1787814023.0|545": {"hash": "7150bdc8ad0bd0d8dd06926ae439ada93dbc887e58a039d02c9cfbea9ecfddcc", "size": 545, "status": "c"}, "scripts/development/tests/unit/test_prediction_result_file.py|1787814024.0|3396": {"hash": "a28ba1316ec038fe9516adcfc2b38c2a3fb659e32f008ca79a9e0c2b61609a56", "size": 3396, "status": "c"}, "scripts/example_files/AF-A0A1W2PQ64-F1-model_v4.pdb|1785482344.0|132353": {"hash": "882619402336796e5a52e3f39cfbe764454cd124f2612c671af89abc9106c86e", "size": 132353, "status": "c"}, "scripts/development/tests/unit/test_write_results.py|1787815565.0|1254": {"hash": "f550baed5b8ae17e4c4cb28ac1c75e0fcf7e36a07acbf7acc2417cdcfd7fe912", "size": 1254, "status": "c"}, "scripts/get_predictions.py|1787813988.0|15261": {"hash": "e6b9a52c834ab2bb956d2451192571b7fcddd6ecbf5157af778e285b219b65ab", "size": 15261, "status": "c"}, "scripts/ss_mod_chainsaw_submit.ucl_cs.sh|1787815559.0|2717": {"hash": "f1113903466183f13d31f22f55fc4b71a4d205f26779bb9f36021d81a6c96560", "size": 2717, "status": "c"}, "scripts/qsub_ss_mod_chainsaw_submit.ucl_cs.qsub.sh|1785482345.0|385": {"hash": "7f21819709950e4659a43cb7f8e8155ad68906c1ed0a648d371b98345d8a1e33", "size": 385, "status": "c"}, "scripts/stride/HOW_TO_USER_STRIDE_FOR_CONTACT_ORDER_CALCULATIONS|1037182665.0|202": {"hash": "10dfdc1e94eafd7435d14075450a2e505f6a84f1f19c388e1ff9c0c506e3bfa3", "size": 202, "status": "c"}, "scripts/example_files/AF-Q5T5X7-F1-model_v4.pdb|1785482344.0|547397": {"hash": "01720526b692020d5175d7753a45c08c7169d393e3b8e722c4d77875ed9814b8", "size": 547397, "status": "c"}, "scripts/setup.sh|1787815556.0|1246": {"hash": "c40eb540da32adcc2bee967bb6b3e5030939bea0638c3925defe475c69d09c73", "size": 1246, "status": "c"}, "scripts/stride/chk_res.c|1035297819.0|825": {"hash": "02cc23e3b0cd7a3a7c5a99a622f3ad5ee10c4881a111a0dd9ac4658bbf4ffda2", "size": 825, "status": "c"}, "scripts/stride/asngener.c|1035297818.0|7801": {"hash": "0438899e50e1f0cf715d5c91731fe8062fcc972978c54061e74f88003f86f2dc", "size": 7801, "status": "c"}, "scripts/stride/README_stride|1787814445.0|670": {"hash": "59d514e9ec11ca2ba48fa258953adc2724d22b4c1acbd29988b18916586a104c", "size": 670, "status": "c"}, "scripts/stride/Makefile|1049803394.0|925": {"hash": "0efb55ccd799f2ae7632b69e0ef6ef1d8c4b92c541c2cef1ba430fefc96fe88f", "size": 925, "status": "c"}, "scripts/stride/area.c|1035297818.0|1600": {"hash": "ee285275d48379741aeced57e3afb00b024cdb727fc6532790de340b898b0532", "size": 1600, "status": "c"}, "scripts/stride/chk_atom.c|1035297818.0|984": {"hash": "21999523fd68a670d7cade5e655d97cb72496dc98015ebe9916ede5b6d1b56c6", "size": 984, "status": "c"}, "scripts/stride/chkchain.c|1035297819.0|6000": {"hash": "49d857f08256a879fdbeac3144596963bed8de9f34bd0504829cb14266e56382", "size": 6000, "status": "c"}, "scripts/stride/command.c|1035297819.0|1249": {"hash": "eafacda54f66755faf348de51f885f5f33f650bd13e59e5f5cce8a78d9aa9595", "size": 1249, "status": "c"}, "scripts/stride/contact_map.c|1049804488.0|787": {"hash": "3555165f745053062ee2fc0c0c5ff8ee7081eabf01aa864904bd4d8af0a468b6", "size": 787, "status": "c"}, "scripts/stride/contact_order.c|1035378228.0|1934": {"hash": "bd6c6a6796ffc03eaae35c2e3e416a969b8b033432c571f85f4d65a8195b22b8", "size": 1934, "status": "c"}, "scripts/stride/doc/notes.mac|1037181310.0|2430": {"hash": "fb80241a3c68c28f783f2540dca9a0082cb6cc4911cc9cc00a98a94ca11aef07", "size": 2430, "status": "c"}, "scripts/stride/doc/stride.doc|1037181309.0|13219": {"hash": "7a7d2ffb221d2be3de7727c342a746c36d94769fa45b4b49be43a8c068bb759a", "size": 13219, "status": "c"}, "scripts/stride/die.c|1035297819.0|188": {"hash": "74c2d8e5e80663e2e84c227835d768b7d33cf94117736c3b0e4d5bace6484926", "size": 188, "status": "c"}, "scripts/stride/doc/relnotes.doc|1037181309.0|1212": {"hash": "56b34ed0e39b98df78d9a7acf858d31eec4c2c2065824f6642f0a57c6259f0b4", "size": 1212, "status": "c"}, "scripts/stride/doc/notes.dos|1037181310.0|570": {"hash": "0fb128c77d6131fd9476fc00156b4f20b1aaafaf660955ce31538a47c3a8a3c7", "size": 570, "status": "c"}, "scripts/stride/dssp.c|1035297819.0|7785": {"hash": "b93ccc30472c27d733e4aab3e15be9adce37e4d6c2dd4ab0ef073c0c6db2e91c", "size": 7785, "status": "c"}, "scripts/stride/elem.c|1035297819.0|4675": {"hash": "17664a1f184ef6f424f68f1de80c004744e60413c12f3481f2ffdd5120f2d6dc", "size": 4675, "status": "c"}, "scripts/stride/escape.c|1035297819.0|182": {"hash": "2f14f876bf7069e7bba869bdfff219e893a15b90e196791c14aeb20921252a24", "size": 182, "status": "c"}, "scripts/stride/fillasn.c|1035297819.0|17051": {"hash": "9dcaf7d638312e7d0c38f52924bd6443906f86beeb734b318931a1d64aa6e950", "size": 17051, "status": "c"}, "scripts/stride/hbenergy.c|1035297819.0|1981": {"hash": "af086801284711d9a3bad271a499a58d5a553b3efeacd36ff40185c681d2d36f", "size": 1981, "status": "c"}, "scripts/stride/initchn.c|1035297820.0|1616": {"hash": "95083f51264540a8b0cc3ab982063201ed5b94355f75cc81fe9bb936832285af", "size": 1616, "status": "c"}, "scripts/stride/filename.c|1035297819.0|522": {"hash": "cbfc56f86386e195a967590ebceb30ba3fe2763b743b4e4750e70c560b1b601d", "size": 522, "status": "c"}, "scripts/stride/geometry.c|1035305053.0|14030": {"hash": "e025c3d64bece4a94da6cc23a1e880223926462c34ebf824bb8af30cb7e8a76e", "size": 14030, "status": "c"}, "scripts/stride/hydrbond.c|1044630447.0|19373": {"hash": "0ae7e41e4705aefa131045de9894484d6869aed78d8841b3e68f3c462bd51376", "size": 19373, "status": "c"}, "scripts/stride/helix.c|1035297819.0|3126": {"hash": "6ee65307867be8c9351fb3349d0cee9d583cded15cec2307779815952e12e7ce", "size": 3126, "status": "c"}, "scripts/stride/measure.c|1035297820.0|9578": {"hash": "fd65acb9116a2055fea8a53c26acf4aaf123b7ce9ae6ad5044b003566990a3c9", "size": 9578, "status": "c"}, "scripts/stride/mergepat.c|1035297822.0|15433": {"hash": "0c72e01b8283971c758a55039e97d3e9b97cab519066d439b433abec832db181", "size": 15433, "status": "c"}, "scripts/stride/memory.c|1035297820.0|3448": {"hash": "3b00d3d6d9b3e475427f586d6aa42f761e37542b26e8bbb226bbe1d97f2d57d7", "size": 3448, "status": "c"}, "scripts/stride/nsc.c|1035297822.0|28965": {"hash": "a8af9d77e7554b8bee70375ea08be6bfa741192b827f4e5b0201bb5a583adbb5", "size": 28965, "status": "c"}, "scripts/stride/molscr.c|1035297822.0|2138": {"hash": "aaea89e67ba7d368dde129b31968b6c07f53f45829a9816eef980487b28b55cc", "size": 2138, "status": "c"}, "scripts/stride/nsc.h|1035297822.0|5697": {"hash": "7ea7ec08b2faa5b5b2608e8156d6ee854f83c1ecf8f8436ecd1747bb0f16a682", "size": 5697, "status": "c"}, "scripts/stride/p_atom.c|1035297823.0|2764": {"hash": "857286c25dbf21debeeaec0e504535916984b0412f98b1c70a2e308c8d89d4bd", "size": 2764, "status": "c"}, "scripts/stride/p_endmdl.c|1035297823.0|189": {"hash": "44e5584b7f07e519cfe43438a654547201ac892f846ceec0f7907d7d38bcced5", "size": 189, "status": "c"}, "scripts/stride/p_jrnl.c|1035297823.0|318": {"hash": "af3f53b6f485ec0714f102450f73806dfa570b5c13d7e0f041daccb720568825", "size": 318, "status": "c"}, "scripts/stride/p_helix.c|1035297823.0|1163": {"hash": "052760462ca9a990af93f915ad3356a3fd4b130546563f930df7101176df9201", "size": 1163, "status": "c"}, "scripts/stride/p_compnd.c|1035297823.0|236": {"hash": "617256e2c91b1932a1bb086673a784845c6393b3c7b9dd611ba11cce9fd4da47", "size": 236, "status": "c"}, "scripts/stride/p_expdta.c|1035297823.0|381": {"hash": "f3d034be520b7e92ac138b4ca9cba76a42b261c1c188ad50e9881d094429056f", "size": 381, "status": "c"}, "scripts/stride/p_model.c|1035297823.0|133": {"hash": "948c57ce4029e64b2000df75d524081a3984b7d7c1dbb85379cce0a38d74c65a", "size": 133, "status": "c"}, "scripts/stride/one2thr.c|1035297822.0|986": {"hash": "a1aae2c370ac6b8b5d244d81f44ca257e8331d06a6a48efc3335dd8a2b86ab49", "size": 986, "status": "c"}, "scripts/stride/p_sheet.c|1035297823.0|2875": {"hash": "f137e9b1e73e228322e1a94476172b77b0e3bb0745be28ffaa9cb908663f65bf", "size": 2875, "status": "c"}, "scripts/stride/p_ssbond.c|1035297823.0|979": {"hash": "279cafac1c7d0f07a40a2ed55d2ba2a63c6c838f4e25a64c7ac46e0fbad2cfd7", "size": 979, "status": "c"}, "scripts/stride/p_turn.c|1035297824.0|1046": {"hash": "ca0cd408b570aed9959af78cef6017e82267b1ec8a591c3976f4a648da59f4ea", "size": 1046, "status": "c"}, "scripts/stride/pdb1res.pdb|1044971484.0|62937": {"hash": "d9c33efa05bf1a39dbaf576a6e034eaee1a8194b686f106cf207ca104f4465f4", "size": 62937, "status": "c"}, "scripts/stride/pdbasn.c|1035297824.0|1596": {"hash": "69d499b32c25069790c64b23101ca7b49d798ec77263b65b24d080698f6fb435", "size": 1596, "status": "c"}, "scripts/stride/p_rem.c|1035297823.0|960": {"hash": "7f2324af196b9a78f43540e55417643af6425d849d7904041712cf8a1568a554", "size": 960, "status": "c"}, "scripts/stride/outseq.c|1035297822.0|751": {"hash": "7c8c97b675cd6604f604a648791e43b0954f6bfc7d313cf66d2abac0b4feb6d5", "size": 751, "status": "c"}, "scripts/stride/pdb2btm.pdb|1044971468.0|347166": {"hash": "eeee8a49a5078c955a17346f402d8d28124b51e45618dba52f83c00f180352b5", "size": 347166, "status": "c"}, "scripts/stride/pdb1fmc.pdb|1044971490.0|377622": {"hash": "5e8efb8bce02af061a2be14eb4f15118422506aa4cd4406083fdd7f5377017cb", "size": 377622, "status": "c"}, "scripts/stride/phipsi.c|1035297824.0|1362": {"hash": "01519c52a8f8512930b2ad8685d7b74ce473b997d19bf1096f34eef3338ed8f0", "size": 1362, "status": "c"}, "scripts/stride/place_h.c|1035297824.0|1133": {"hash": "9f2a529f561d88916030cb3a668d46af5be7a2e94936f56863de5ec921591267", "size": 1133, "status": "c"}, "scripts/stride/rdmap.c|1035297824.0|11643": {"hash": "df41c31438be1c2763a6d46774f18a5101626b0e82d0e6dfe8ed2135a88df145", "size": 11643, "status": "c"}, "scripts/stride/rdpdb.c|1035297824.0|3568": {"hash": "a4c9f7c73247c05294235f220f2d8215257fc511a26e25357bec66861f68ef1f", "size": 3568, "status": "c"}, "scripts/stride/report.c|1226913206.0|10236": {"hash": "48d13dda3b1e4e95c1776f82698c2c0b850bec25b6e1c4e118446f9ccaacf27c", "size": 10236, "status": "c"}, "scripts/stride/pdb1mjh.pdb|1044971741.0|247779": {"hash": "8881b97b8e05043608cf050a4657d32f3723879c50ae2355c6338fe2871cc65f", "size": 247779, "status": "c"}, "scripts/stride/protot.h|1049803446.0|10132": {"hash": "a06bf6616ddedeb269af2bdc0af84a515751d3070cb07141d67cbbda7c5a7580", "size": 10132, "status": "c"}, "scripts/stride/sheet.c|1035297825.0|15123": {"hash": "a115a7af69004a26ab234da32d0438f0f4236b0de4386240b8fde570b0026b4c", "size": 15123, "status": "c"}, "scripts/stride/splitstr.c|1035297825.0|981": {"hash": "d7206158c3de524844cc2c3104cfbe07ed1ae504a1ea28836ce662f6851fe78d", "size": 981, "status": "c"}, "scripts/stride/ssbond.c|1035297826.0|1891": {"hash": "eebae52935d4a558dd633bb0c1c2f1c415f8d99f876a1a9772b7d4366bdb101d", "size": 1891, "status": "c"}, "scripts/stride/stred.c|1035297826.0|581": {"hash": "dbfcb177e4888c4d2e836a75503aa05e4102bbed7397681407b95d9ba8002460", "size": 581, "status": "c"}, "scripts/stride/stride|1785483222.0|170072": {"hash": "31db248eb0890d0b958e362f386a31f229b671a8430b422bf70ddf60191469ff", "size": 170072, "status": "c"}, "scripts/stride/stride.c|1049803551.0|10286": {"hash": "64377dc2f8695ff468f811e51fb1a1513750211d2500be45fd0e0719bab0fa9c", "size": 10286, "status": "c"}, "scripts/stride/strutil.c|1035297828.0|8851": {"hash": "065ab47823715976c773b4ceea2bea3ea109a9b00a7085dd9cc2c3998e76e954", "size": 8851, "status": "c"}, "scripts/stride/stride.h|1049803421.0|9106": {"hash": "6b162fdfe6e63c03ace5bf4fe8be964db44207866487d59dc8856a01a49eae14", "size": 9106, "status": "c"}, "scripts/stride/thr2one.c|1035297828.0|1132": {"hash": "8643f78cd9a937f7ddf6ef2c0197f326b28ae8d8048401a383e3b266b2b00880", "size": 1132, "status": "c"}, "scripts/stride/stride.tgz|1785482345.0|316993": {"hash": "d7481f3c84375af7381f11decd62227fc9dd253e074edabd23f9f6ca77769c54", "size": 316993, "status": "c"}, "scripts/stride/turn.c|1035297829.0|4204": {"hash": "a484c24f0cb975cc9d2a3b7c51911a29de1dfe122bdaec1451a92d7a1f8b4b0b", "size": 4204, "status": "c"}, "scripts/test_zip_extract.py|1785482345.0|2094": {"hash": "0377d6abc85b48f20b417edd7de672a8e90a51fe103b7f92f5e3f4bb776aaf9a", "size": 2094, "status": "c"}, "scripts/stride/tolostr.c|1035297828.0|360": {"hash": "f2576e1e83f6f9d8bf65f13d3b56f71962227fa09fb6cecd78955b8b2b1c19ff", "size": 360, "status": "c"}, "scripts/zip_extract.py|1785482345.0|1743": {"hash": "8b0f33c8ccbfacc2960cd715eae18422d6b7664fce1c6ab16f3c8a5a8151145e", "size": 1743, "status": "c"}, "weight/model_v1/best_val_metrics.json|1785482345.0|1786": {"hash": "1c9524288ae797faf43f4c82973ad91af89f75c774be5f3fdc633e6264a5aff4", "size": 1786, "status": "c"}, "weight/model_v2/best_val_metrics.json|1785482345.0|2603": {"hash": "bbaa568a993274857ad33dd7069ff257d24480c1861b89086f10fb9b5f892ae0", "size": 2603, "status": "c"}, "weight/model_v1/weights.pt|1785482345.0|2396293": {"hash": "6e8b9459f66bf2af04f652083e8b1991bf870f368f424691ae48a8445c09ba37", "size": 2396293, "status": "c"}, "weight/model_v2/chains.json|1785482345.0|2977860": {"hash": "d6b78b238cd00ed0d71da10e37e592cff19c59085217a0cc78898e74d30139f9", "size": 2977860, "status": "c"}, "weight/model_v2/weights.pt|1785482345.0|2396549": {"hash": "1fca05a2a64a80990e7dfb6013c26fe00c53fd78b39d85ab3c9973939781b183", "size": 2396549, "status": "c"}, "weight/model_v3/weights.pt|1785482345.0|2396726": {"hash": "f21d5451e285e347582944e4017822379c31866d343593d71bccc8eb31ff9c9e", "size": 2396726, "status": "c"}, "weight/model_v1/chains.json|1785482345.0|2833360": {"hash": "5b4711a08e97a8de716fe093a66cca523071a5d49477d2fd7c32d25eb4dfe585", "size": 2833360, "status": "c"}}}
|
README.md
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
frameworks:
|
| 3 |
+
- PyTorch
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
license: mit
|
| 7 |
+
tags:
|
| 8 |
+
- OneScience
|
| 9 |
+
- bioscience
|
| 10 |
+
- protein-domain-prediction
|
| 11 |
+
- protein-structure-analysis
|
| 12 |
+
- Chainsaw
|
| 13 |
+
tasks: []
|
| 14 |
+
datasets: []
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
<p align="center">
|
| 18 |
+
<strong>
|
| 19 |
+
<span style="font-size: 30px;">Chainsaw</span>
|
| 20 |
+
</strong>
|
| 21 |
+
</p>
|
| 22 |
+
|
| 23 |
+
# Model Introduction
|
| 24 |
+
|
| 25 |
+
Chainsaw is a fully convolutional neural network designed to predict protein domain boundaries from three-dimensional protein structures. The model extracts residue-distance features and STRIDE secondary-structure features from PDB or mmCIF structures, predicts the probability that residue pairs belong to the same structural domain, and then applies post-processing to generate the final domain segmentation.
|
| 26 |
+
|
| 27 |
+
Paper: [Chainsaw: protein domain segmentation with fully convolutional neural networks](https://doi.org/10.1093/bioinformatics/btae296)
|
| 28 |
+
|
| 29 |
+
# Model Description
|
| 30 |
+
|
| 31 |
+
Chainsaw takes a three-dimensional protein structure as input rather than an amino acid sequence alone. Its main processing pipeline is as follows:
|
| 32 |
+
|
| 33 |
+
1. Parse the specified protein chain and generate a residue-distance matrix;
|
| 34 |
+
2. Run STRIDE to calculate secondary-structure features;
|
| 35 |
+
3. Use a fully convolutional neural network to predict residue-pair domain co-membership;
|
| 36 |
+
4. Convert the predicted matrix into continuous or discontinuous domain boundaries and output confidence scores.
|
| 37 |
+
|
| 38 |
+
The model package includes three versions of the official pretrained weights, with `model_v3` used by default. Basic inference does not require downloading additional weights or retraining the model.
|
| 39 |
+
|
| 40 |
+
# Use Cases
|
| 41 |
+
|
| 42 |
+
| Use Case | Description |
|
| 43 |
+
| :---: | :--- |
|
| 44 |
+
| Single-structure prediction | Segment a protein chain from a PDB or mmCIF file into structural domains. |
|
| 45 |
+
| Batch structure prediction | Process multiple PDB or mmCIF structure files in a directory. |
|
| 46 |
+
| AlphaFold structure analysis | Identify domain boundaries in AlphaFold-predicted structures. |
|
| 47 |
+
| Domain boundary screening | Output the number of domains, residue ranges, confidence scores, and runtime for downstream analysis. |
|
| 48 |
+
|
| 49 |
+
# Usage
|
| 50 |
+
|
| 51 |
+
## 1. OneCode
|
| 52 |
+
|
| 53 |
+
You can use the OneCode online environment for an intelligent one-click AI4S programming experience:
|
| 54 |
+
|
| 55 |
+
[Try OneCode for AI4S Programming](https://web-2069360198568017922-iaaj.ksai.scnet.cn:58043/home)
|
| 56 |
+
|
| 57 |
+
## 2. Manual Installation
|
| 58 |
+
|
| 59 |
+
**Hardware Requirements**
|
| 60 |
+
|
| 61 |
+
- Supports inference on both CPU and DCU;
|
| 62 |
+
- STRIDE, structure parsing, and part of the post-processing pipeline are executed on CPU.
|
| 63 |
+
|
| 64 |
+
### Download the Model Package
|
| 65 |
+
|
| 66 |
+
Install the Hugging Face command-line tool and download the model repository:
|
| 67 |
+
|
| 68 |
+
```bash
|
| 69 |
+
pip install -U huggingface_hub
|
| 70 |
+
|
| 71 |
+
hf download OneScience-Group/Chainsaw --local-dir ./Chainsaw
|
| 72 |
+
cd Chainsaw
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
### Install the Runtime Environment
|
| 76 |
+
|
| 77 |
+
**DCU Environment**
|
| 78 |
+
|
| 79 |
+
```bash
|
| 80 |
+
conda create -n onescience311 python=3.11 -y
|
| 81 |
+
conda activate onescience311
|
| 82 |
+
|
| 83 |
+
pip install onescience[bio-dcu] \
|
| 84 |
+
-i http://mirrors.onescience.ai:3141/pypi/simple/ \
|
| 85 |
+
--trusted-host mirrors.onescience.ai
|
| 86 |
+
```
|
| 87 |
+
|
| 88 |
+
### Compile STRIDE
|
| 89 |
+
|
| 90 |
+
Chainsaw relies on STRIDE to generate secondary-structure features. The STRIDE source code is located in `scripts/stride/`. Before the first run, execute:
|
| 91 |
+
|
| 92 |
+
```bash
|
| 93 |
+
cd scripts/stride
|
| 94 |
+
make
|
| 95 |
+
chmod +x stride
|
| 96 |
+
cd ../..
|
| 97 |
+
```
|
| 98 |
+
|
| 99 |
+
By default, the inference script looks for the STRIDE executable at:
|
| 100 |
+
|
| 101 |
+
```text
|
| 102 |
+
scripts/stride/stride
|
| 103 |
+
```
|
| 104 |
+
|
| 105 |
+
When running commands from the root directory of the Hugging Face model package, no additional path configuration is required.
|
| 106 |
+
|
| 107 |
+
If you need to specify the STRIDE executable explicitly, use:
|
| 108 |
+
|
| 109 |
+
```bash
|
| 110 |
+
export STRIDE_EXE=scripts/stride/stride
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
### Weights and Data Preparation
|
| 114 |
+
|
| 115 |
+
The Hugging Face model package already contains the official weights and configuration files required for basic inference. No additional model weights need to be downloaded at runtime.
|
| 116 |
+
|
| 117 |
+
| Model Version | Weights | Configuration |
|
| 118 |
+
| --- | --- | --- |
|
| 119 |
+
| model_v1 | `weight/model_v1/weights.pt` | `conf/model_v1/` |
|
| 120 |
+
| model_v2 | `weight/model_v2/weights.pt` | `conf/model_v2/` |
|
| 121 |
+
| model_v3 (default) | `weight/model_v3/weights.pt` | `conf/model_v3/` |
|
| 122 |
+
|
| 123 |
+
Input structures must be provided by the user. Both PDB and mmCIF files are supported.
|
| 124 |
+
|
| 125 |
+
The example files included in:
|
| 126 |
+
|
| 127 |
+
```text
|
| 128 |
+
scripts/example_files/
|
| 129 |
+
```
|
| 130 |
+
|
| 131 |
+
can be used for basic validation without downloading any training dataset.
|
| 132 |
+
|
| 133 |
+
### Quick Inference
|
| 134 |
+
|
| 135 |
+
All commands below should be executed from the root directory of the downloaded Hugging Face model package.
|
| 136 |
+
|
| 137 |
+
If the output directory does not exist, the inference script will create it automatically.
|
| 138 |
+
|
| 139 |
+
**DCU Inference**
|
| 140 |
+
|
| 141 |
+
```bash
|
| 142 |
+
unset CUDA_VISIBLE_DEVICES
|
| 143 |
+
export TORCHDYNAMO_DISABLE=1
|
| 144 |
+
|
| 145 |
+
python scripts/get_predictions.py \
|
| 146 |
+
--structure_file scripts/example_files/AF-A0A1W2PQ64-F1-model_v4.pdb \
|
| 147 |
+
--output output/inference/predictions_dcu.tsv
|
| 148 |
+
```
|
| 149 |
+
|
| 150 |
+
**CPU Inference**
|
| 151 |
+
|
| 152 |
+
```bash
|
| 153 |
+
export CUDA_VISIBLE_DEVICES=""
|
| 154 |
+
export TORCHDYNAMO_DISABLE=1
|
| 155 |
+
|
| 156 |
+
python scripts/get_predictions.py \
|
| 157 |
+
--structure_file scripts/example_files/AF-A0A1W2PQ64-F1-model_v4.pdb \
|
| 158 |
+
--output output/inference/predictions_cpu.tsv
|
| 159 |
+
```
|
| 160 |
+
|
| 161 |
+
**Batch Processing of Structure Files**
|
| 162 |
+
|
| 163 |
+
Place the structures to be predicted in:
|
| 164 |
+
|
| 165 |
+
```text
|
| 166 |
+
input/structures/
|
| 167 |
+
```
|
| 168 |
+
|
| 169 |
+
Then run:
|
| 170 |
+
|
| 171 |
+
```bash
|
| 172 |
+
python scripts/get_predictions.py \
|
| 173 |
+
--structure_directory input/structures \
|
| 174 |
+
--output output/inference/batch_predictions.tsv
|
| 175 |
+
```
|
| 176 |
+
|
| 177 |
+
**Using Another Official Model Version**
|
| 178 |
+
|
| 179 |
+
```bash
|
| 180 |
+
python scripts/get_predictions.py \
|
| 181 |
+
--model_dir weight/model_v1 \
|
| 182 |
+
--config_dir conf/model_v1 \
|
| 183 |
+
--structure_file input/protein.pdb \
|
| 184 |
+
--output output/inference/model_v1_predictions.tsv
|
| 185 |
+
```
|
| 186 |
+
|
| 187 |
+
### Output
|
| 188 |
+
|
| 189 |
+
The inference result is saved as a TSV file, with one row corresponding to each input structure chain.
|
| 190 |
+
|
| 191 |
+
| Field | Description |
|
| 192 |
+
| --- | --- |
|
| 193 |
+
| `chain_id` | Identifier of the input protein chain. If no chain is explicitly specified, the first available chain is used. |
|
| 194 |
+
| `sequence_md5` | MD5 hash of the input amino acid sequence. |
|
| 195 |
+
| `nres` | Number of valid residues. |
|
| 196 |
+
| `ndom` | Number of predicted structural domains. |
|
| 197 |
+
| `chopping` | Predicted domain residue ranges. Underscores connect fragments belonging to the same discontinuous domain, while commas separate different domains. |
|
| 198 |
+
| `confidence` | Prediction confidence score. |
|
| 199 |
+
| `time_sec` | Inference time for a single structure, in seconds. |
|
| 200 |
+
|
| 201 |
+
### Training
|
| 202 |
+
|
| 203 |
+
The upstream repository does not publicly provide the complete training dataset, an executable end-to-end training entry point, or the full set of training hyperparameters such as learning rate, batch size, and number of epochs.
|
| 204 |
+
|
| 205 |
+
Therefore, this Hugging Face model package does not provide a training command.
|
| 206 |
+
|
| 207 |
+
The official pretrained weights included in the package can be used directly for the intended inference tasks.
|
| 208 |
+
|
| 209 |
+
# OneScience Official Resources
|
| 210 |
+
|
| 211 |
+
| Platform | OneScience Main Repository | Skills Repository |
|
| 212 |
+
| --- | --- | --- |
|
| 213 |
+
| Gitee | https://gitee.com/onescience-ai/onescience | https://gitee.com/onescience-ai/oneskills |
|
| 214 |
+
| GitHub | https://github.com/onescience-ai/OneScience | https://github.com/onescience-ai/oneskills |
|
| 215 |
+
|
| 216 |
+
# Citation and License
|
| 217 |
+
|
| 218 |
+
- Paper: [Chainsaw: protein domain segmentation with fully convolutional neural networks](https://doi.org/10.1093/bioinformatics/btae296)
|
| 219 |
+
- Official implementation: https://github.com/JudeWells/chainsaw
|
| 220 |
+
- Chainsaw is distributed under the MIT License.
|
| 221 |
+
- STRIDE and other third-party components are subject to their respective original copyright notices, licenses, and terms of use.
|
conf/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2024 Jude Wells
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
conf/config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_version": "model_v3",
|
| 3 |
+
"model_dir": "weight/model_v3",
|
| 4 |
+
"model_config_dir": "conf/model_v3",
|
| 5 |
+
"example_structure": "scripts/example_files/AF-A0A1W2PQ64-F1-model_v4.pdb",
|
| 6 |
+
"output": "output/inference/predictions.tsv",
|
| 7 |
+
"device": "auto",
|
| 8 |
+
"post_process_domains": true,
|
| 9 |
+
"remove_disordered_domain_threshold": 0.35,
|
| 10 |
+
"min_domain_length": 30,
|
| 11 |
+
"min_ss_components": 2
|
| 12 |
+
}
|
conf/model_v1/config.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"experiment_name": "secondary_structure",
|
| 3 |
+
"experiment_group": "filtered_splits",
|
| 4 |
+
"lr": 0.0005,
|
| 5 |
+
"weight_decay": 0.001,
|
| 6 |
+
"val_freq": 1,
|
| 7 |
+
"epochs": 80,
|
| 8 |
+
"accumulation_steps": 16,
|
| 9 |
+
"data": {
|
| 10 |
+
"crop_size": null,
|
| 11 |
+
"crop_type": null,
|
| 12 |
+
"batch_size": 1,
|
| 13 |
+
"feature_dir": "/mnt/disk2/domdet/features/nopae/2d_features_ss",
|
| 14 |
+
"label_dir": "/mnt/disk2/domdet/features/nopae/pairwise",
|
| 15 |
+
"chains_csv": null,
|
| 16 |
+
"evaluate_test": false,
|
| 17 |
+
"eval_casp_10_plus": false,
|
| 18 |
+
"splits_file": "splits_multi.json",
|
| 19 |
+
"validation_splits": [
|
| 20 |
+
"filt_val",
|
| 21 |
+
"filt_val_multi",
|
| 22 |
+
"filt_val_many"
|
| 23 |
+
],
|
| 24 |
+
"remove_missing_residues": false,
|
| 25 |
+
"using_alphafold_features": false,
|
| 26 |
+
"recycling": true,
|
| 27 |
+
"add_padding_mask": false,
|
| 28 |
+
"training_exclusion_json": null,
|
| 29 |
+
"multi_proportion": 0.65,
|
| 30 |
+
"train_ids": null,
|
| 31 |
+
"exclude_cath_test": false
|
| 32 |
+
},
|
| 33 |
+
"learner": {
|
| 34 |
+
"model": {
|
| 35 |
+
"type": "trrosetta",
|
| 36 |
+
"kwargs": {
|
| 37 |
+
"filters": 32,
|
| 38 |
+
"kernel": 3,
|
| 39 |
+
"num_layers": 31,
|
| 40 |
+
"in_channels": 5
|
| 41 |
+
}
|
| 42 |
+
},
|
| 43 |
+
"assignment": {
|
| 44 |
+
"type": "sparse_lowrank",
|
| 45 |
+
"kwargs": {
|
| 46 |
+
"N_iters": 3,
|
| 47 |
+
"K_init": 4,
|
| 48 |
+
"linker_threshold": 20
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
"max_recycles": 1,
|
| 52 |
+
"save_val_best": true,
|
| 53 |
+
"x_has_padding_mask": false
|
| 54 |
+
},
|
| 55 |
+
"num_trainable_params": 577889
|
| 56 |
+
}
|
conf/model_v1/feature_config.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"description": "alpha distance only, keep the start and end boundaries in one channel",
|
| 3 |
+
"alpha_distances": true,
|
| 4 |
+
"beta_distances": false,
|
| 5 |
+
"ss_bounds": false,
|
| 6 |
+
"negative_ss_end": false,
|
| 7 |
+
"separate_channel_ss_start_end": false,
|
| 8 |
+
"same_channel_boundaries_and_ss": true
|
| 9 |
+
}
|
conf/model_v2/config.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"experiment_name": "ss_c_base_no_excl",
|
| 3 |
+
"experiment_group": "ss_mod",
|
| 4 |
+
"lr": 0.0001,
|
| 5 |
+
"weight_decay": 0.001,
|
| 6 |
+
"val_freq": 1,
|
| 7 |
+
"epochs": 30,
|
| 8 |
+
"accumulation_steps": 16,
|
| 9 |
+
"data": {
|
| 10 |
+
"crop_size": null,
|
| 11 |
+
"crop_type": null,
|
| 12 |
+
"batch_size": 1,
|
| 13 |
+
"feature_dir": "/mnt/disk2/domdet/features/nopae/2d_features_ss_mod",
|
| 14 |
+
"label_dir": "/mnt/disk2/domdet/features/nopae/pairwise",
|
| 15 |
+
"chains_csv": null,
|
| 16 |
+
"evaluate_test": true,
|
| 17 |
+
"eval_casp_10_plus": false,
|
| 18 |
+
"splits_file": "splits_multi.json",
|
| 19 |
+
"validation_splits": [
|
| 20 |
+
"filt_val",
|
| 21 |
+
"filt_val_multi",
|
| 22 |
+
"filt_val_many"
|
| 23 |
+
],
|
| 24 |
+
"remove_missing_residues": false,
|
| 25 |
+
"using_alphafold_features": false,
|
| 26 |
+
"recycling": true,
|
| 27 |
+
"add_padding_mask": false,
|
| 28 |
+
"training_exclusion_json": null,
|
| 29 |
+
"multi_proportion": 0.65,
|
| 30 |
+
"train_ids": null,
|
| 31 |
+
"exclude_cath_test": false,
|
| 32 |
+
"start_end_ss": false
|
| 33 |
+
},
|
| 34 |
+
"learner": {
|
| 35 |
+
"uncertainty_model": false,
|
| 36 |
+
"save_every_epoch": true,
|
| 37 |
+
"model": {
|
| 38 |
+
"type": "trrosetta",
|
| 39 |
+
"kwargs": {
|
| 40 |
+
"filters": 32,
|
| 41 |
+
"kernel": 3,
|
| 42 |
+
"num_layers": 31,
|
| 43 |
+
"in_channels": 7,
|
| 44 |
+
"symmetrise_output": true
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
"assignment": {
|
| 48 |
+
"type": "sparse_lowrank",
|
| 49 |
+
"kwargs": {
|
| 50 |
+
"N_iters": 3,
|
| 51 |
+
"K_init": 4,
|
| 52 |
+
"linker_threshold": 30
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
"max_recycles": 1,
|
| 56 |
+
"save_val_best": true,
|
| 57 |
+
"x_has_padding_mask": false
|
| 58 |
+
},
|
| 59 |
+
"num_trainable_params": 577953
|
| 60 |
+
}
|
conf/model_v2/feature_config.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"description": "alpha distance only, keep the start and end boundaries in same channel as co-membership",
|
| 3 |
+
"alpha_distances": true,
|
| 4 |
+
"beta_distances": false,
|
| 5 |
+
"ss_bounds": true,
|
| 6 |
+
"negative_ss_end": false,
|
| 7 |
+
"separate_channel_ss_start_end": false,
|
| 8 |
+
"same_channel_boundaries_and_ss": false
|
| 9 |
+
}
|
conf/model_v3/config.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"experiment_name": "C_mul65_do30",
|
| 3 |
+
"experiment_group": "cath_new",
|
| 4 |
+
"lr": 0.0002,
|
| 5 |
+
"weight_decay": 0.001,
|
| 6 |
+
"val_freq": 1,
|
| 7 |
+
"epochs": 15,
|
| 8 |
+
"lr_scheduler": {
|
| 9 |
+
"type": "exponential",
|
| 10 |
+
"gamma": 0.9
|
| 11 |
+
},
|
| 12 |
+
"accumulation_steps": 16,
|
| 13 |
+
"data": {
|
| 14 |
+
"splits_file": "splits_new_cath_featurized.json",
|
| 15 |
+
"validation_splits": [
|
| 16 |
+
"validation",
|
| 17 |
+
"test"
|
| 18 |
+
],
|
| 19 |
+
"crop_size": null,
|
| 20 |
+
"crop_type": null,
|
| 21 |
+
"batch_size": 1,
|
| 22 |
+
"feature_dir": "../features/new_cath/2d_features",
|
| 23 |
+
"label_dir": "../features/new_cath/pairwise",
|
| 24 |
+
"chains_csv": null,
|
| 25 |
+
"evaluate_test": false,
|
| 26 |
+
"eval_casp_10_plus": false,
|
| 27 |
+
"remove_missing_residues": false,
|
| 28 |
+
"using_alphafold_features": false,
|
| 29 |
+
"recycling": false,
|
| 30 |
+
"add_padding_mask": false,
|
| 31 |
+
"training_exclusion_json": null,
|
| 32 |
+
"multi_proportion": 0.65,
|
| 33 |
+
"train_ids": "splits_new_cath_featurized.json",
|
| 34 |
+
"exclude_test_topology": false,
|
| 35 |
+
"cluster_sampling_training": true,
|
| 36 |
+
"dist_transform": "unidoc_exponent",
|
| 37 |
+
"distance_denominator": 10,
|
| 38 |
+
"merizo_train_data": false,
|
| 39 |
+
"redundancy_level": "S60_comb"
|
| 40 |
+
},
|
| 41 |
+
"learner": {
|
| 42 |
+
"uncertainty_model": false,
|
| 43 |
+
"save_every_epoch": true,
|
| 44 |
+
"model": {
|
| 45 |
+
"type": "trrosetta",
|
| 46 |
+
"kwargs": {
|
| 47 |
+
"filters": 32,
|
| 48 |
+
"kernel": 3,
|
| 49 |
+
"num_layers": 31,
|
| 50 |
+
"in_channels": 5,
|
| 51 |
+
"dropout": 0.3,
|
| 52 |
+
"symmetrise_output": true
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
"assignment": {
|
| 56 |
+
"type": "sparse_lowrank",
|
| 57 |
+
"kwargs": {
|
| 58 |
+
"N_iters": 3,
|
| 59 |
+
"K_init": 4,
|
| 60 |
+
"linker_threshold": 30
|
| 61 |
+
}
|
| 62 |
+
},
|
| 63 |
+
"max_recycles": 0,
|
| 64 |
+
"save_val_best": true,
|
| 65 |
+
"x_has_padding_mask": false
|
| 66 |
+
},
|
| 67 |
+
"num_trainable_params": 577889
|
| 68 |
+
}
|
conf/model_v3/feature_config.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"description": "alpha distance only, keep the start and end boundaries in one channel but use -1",
|
| 3 |
+
"alpha_distances": true,
|
| 4 |
+
"beta_distances": false,
|
| 5 |
+
"ss_bounds": true,
|
| 6 |
+
"negative_ss_end": true,
|
| 7 |
+
"separate_channel_ss_start_end": false,
|
| 8 |
+
"same_channel_boundaries_and_ss": false
|
| 9 |
+
}
|
conf/pyproject.toml
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[tool.ruff]
|
| 2 |
+
line-length = 120
|
conf/requirements.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PyTorch is supplied by the SCNet DTK environment and must not be replaced
|
| 2 |
+
# by the upstream torch==2.0.1 pin.
|
| 3 |
+
biopython>=1.81,<2
|
| 4 |
+
numpy>=1.24,<2
|
| 5 |
+
pandas>=2.0
|
| 6 |
+
pydantic>=1.10,<3
|
| 7 |
+
scipy>=1.10,<2
|
conf/requirements_to_freeze.dev.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pytest
|
conf/requirements_to_freeze.txt
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
numpy
|
| 2 |
+
pandas
|
| 3 |
+
torch
|
| 4 |
+
matplotlib
|
| 5 |
+
requests
|
| 6 |
+
biopython
|
| 7 |
+
pydantic
|
| 8 |
+
click
|
configuration.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_name": "Chainsaw",
|
| 3 |
+
"framework": "PyTorch",
|
| 4 |
+
"task": "protein-domain-boundary-prediction",
|
| 5 |
+
"entry_points": {
|
| 6 |
+
"inference": "scripts/get_predictions.py",
|
| 7 |
+
"predict": "scripts/get_predictions.py"
|
| 8 |
+
},
|
| 9 |
+
"source_package": "model",
|
| 10 |
+
"config": "conf/config.json",
|
| 11 |
+
"weight_dir": "weight",
|
| 12 |
+
"license": "MIT"
|
| 13 |
+
}
|
model/__init__.py
ADDED
|
File without changes
|
model/constants.py
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from pathlib import Path
|
| 2 |
+
import os
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
REPO_ROOT = Path(__file__).parent.parent.resolve()
|
| 6 |
+
STRIDE_EXE = os.environ.get('STRIDE_EXE', str(REPO_ROOT / "scripts" / "stride" / "stride"))
|
| 7 |
+
PYMOL_EXE = "/Applications/PyMOL.app/Contents/MacOS/PyMOL" # only required if you want to generate 3D images
|
| 8 |
+
|
| 9 |
+
_3to1 = {
|
| 10 |
+
'ALA': 'A',
|
| 11 |
+
'CYS': 'C',
|
| 12 |
+
'ASP': 'D',
|
| 13 |
+
'GLU': 'E',
|
| 14 |
+
'PHE': 'F',
|
| 15 |
+
'GLY': 'G',
|
| 16 |
+
'HIS': 'H',
|
| 17 |
+
'ILE': 'I',
|
| 18 |
+
'LYS': 'K',
|
| 19 |
+
'LEU': 'L',
|
| 20 |
+
'MET': 'M',
|
| 21 |
+
'ASN': 'N',
|
| 22 |
+
'PRO': 'P',
|
| 23 |
+
'GLN': 'Q',
|
| 24 |
+
'ARG': 'R',
|
| 25 |
+
'SER': 'S',
|
| 26 |
+
'THR': 'T',
|
| 27 |
+
'VAL': 'V',
|
| 28 |
+
'TRP': 'W',
|
| 29 |
+
'TYR': 'Y',
|
| 30 |
+
}
|
model/domain_assignment/assigners.py
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import numpy as np
|
| 2 |
+
import torch
|
| 3 |
+
from model.domain_assignment.sparse_lowrank import greedy_V
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
class BaseAssigner:
|
| 7 |
+
|
| 8 |
+
def __call__(self, y_pred, uncertainty=False):
|
| 9 |
+
assert y_pred.ndim == 2
|
| 10 |
+
if torch.is_tensor(y_pred):
|
| 11 |
+
y_pred = y_pred.detach().cpu().numpy()
|
| 12 |
+
return self.assign_domains(y_pred)
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
class SparseLowRank(BaseAssigner):
|
| 16 |
+
|
| 17 |
+
"""Use Brooks' method to generate a matrix of cluster assignments,
|
| 18 |
+
and post-process to remove any excessively small clusters.
|
| 19 |
+
"""
|
| 20 |
+
|
| 21 |
+
def __init__(self, N_iters=3, K_init=4, linker_threshold=5, cost_type="mse"):
|
| 22 |
+
self.N_iters = N_iters
|
| 23 |
+
self.K_init = K_init
|
| 24 |
+
self.linker_threshold = linker_threshold
|
| 25 |
+
self.cost_type = cost_type
|
| 26 |
+
|
| 27 |
+
def get_entropy(self, y_pred):
|
| 28 |
+
"""calculate the entropy of the upper triangle of the matrix
|
| 29 |
+
used for uncertainty calculation but does not correlate with NDO as well
|
| 30 |
+
as likelihood of assignment under y_pred
|
| 31 |
+
"""
|
| 32 |
+
return np.triu(-1 * y_pred * np.log(y_pred) - (1 - y_pred) * np.log(1 - y_pred), 1).sum()
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
def assign_domains(self, y_pred):
|
| 36 |
+
# N x K, columns are then indicator vectors
|
| 37 |
+
epsilon = 1e-6
|
| 38 |
+
y_pred = np.clip(y_pred, epsilon, 1-epsilon)
|
| 39 |
+
V, loss = greedy_V(y_pred, N_iters=self.N_iters, K_init=self.K_init, cost_type=self.cost_type)
|
| 40 |
+
K = V.shape[-1]
|
| 41 |
+
A = V@V.T
|
| 42 |
+
average_likelihood = np.exp((A * np.log(y_pred) + (1-(A))*np.log(1-y_pred)).mean())
|
| 43 |
+
# throw away small clusters
|
| 44 |
+
V = np.where(
|
| 45 |
+
V.sum(0, keepdims=True) < self.linker_threshold, # 1, K
|
| 46 |
+
np.zeros_like(V),
|
| 47 |
+
V,
|
| 48 |
+
)
|
| 49 |
+
|
| 50 |
+
assignments = {
|
| 51 |
+
"linker": np.argwhere((V == 0).sum(-1) == K).reshape(-1)
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
domain_ix = 1
|
| 55 |
+
for col_ix in range(K):
|
| 56 |
+
cluster_inds = np.argwhere(V[:, col_ix] == 1).reshape(-1)
|
| 57 |
+
if cluster_inds.size > 0:
|
| 58 |
+
assignments[f"domain_{domain_ix}"] = cluster_inds
|
| 59 |
+
domain_ix += 1
|
| 60 |
+
return assignments, round(average_likelihood, 4)
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
class SpectralClustering(BaseAssigner):
|
| 64 |
+
"""Challenge is how to determine n_clusters.
|
| 65 |
+
|
| 66 |
+
We can look at eigengaps
|
| 67 |
+
Or use MSE, running clustering multiple times.
|
| 68 |
+
Or use Brooks' method and then refine with SC.
|
| 69 |
+
"""
|
| 70 |
+
|
| 71 |
+
def __init__(self, n_cluster_method="mse", max_domains=10):
|
| 72 |
+
self.n_cluster_method = n_cluster_method
|
| 73 |
+
self.max_domains = max_domains # TODO - make this flexible or length dependent.
|
| 74 |
+
|
| 75 |
+
def assign_domains(self, y_pred):
|
| 76 |
+
raise NotImplementedError()
|
model/domain_assignment/sparse_lowrank.py
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import numpy as np
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
def mse_loss_at_residue(V_hat, Y, residue_index):
|
| 5 |
+
# loss contribution of residue given current assignment
|
| 6 |
+
# assumes Y is symmetric
|
| 7 |
+
d = residue_index
|
| 8 |
+
# avoid double-counting the diagonal
|
| 9 |
+
return 2*((V_hat[d]@V_hat.T - Y[d])**2).sum() - (V_hat[d]@V_hat[d] - Y[d,d])**2
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
def null_mse_loss_at_residue(Y, residue_index):
|
| 13 |
+
# loss contribution of residue when unassigned
|
| 14 |
+
d = residue_index
|
| 15 |
+
return 2*(Y[d]**2).sum() - Y[d,d]**2
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
def mse_loss(V_hat, Y):
|
| 19 |
+
# only use to compute initial loss
|
| 20 |
+
return ((V_hat@V_hat.T - Y)**2).sum()
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
def nll_loss(V_hat, Y):
|
| 24 |
+
"""We now interpret ys as probabilities.
|
| 25 |
+
|
| 26 |
+
We want to minimise the negative log probability.
|
| 27 |
+
|
| 28 |
+
NB Y must be symmetric and [0-1]
|
| 29 |
+
"""
|
| 30 |
+
# only use to compute initial loss
|
| 31 |
+
log_pij = (V_hat@V_hat.T) * np.log(Y) + (1-(V_hat@V_hat.T))*np.log(1-Y)
|
| 32 |
+
# simple sum double counts off diagonals but single counts on diagonals, so need
|
| 33 |
+
# to add diagonal again before dividing by 2
|
| 34 |
+
return -0.5*(log_pij.sum() + np.diag(log_pij).sum())
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
def nll_loss_at_residue(V_hat, Y, residue_index):
|
| 38 |
+
# d is residue_index
|
| 39 |
+
d = residue_index # V_hat[d]@V_hat.T is just Adj without instantiating A
|
| 40 |
+
# n.b. whereas in case of mse we double-count off-diagonals, here we don't, hence the difference
|
| 41 |
+
log_pdj = (V_hat[d]@V_hat.T) * np.log(Y[d]) + (1-(V_hat[d]@V_hat.T))*np.log(1-Y[d])
|
| 42 |
+
return -log_pdj.sum()
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
def null_nll_loss_at_residue(Y, residue_index):
|
| 46 |
+
return - np.log(1-Y[residue_index]).sum()
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
def greedy_V(Y, N_iters=3, K_init=4, cost_type="mse"):
|
| 50 |
+
"""
|
| 51 |
+
Learn a binary matrix V, with at most one nonzero entry per row, to minimize
|
| 52 |
+
|
| 53 |
+
|| VV' - Y ||_2
|
| 54 |
+
|
| 55 |
+
This is done by initializing a V of all zeros, and then doing a greedy optimization.
|
| 56 |
+
V is initially D x K_init, where D is the number of residues (i.e., where Y is DxD).
|
| 57 |
+
K is learned automatically; different values of K_init will not change the result but
|
| 58 |
+
might be more or less efficient in terms of memory usage. The code keeps track of the
|
| 59 |
+
current number of nonzero columns of V, and when all the columns are full it adds extra
|
| 60 |
+
columns of zeros at the end.
|
| 61 |
+
|
| 62 |
+
Each iteration sweeps through all residues (i.e. rows of V) once.
|
| 63 |
+
|
| 64 |
+
The implementation relies on additivity of loss to reduce computational cost
|
| 65 |
+
by only computing required increments to the loss at each iteration.
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
INPUTS:
|
| 69 |
+
|
| 70 |
+
Y: matrix of predictions with entries in [0, 1]
|
| 71 |
+
N_iters: number of iterations
|
| 72 |
+
K_init: initial number of columns of V, adjust this for tweaking performance
|
| 73 |
+
"""
|
| 74 |
+
Y = (Y + Y.T) / 2 # required for consistency with model_v1
|
| 75 |
+
V_hat = np.zeros((Y.shape[0], K_init), dtype=np.uint8)
|
| 76 |
+
if cost_type == "mse":
|
| 77 |
+
loss = mse_loss(V_hat, Y) # initial loss for the zero matrix V_hat = 0
|
| 78 |
+
elif cost_type == "nll":
|
| 79 |
+
loss = nll_loss(V_hat, Y)
|
| 80 |
+
else:
|
| 81 |
+
raise ValueError(cost_type)
|
| 82 |
+
K_max = K_init # track number of columns in K_max
|
| 83 |
+
|
| 84 |
+
for it in range(N_iters):
|
| 85 |
+
for d in range(V_hat.shape[0]):
|
| 86 |
+
# d is a residue index
|
| 87 |
+
# compute the loss, excluding contribution of this residue
|
| 88 |
+
# TODO check minus signs are consistent
|
| 89 |
+
loss_minus_d = loss - mse_loss_at_residue(V_hat, Y, d)
|
| 90 |
+
|
| 91 |
+
# sweep through all K+1 options and compute what the contribution to the loss would be
|
| 92 |
+
V_hat[d] *= 0
|
| 93 |
+
|
| 94 |
+
# loss with no assignment
|
| 95 |
+
L0 = loss_minus_d + null_mse_loss_at_residue(Y, d)
|
| 96 |
+
L_opt = np.zeros(K_max)
|
| 97 |
+
for k in range(K_max):
|
| 98 |
+
# note this could be vectorized with a bit of work
|
| 99 |
+
V_hat[d,k] = 1
|
| 100 |
+
L_opt[k] = loss_minus_d + mse_loss_at_residue(V_hat, Y, d)
|
| 101 |
+
V_hat[d,k] = 0
|
| 102 |
+
|
| 103 |
+
# select the option which minimizes the squared error
|
| 104 |
+
z = np.argmin(L_opt)
|
| 105 |
+
if L_opt[z] < L0:
|
| 106 |
+
V_hat[d,z] = 1
|
| 107 |
+
|
| 108 |
+
# update loss
|
| 109 |
+
loss = loss_minus_d + mse_loss_at_residue(V_hat, Y, d)
|
| 110 |
+
|
| 111 |
+
if z == K_max-1:
|
| 112 |
+
# Expand V_hat to make room for extra potential clusters (no nonzero columns remain)
|
| 113 |
+
# TODO: note that if a cluster is "removed" on a later iteration we will miss this.
|
| 114 |
+
# probably doesn't matter, just means it is occasionally possible that the V
|
| 115 |
+
# that is returned could sometimes have a few nonzero columns.
|
| 116 |
+
V_hat = np.concatenate((V_hat, np.zeros_like(V_hat)), -1)
|
| 117 |
+
K_max = V_hat.shape[1]
|
| 118 |
+
|
| 119 |
+
# drop columns that are zeros (i.e. unused clusters) before returning
|
| 120 |
+
empty = V_hat.sum(0) == 0
|
| 121 |
+
return V_hat[:,~empty], loss
|
model/domain_assignment/util.py
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Utilties for converting to/from a dictionary representation of domain assignments.
|
| 3 |
+
"""
|
| 4 |
+
|
| 5 |
+
import logging
|
| 6 |
+
import os
|
| 7 |
+
from itertools import product
|
| 8 |
+
|
| 9 |
+
import numpy as np
|
| 10 |
+
|
| 11 |
+
import warnings
|
| 12 |
+
from Bio.PDB.PDBExceptions import PDBConstructionWarning
|
| 13 |
+
warnings.simplefilter('ignore', PDBConstructionWarning)
|
| 14 |
+
|
| 15 |
+
LOG = logging.getLogger(__name__)
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
def make_pair_labels(n_res, domain_dict, id_string=None, save_dir=None, non_aligned_residues=[]):
|
| 19 |
+
"""n_res: number of residues in the non-trimmed sequence
|
| 20 |
+
|
| 21 |
+
non_aligned_residues: these will be used to trim down from n_res
|
| 22 |
+
|
| 23 |
+
domain_dict: eg. {'D1': [0,1,2,3], 'D2': [4,5,6]}
|
| 24 |
+
"""
|
| 25 |
+
pair_labels = np.zeros([n_res, n_res])
|
| 26 |
+
for domain, res_ix in domain_dict.items():
|
| 27 |
+
if domain == 'linker':
|
| 28 |
+
continue
|
| 29 |
+
coords_tuples = list(product(res_ix, res_ix))
|
| 30 |
+
x_ix = [i[0] for i in coords_tuples]
|
| 31 |
+
y_ix = [i[1] for i in coords_tuples]
|
| 32 |
+
pair_labels[x_ix, y_ix] = 1
|
| 33 |
+
if len(non_aligned_residues):
|
| 34 |
+
aligned_residues = [i for i in range(n_res) if i not in non_aligned_residues]
|
| 35 |
+
pair_labels = pair_labels[aligned_residues,:][:,aligned_residues]
|
| 36 |
+
if save_dir is not None:
|
| 37 |
+
save_path = os.path.join(save_dir, id_string)
|
| 38 |
+
np.savez_compressed(save_path, pair_labels)
|
| 39 |
+
|
| 40 |
+
return pair_labels
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
def sort_domain_limits(limits, dom_names):
|
| 44 |
+
start_positions = [x[0] for x in limits]
|
| 45 |
+
end_positions = [x[1] for x in limits]
|
| 46 |
+
sorted_index = np.argsort(start_positions)
|
| 47 |
+
assert (sorted_index == np.argsort(end_positions)).all()
|
| 48 |
+
return np.array(limits)[sorted_index], list(np.array(dom_names)[sorted_index])
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
def resolve_residue_in_multiple_domain(mapping, shared_res):
|
| 52 |
+
"""
|
| 53 |
+
This is a stupid slow recursive solution: but I think it only applies to one
|
| 54 |
+
case so going to leave it for now
|
| 55 |
+
"""
|
| 56 |
+
for one_shared in shared_res:
|
| 57 |
+
for domain, res in mapping.items():
|
| 58 |
+
if one_shared in res:
|
| 59 |
+
mapping[domain].remove(one_shared)
|
| 60 |
+
return check_no_residue_in_multiple_domains(mapping)
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
def check_no_residue_in_multiple_domains(mapping, resolve_conflics=True):
|
| 64 |
+
# ensures no residue index is associated with more than one domain
|
| 65 |
+
for dom, res in mapping.items():
|
| 66 |
+
for dom2, res2 in mapping.items():
|
| 67 |
+
if dom == dom2:
|
| 68 |
+
continue
|
| 69 |
+
shared_res = set(res).intersection(set(res2))
|
| 70 |
+
if len(shared_res):
|
| 71 |
+
print(f'Found {len(shared_res)} shared residues')
|
| 72 |
+
if resolve_conflics:
|
| 73 |
+
mapping = resolve_residue_in_multiple_domain(mapping, shared_res)
|
| 74 |
+
else:
|
| 75 |
+
raise ValueError("SAME RESIDUE NUMBER FOUND IN MULTIPLE DOMAINS")
|
| 76 |
+
return mapping
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
def make_domain_mapping_dict(row):
|
| 80 |
+
dom_limit_list = row.dom_bounds_pdb_ix.split('|')
|
| 81 |
+
dom_names = row.dom_names.split('|')
|
| 82 |
+
dom_limit_list = convert_limits_to_numbers(dom_limit_list)
|
| 83 |
+
dom_limit_array, dom_names = sort_domain_limits(dom_limit_list, dom_names)
|
| 84 |
+
mapping = {}
|
| 85 |
+
|
| 86 |
+
for i, d_lims in enumerate(dom_limit_array):
|
| 87 |
+
dom_name = dom_names[i]
|
| 88 |
+
pdb_start, pdb_end = d_lims
|
| 89 |
+
if dom_name not in mapping:
|
| 90 |
+
mapping[dom_name] = []
|
| 91 |
+
mapping[dom_name] += list(range(pdb_start, pdb_end))
|
| 92 |
+
check_no_residue_in_multiple_domains(mapping)
|
| 93 |
+
return mapping
|
| 94 |
+
|
| 95 |
+
|
| 96 |
+
def convert_limits_to_numbers(dom_limit_list):
|
| 97 |
+
processed_dom_limit_list = []
|
| 98 |
+
for lim in dom_limit_list:
|
| 99 |
+
dash_idx = [i for i, char in enumerate(lim) if char == '-']
|
| 100 |
+
if len(dash_idx) == 1:
|
| 101 |
+
start_index = int(lim.split('-')[0]) -1
|
| 102 |
+
end_index = int(lim.split('-')[1])
|
| 103 |
+
else:
|
| 104 |
+
raise ValueError('Invalid format for domain limits', str(dom_limit_list))
|
| 105 |
+
processed_dom_limit_list.append((start_index, end_index))
|
| 106 |
+
return processed_dom_limit_list
|
| 107 |
+
|
| 108 |
+
|
| 109 |
+
def convert_domain_dict_strings(domain_dict):
|
| 110 |
+
"""
|
| 111 |
+
Converts the domain dictionary into domain_name string and domain_bounds string
|
| 112 |
+
eg. domain names D1|D2|D1
|
| 113 |
+
eg. domain bounds 0-100|100-200|200-300
|
| 114 |
+
"""
|
| 115 |
+
domain_names = []
|
| 116 |
+
domain_bounds = []
|
| 117 |
+
for k,v in domain_dict.items():
|
| 118 |
+
if k=='linker':
|
| 119 |
+
continue
|
| 120 |
+
residues = sorted(v)
|
| 121 |
+
for i, res in enumerate(residues):
|
| 122 |
+
if i==0:
|
| 123 |
+
start = res
|
| 124 |
+
elif residues[i-1] != res - 1:
|
| 125 |
+
domain_bounds.append(f'{start}-{residues[i-1]}')
|
| 126 |
+
domain_names.append(k)
|
| 127 |
+
start = res
|
| 128 |
+
if i == len(residues)-1:
|
| 129 |
+
domain_bounds.append(f'{start}-{res}')
|
| 130 |
+
domain_names.append(k)
|
| 131 |
+
|
| 132 |
+
return '|'.join(domain_names), '|'.join(domain_bounds)
|
model/domain_chop.py
ADDED
|
@@ -0,0 +1,340 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Domain predictor classes.
|
| 2 |
+
"""
|
| 3 |
+
import os
|
| 4 |
+
import glob
|
| 5 |
+
import numpy as np
|
| 6 |
+
import pandas as pd
|
| 7 |
+
import torch
|
| 8 |
+
from torch import nn
|
| 9 |
+
from model.domain_assignment.util import make_pair_labels, make_domain_mapping_dict
|
| 10 |
+
|
| 11 |
+
import logging
|
| 12 |
+
LOG = logging.getLogger(__name__)
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
def get_checkpoint_epoch(checkpoint_file):
|
| 16 |
+
return int(os.path.splitext(checkpoint_file)[0].split(".")[-1])
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
class PairwiseDomainPredictor(nn.Module):
|
| 20 |
+
|
| 21 |
+
"""Wrapper for a pairwise domain co-membership predictor, adding in domain prediction post-processing."""
|
| 22 |
+
|
| 23 |
+
def __init__(
|
| 24 |
+
self,
|
| 25 |
+
model,
|
| 26 |
+
domain_caller,
|
| 27 |
+
device,
|
| 28 |
+
loss="bce",
|
| 29 |
+
x_has_padding_mask=True,
|
| 30 |
+
mask_padding=True,
|
| 31 |
+
n_checkpoints_to_average=1,
|
| 32 |
+
checkpoint_dir=None,
|
| 33 |
+
load_checkpoint_if_exists=False,
|
| 34 |
+
save_val_best=True,
|
| 35 |
+
max_recycles=0,
|
| 36 |
+
post_process_domains=True,
|
| 37 |
+
min_ss_components=2,
|
| 38 |
+
min_domain_length=30,
|
| 39 |
+
remove_disordered_domain_threshold=0,
|
| 40 |
+
trim_each_domain=True,
|
| 41 |
+
dist_transform_type="min_replace_inverse",
|
| 42 |
+
distance_denominator=10,
|
| 43 |
+
):
|
| 44 |
+
super().__init__()
|
| 45 |
+
self._train_model = model # we want to keep this hanging around so that optimizer references dont break
|
| 46 |
+
self.model = self._train_model
|
| 47 |
+
self.domain_caller = domain_caller
|
| 48 |
+
self.device = device
|
| 49 |
+
self.x_has_padding_mask = x_has_padding_mask
|
| 50 |
+
self.mask_padding = mask_padding # if True use padding mask to mask loss
|
| 51 |
+
self.n_checkpoints_to_average = n_checkpoints_to_average
|
| 52 |
+
self.checkpoint_dir = checkpoint_dir
|
| 53 |
+
self._epoch = 0
|
| 54 |
+
self.save_val_best = save_val_best
|
| 55 |
+
self.best_val_metrics = {}
|
| 56 |
+
self.max_recycles = max_recycles
|
| 57 |
+
self.post_process_domains = post_process_domains
|
| 58 |
+
self.remove_disordered_domain_threshold = remove_disordered_domain_threshold
|
| 59 |
+
self.trim_each_domain = trim_each_domain
|
| 60 |
+
self.min_domain_length = min_domain_length
|
| 61 |
+
self.min_ss_components = min_ss_components
|
| 62 |
+
self.dist_transform_type = dist_transform_type
|
| 63 |
+
self.distance_denominator = distance_denominator
|
| 64 |
+
if load_checkpoint_if_exists:
|
| 65 |
+
checkpoint_files = sorted(
|
| 66 |
+
glob.glob(os.path.join(self.checkpoint_dir, "weights*")),
|
| 67 |
+
key=get_checkpoint_epoch,
|
| 68 |
+
reverse=True,
|
| 69 |
+
)
|
| 70 |
+
if len(checkpoint_files) > 0:
|
| 71 |
+
self._epoch = get_checkpoint_epoch(checkpoint_files[0])
|
| 72 |
+
LOG.info(f"Loading saved checkpoint(s) ending at epoch {self._epoch}")
|
| 73 |
+
self.load_checkpoints(average=True)
|
| 74 |
+
self.load_checkpoints()
|
| 75 |
+
else:
|
| 76 |
+
LOG.info("No checkpoints found to load")
|
| 77 |
+
|
| 78 |
+
if loss == "bce":
|
| 79 |
+
self.loss_function = nn.BCELoss(reduction="none")
|
| 80 |
+
elif loss == "mse":
|
| 81 |
+
self.loss_function = nn.MSELoss(reduction="none")
|
| 82 |
+
|
| 83 |
+
def load_checkpoints(self, average=False, old_style=False):
|
| 84 |
+
if self.n_checkpoints_to_average == 1:
|
| 85 |
+
weights_file = os.path.join(self.checkpoint_dir, "weights.pt")
|
| 86 |
+
else:
|
| 87 |
+
# for e.g. resetting training weights for next training epoch after testing with avg
|
| 88 |
+
LOG.info(f"Loading last checkpoint (epoch {self._epoch})")
|
| 89 |
+
weights_file = os.path.join(self.checkpoint_dir, f"weights.{self._epoch}.pt")
|
| 90 |
+
LOG.info(f"Loading weights from: {weights_file}")
|
| 91 |
+
state_dict = torch.load(weights_file, map_location=self.device)
|
| 92 |
+
if old_style:
|
| 93 |
+
self.load_state_dict(state_dict, strict=False)
|
| 94 |
+
else:
|
| 95 |
+
self.model.load_state_dict(state_dict)
|
| 96 |
+
|
| 97 |
+
def predict_pairwise(self, x):
|
| 98 |
+
x = x.to(self.device)
|
| 99 |
+
if np.isnan(x.cpu().numpy()).any():
|
| 100 |
+
raise Exception('NAN values in data')
|
| 101 |
+
y_pred = self.model(x).squeeze(1) # b, L, L
|
| 102 |
+
assert y_pred.ndim == 3
|
| 103 |
+
return y_pred
|
| 104 |
+
|
| 105 |
+
def get_mask(self, x):
|
| 106 |
+
"""Binary mask 1 for observed, 0 for padding."""
|
| 107 |
+
x = x.to(self.device)
|
| 108 |
+
if self.x_has_padding_mask:
|
| 109 |
+
mask = 1 - x[:, -1] # b, L, L
|
| 110 |
+
else:
|
| 111 |
+
mask = None
|
| 112 |
+
return mask
|
| 113 |
+
|
| 114 |
+
def epoch_start(self):
|
| 115 |
+
self.model = self._train_model
|
| 116 |
+
self.model.train()
|
| 117 |
+
self._epoch += 1
|
| 118 |
+
|
| 119 |
+
def test_begin(self):
|
| 120 |
+
if self.n_checkpoints_to_average > 1:
|
| 121 |
+
torch.save(self.model.state_dict(), os.path.join(self.checkpoint_dir, f'weights.{self._epoch}.pt'))
|
| 122 |
+
start_idx = self._epoch - self.n_checkpoints_to_average
|
| 123 |
+
if start_idx >= 2:
|
| 124 |
+
os.remove(os.path.join(self.checkpoint_dir, f"weights.{start_idx-1}.pt"))
|
| 125 |
+
else:
|
| 126 |
+
torch.save(self.model.state_dict(), os.path.join(self.checkpoint_dir, 'weights.pt'))
|
| 127 |
+
|
| 128 |
+
if self.n_checkpoints_to_average > 1:
|
| 129 |
+
# self.model.to("cpu") # free up gpu memory for average model
|
| 130 |
+
self.load_checkpoints(average=True)
|
| 131 |
+
|
| 132 |
+
self.model.eval()
|
| 133 |
+
|
| 134 |
+
def forward(self, x, y, batch_average=True):
|
| 135 |
+
"""A training step."""
|
| 136 |
+
x, y = x.to(self.device), y.to(self.device)
|
| 137 |
+
y_pred = self.predict_pairwise(x)
|
| 138 |
+
mask = self.get_mask(x)
|
| 139 |
+
return self.compute_loss(y_pred, y, mask=mask)
|
| 140 |
+
|
| 141 |
+
def compute_loss(self, y_pred, y, mask=None, batch_average=True):
|
| 142 |
+
y_pred, y = y_pred.to(self.device), y.to(self.device)
|
| 143 |
+
if mask is None or not self.mask_padding:
|
| 144 |
+
mask = torch.ones_like(y)
|
| 145 |
+
# mask is b, L, L. To normalise correctly, we need to divide by number of observations
|
| 146 |
+
loss = (self.loss_function(y_pred, y)*mask).sum((-1,-2)) / mask.sum((-1,-2))
|
| 147 |
+
|
| 148 |
+
# metrics characterising inputs: how many residues, how many with domain assignments.
|
| 149 |
+
labelled_residues = ((y*mask).sum(-1) > 0).sum(-1) # b
|
| 150 |
+
non_padding_residues = (mask.sum(-1) > 0).sum(-1) # b
|
| 151 |
+
labelled_frac = labelled_residues / non_padding_residues
|
| 152 |
+
metrics = {
|
| 153 |
+
"labelled_residues": labelled_residues.detach().cpu().numpy(),
|
| 154 |
+
"residues": non_padding_residues.detach().cpu().numpy(),
|
| 155 |
+
"labelled_frac": labelled_frac.detach().cpu().numpy(),
|
| 156 |
+
"loss": loss.detach().cpu().numpy(),
|
| 157 |
+
}
|
| 158 |
+
if batch_average:
|
| 159 |
+
loss = loss.mean(0)
|
| 160 |
+
metrics = {k: np.mean(v) for k, v in metrics.items()}
|
| 161 |
+
|
| 162 |
+
return loss, metrics
|
| 163 |
+
|
| 164 |
+
def domains_from_pairwise(self, y_pred):
|
| 165 |
+
assert y_pred.ndim == 3
|
| 166 |
+
domain_preds = []
|
| 167 |
+
confidence_list = []
|
| 168 |
+
for pred_single in y_pred.cpu().numpy():
|
| 169 |
+
single_domains, confidence = self.domain_caller(pred_single)
|
| 170 |
+
domain_preds.append(single_domains)
|
| 171 |
+
confidence_list.append(confidence)
|
| 172 |
+
return domain_preds, confidence_list
|
| 173 |
+
|
| 174 |
+
def distance_transform(self, x):
|
| 175 |
+
dist_chan = x[0, 0]
|
| 176 |
+
# Find the minimum non-zero value in the channel
|
| 177 |
+
min_nonzero = dist_chan[dist_chan > 0].min()
|
| 178 |
+
# Replace zero values in the channel with the minimum non-zero value
|
| 179 |
+
dist_chan[dist_chan == 0] = min_nonzero
|
| 180 |
+
if self.dist_transform_type == "min_replace_inverse":
|
| 181 |
+
# replace zero values and then invert.
|
| 182 |
+
dist_chan = dist_chan ** (-1)
|
| 183 |
+
x[0, 0] = dist_chan
|
| 184 |
+
return x
|
| 185 |
+
|
| 186 |
+
elif self.dist_transform_type == "unidoc_exponent": # replace zero values in pae / distance
|
| 187 |
+
spread = self.distance_denominator
|
| 188 |
+
dist_chan = (1 + np.exp((dist_chan - 8) / spread)) ** -1
|
| 189 |
+
x[0,0] = dist_chan
|
| 190 |
+
return x
|
| 191 |
+
|
| 192 |
+
@torch.no_grad()
|
| 193 |
+
def predict(self, x, return_pairwise=True):
|
| 194 |
+
x = self.distance_transform(x)
|
| 195 |
+
if self.max_recycles > 0:
|
| 196 |
+
for i in range(self.max_recycles):
|
| 197 |
+
# add recycling channels
|
| 198 |
+
n_res = x.shape[-1]
|
| 199 |
+
recycle_channels = torch.zeros(1, 2, n_res, n_res)
|
| 200 |
+
# Concatenate the original tensor and the zeros tensor along the second dimension
|
| 201 |
+
x = torch.cat((x, recycle_channels), dim=1)
|
| 202 |
+
x = self.recycle_predict(x)
|
| 203 |
+
y_pred = self.predict_pairwise(x)
|
| 204 |
+
domain_dicts, confidence = self.domains_from_pairwise(y_pred)
|
| 205 |
+
if self.post_process_domains:
|
| 206 |
+
domain_dicts = self.post_process(domain_dicts, x) # todo move this to domains from pairwise function
|
| 207 |
+
if return_pairwise:
|
| 208 |
+
return y_pred, domain_dicts, confidence
|
| 209 |
+
else:
|
| 210 |
+
return domain_dicts, confidence
|
| 211 |
+
|
| 212 |
+
@torch.no_grad()
|
| 213 |
+
def recycle_predict(self, x):
|
| 214 |
+
x = x.to(self.device)
|
| 215 |
+
y_pred = self.predict_pairwise(x)
|
| 216 |
+
domain_dicts, confidence = self.domains_from_pairwise(y_pred)
|
| 217 |
+
y_pred_from_domains = np.array(
|
| 218 |
+
[make_pair_labels(n_res=x.shape[-1], domain_dict=d_dict) for d_dict in domain_dicts])
|
| 219 |
+
y_pred_from_domains = torch.tensor(y_pred_from_domains).to(self.device)
|
| 220 |
+
if self.x_has_padding_mask:
|
| 221 |
+
x[:, -2, :, :] = y_pred # assumes that last dimension is padding mask
|
| 222 |
+
x[:, -3, :, :] = y_pred_from_domains
|
| 223 |
+
else:
|
| 224 |
+
x[:, -1, :, :] = y_pred
|
| 225 |
+
x[:, -2, :, :] = y_pred_from_domains
|
| 226 |
+
return x
|
| 227 |
+
|
| 228 |
+
|
| 229 |
+
def post_process(self, domain_dicts, x_batch):
|
| 230 |
+
new_domain_dicts = []
|
| 231 |
+
for domain_dict, x in zip(domain_dicts, x_batch):
|
| 232 |
+
x = x.cpu().numpy()
|
| 233 |
+
domain_dict = {k: list(v) for k, v in domain_dict.items()}
|
| 234 |
+
helix, sheet = x[1], x[2]
|
| 235 |
+
diag_helix = np.diagonal(helix)
|
| 236 |
+
diag_sheet = np.diagonal(sheet)
|
| 237 |
+
ss_residues = list(np.where(diag_helix > 0)[0]) + list(np.where(diag_sheet > 0)[0])
|
| 238 |
+
|
| 239 |
+
domain_dict = self.trim_disordered_boundaries(domain_dict, ss_residues)
|
| 240 |
+
|
| 241 |
+
if self.remove_disordered_domain_threshold > 0:
|
| 242 |
+
domain_dict = self.remove_disordered_domains(domain_dict, ss_residues)
|
| 243 |
+
|
| 244 |
+
if self.min_ss_components > 0:
|
| 245 |
+
domain_dict = self.remove_domains_with_few_ss_components(domain_dict, x)
|
| 246 |
+
|
| 247 |
+
if self.min_domain_length > 0:
|
| 248 |
+
domain_dict = self.remove_domains_with_short_length(domain_dict)
|
| 249 |
+
new_domain_dicts.append(domain_dict)
|
| 250 |
+
return new_domain_dicts
|
| 251 |
+
|
| 252 |
+
def trim_disordered_boundaries(self, domain_dict, ss_residues):
|
| 253 |
+
if not self.trim_each_domain:
|
| 254 |
+
start = min(ss_residues)
|
| 255 |
+
end = max(ss_residues)
|
| 256 |
+
for dname, res in domain_dict.items():
|
| 257 |
+
if dname == "linker":
|
| 258 |
+
continue
|
| 259 |
+
if self.trim_each_domain:
|
| 260 |
+
domain_specific_ss = set(ss_residues).intersection(set(res))
|
| 261 |
+
if len(domain_specific_ss) == 0:
|
| 262 |
+
continue
|
| 263 |
+
start = min(domain_specific_ss)
|
| 264 |
+
end = max(domain_specific_ss)
|
| 265 |
+
domain_dict["linker"] += [r for r in res if r < start or r > end]
|
| 266 |
+
domain_dict[dname] = [r for r in res if r >= start and r <= end]
|
| 267 |
+
return domain_dict
|
| 268 |
+
|
| 269 |
+
def remove_disordered_domains(self, domain_dict, ss_residues):
|
| 270 |
+
new_domain_dict = {}
|
| 271 |
+
for dname, res in domain_dict.items():
|
| 272 |
+
if dname == "linker":
|
| 273 |
+
continue
|
| 274 |
+
if len(res) == 0:
|
| 275 |
+
continue
|
| 276 |
+
if len(set(res).intersection(set(ss_residues))) / len(res) < self.remove_disordered_domain_threshold:
|
| 277 |
+
domain_dict["linker"] += res
|
| 278 |
+
else:
|
| 279 |
+
new_domain_dict[dname] = res
|
| 280 |
+
new_domain_dict["linker"] = domain_dict["linker"]
|
| 281 |
+
return new_domain_dict
|
| 282 |
+
|
| 283 |
+
|
| 284 |
+
def remove_domains_with_few_ss_components(self, domain_dict, x):
|
| 285 |
+
"""
|
| 286 |
+
Remove domains where number of ss components is less than minimum
|
| 287 |
+
eg if self.min_ss_components=2 domains made of only a single helix or sheet are removed
|
| 288 |
+
achieve this by counting the number of unique string hashes in domain rows of x
|
| 289 |
+
"""
|
| 290 |
+
new_domain_dict = {}
|
| 291 |
+
for dname, res in domain_dict.items():
|
| 292 |
+
if dname == "linker":
|
| 293 |
+
continue
|
| 294 |
+
res = sorted(res)
|
| 295 |
+
helix = x[1][res, :][:, res]
|
| 296 |
+
strand = x[2][res, :][:, res]
|
| 297 |
+
helix = helix[np.any(helix, axis=1)]
|
| 298 |
+
strand = strand[np.any(strand, axis=1)]
|
| 299 |
+
# residues in the same secondary structure component have the same representation in the helix or strand matrix
|
| 300 |
+
n_helix = len(set(["".join([str(int(i)) for i in row]) for row in helix]))
|
| 301 |
+
n_sheet = len(set(["".join([str(int(i)) for i in row]) for row in strand]))
|
| 302 |
+
if len(res) == 0:
|
| 303 |
+
continue
|
| 304 |
+
if n_helix + n_sheet < self.min_ss_components:
|
| 305 |
+
domain_dict["linker"] += res
|
| 306 |
+
else:
|
| 307 |
+
new_domain_dict[dname] = res
|
| 308 |
+
new_domain_dict["linker"] = domain_dict["linker"]
|
| 309 |
+
return new_domain_dict
|
| 310 |
+
|
| 311 |
+
def remove_domains_with_short_length(self, domain_dict):
|
| 312 |
+
"""
|
| 313 |
+
Remove domains where length is less than minimum
|
| 314 |
+
"""
|
| 315 |
+
new_domain_dict = {}
|
| 316 |
+
for dname, res in domain_dict.items():
|
| 317 |
+
if dname == "linker":
|
| 318 |
+
continue
|
| 319 |
+
|
| 320 |
+
|
| 321 |
+
if len(res) < self.min_domain_length:
|
| 322 |
+
domain_dict["linker"] += res
|
| 323 |
+
else:
|
| 324 |
+
new_domain_dict[dname] = res
|
| 325 |
+
new_domain_dict["linker"] = domain_dict["linker"]
|
| 326 |
+
return new_domain_dict
|
| 327 |
+
|
| 328 |
+
|
| 329 |
+
class CSVDomainPredictor:
|
| 330 |
+
def __init__(self, csv_predictions):
|
| 331 |
+
self.csv_filepath = csv_predictions
|
| 332 |
+
self.predictions = pd.read_csv(csv_predictions)
|
| 333 |
+
|
| 334 |
+
def predict(self, x):
|
| 335 |
+
# x should be a chain_id
|
| 336 |
+
one_pred = self.predictions[self.predictions.chain_id == x[0][:5]]
|
| 337 |
+
if len(one_pred) == 0:
|
| 338 |
+
return None
|
| 339 |
+
domain_dicts = [make_domain_mapping_dict(one_pred.iloc[0])]
|
| 340 |
+
return None, domain_dicts
|
model/errors.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class BaseError(Exception):
|
| 2 |
+
"""
|
| 3 |
+
Error class for all local exceptions in this code base
|
| 4 |
+
"""
|
| 5 |
+
pass
|
| 6 |
+
|
| 7 |
+
class PredictionResultExistsError(BaseError):
|
| 8 |
+
pass
|
| 9 |
+
|
| 10 |
+
class FileExistsError(BaseError):
|
| 11 |
+
pass
|
model/factories.py
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""There are three configurable things: predictors/models, data, training/evaluation.
|
| 2 |
+
|
| 3 |
+
Only first two require factories.
|
| 4 |
+
"""
|
| 5 |
+
import os
|
| 6 |
+
|
| 7 |
+
import pandas as pd
|
| 8 |
+
|
| 9 |
+
import logging
|
| 10 |
+
|
| 11 |
+
from model.domain_chop import PairwiseDomainPredictor
|
| 12 |
+
from model.models.rosetta import trRosettaNetwork
|
| 13 |
+
from model.domain_assignment.assigners import SparseLowRank
|
| 14 |
+
from model.utils import common as common_utils
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
LOG = logging.getLogger(__name__)
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
def get_assigner(config):
|
| 21 |
+
assigner_type = config["type"]
|
| 22 |
+
if assigner_type == "sparse_lowrank":
|
| 23 |
+
assigner = SparseLowRank(**config["kwargs"])
|
| 24 |
+
else:
|
| 25 |
+
return ValueError()
|
| 26 |
+
return assigner
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
def get_model(config):
|
| 30 |
+
model_type = config["type"]
|
| 31 |
+
if model_type == "trrosetta":
|
| 32 |
+
model = trRosettaNetwork(**config["kwargs"])
|
| 33 |
+
else:
|
| 34 |
+
return ValueError()
|
| 35 |
+
return model
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
def pairwise_predictor(
|
| 39 |
+
learner_config,
|
| 40 |
+
force_cpu=False,
|
| 41 |
+
output_dir=None,
|
| 42 |
+
use_mps_if_available=False,
|
| 43 |
+
):
|
| 44 |
+
model = get_model(learner_config["model"])
|
| 45 |
+
assigner = get_assigner(learner_config["assignment"])
|
| 46 |
+
device = common_utils.get_torch_device(
|
| 47 |
+
force_cpu=force_cpu,
|
| 48 |
+
use_mps_if_available=use_mps_if_available,
|
| 49 |
+
)
|
| 50 |
+
model.to(device)
|
| 51 |
+
kwargs = {k: v for k, v in learner_config.items() if k not in ["model",
|
| 52 |
+
"assignment",
|
| 53 |
+
"save_every_epoch",
|
| 54 |
+
"uncertainty_model"
|
| 55 |
+
]}
|
| 56 |
+
LOG.info(f"Learner kwargs: {kwargs}")
|
| 57 |
+
return PairwiseDomainPredictor(model, assigner, device, checkpoint_dir=output_dir, **kwargs)
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
def get_test_ids(label_path, feature_path, csv_path=None):
|
| 61 |
+
ids = [id.split('.')[0] for id in set(os.listdir(label_path)).intersection(set(os.listdir(feature_path)))]
|
| 62 |
+
if csv_path is not None:
|
| 63 |
+
df = pd.read_csv(csv_path)
|
| 64 |
+
ids = sorted(list(set(ids).intersection(set(df.chain_id))))
|
| 65 |
+
return ids
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
def filter_plddt(df_path, ids, threshold=90):
|
| 69 |
+
df = pd.read_csv(df_path)
|
| 70 |
+
df = df[df.plddt > threshold]
|
| 71 |
+
ids = [i for i in ids if i in df.casp_id.values]
|
| 72 |
+
return ids
|
model/featurisers.py
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
| 9 |
+
|
| 10 |
+
from model import constants
|
| 11 |
+
from model.constants import _3to1
|
| 12 |
+
from model.utils.cif2pdb import cif2pdb
|
| 13 |
+
from model.utils.secondary_structure import renum_pdb_file, \
|
| 14 |
+
calculate_ss, make_ss_matrix
|
| 15 |
+
|
| 16 |
+
LOG = logging.getLogger(__name__)
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
def get_model_structure(structure_path) -> Bio.PDB.Structure:
|
| 20 |
+
"""
|
| 21 |
+
Returns the Bio.PDB.Structure object for a given PDB or MMCIF file
|
| 22 |
+
"""
|
| 23 |
+
structure_id = os.path.split(structure_path)[-1].split('.')[0]
|
| 24 |
+
if structure_path.endswith('.pdb'):
|
| 25 |
+
structure = Bio.PDB.PDBParser().get_structure(structure_id, structure_path)
|
| 26 |
+
elif structure_path.endswith('.cif'):
|
| 27 |
+
structure = Bio.PDB.MMCIFParser().get_structure(structure_id, structure_path)
|
| 28 |
+
else:
|
| 29 |
+
raise ValueError(f'Unrecognized file extension: {structure_path}')
|
| 30 |
+
model = structure[0]
|
| 31 |
+
return model
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
class Residue:
|
| 35 |
+
def __init__(self, index: int, res_label: str, aa: str):
|
| 36 |
+
self.index = int(index)
|
| 37 |
+
self.res_label = str(res_label)
|
| 38 |
+
self.aa = str(aa)
|
| 39 |
+
|
| 40 |
+
def get_model_structure_residues(structure_model: Bio.PDB.Structure, chain='A') -> List[Residue]:
|
| 41 |
+
"""
|
| 42 |
+
Returns a list of residues from a given PDB or MMCIF structure
|
| 43 |
+
"""
|
| 44 |
+
residues = []
|
| 45 |
+
res_index = 1
|
| 46 |
+
for biores in structure_model[chain].child_list:
|
| 47 |
+
res_num = biores.id[1]
|
| 48 |
+
res_ins = biores.id[2]
|
| 49 |
+
res_label = str(res_num)
|
| 50 |
+
if res_ins != ' ':
|
| 51 |
+
res_label += str(res_ins)
|
| 52 |
+
|
| 53 |
+
aa3 = biores.get_resname()
|
| 54 |
+
if aa3 not in _3to1:
|
| 55 |
+
continue
|
| 56 |
+
|
| 57 |
+
aa = _3to1[aa3]
|
| 58 |
+
res = Residue(res_index, res_label, aa)
|
| 59 |
+
residues.append(res)
|
| 60 |
+
|
| 61 |
+
# increment the residue index after we have filtered out non-standard amino acids
|
| 62 |
+
res_index += 1
|
| 63 |
+
|
| 64 |
+
return residues
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
def inference_time_create_features(pdb_path, feature_config, chain="A", *,
|
| 68 |
+
model_structure: Bio.PDB.Structure=None,
|
| 69 |
+
renumber_pdbs=True, stride_path=constants.STRIDE_EXE,
|
| 70 |
+
):
|
| 71 |
+
if pdb_path.endswith(".cif"):
|
| 72 |
+
pdb_path = cif2pdb(pdb_path)
|
| 73 |
+
|
| 74 |
+
if not model_structure:
|
| 75 |
+
model_structure = get_model_structure(pdb_path)
|
| 76 |
+
|
| 77 |
+
dist_matrix = get_distance(model_structure, chain=chain)
|
| 78 |
+
if renumber_pdbs:
|
| 79 |
+
output_pdb_path = pdb_path.replace('.pdb', '_renum.pdb').replace('.cif', '_renum.cif')
|
| 80 |
+
renum_pdb_file(pdb_path, output_pdb_path)
|
| 81 |
+
else:
|
| 82 |
+
output_pdb_path = pdb_path
|
| 83 |
+
ss_filepath = pdb_path + '_ss.txt'
|
| 84 |
+
calculate_ss(output_pdb_path, chain, stride_path, ssfile=ss_filepath)
|
| 85 |
+
helix, strand = make_ss_matrix(ss_filepath, nres=dist_matrix.shape[-1])
|
| 86 |
+
if feature_config['ss_bounds']:
|
| 87 |
+
end_res_val = -1 if feature_config['negative_ss_end'] else 1
|
| 88 |
+
helix_boundaries = make_boundary_matrix(helix, end_res_val=end_res_val)
|
| 89 |
+
strand_boundaries = make_boundary_matrix(strand, end_res_val=end_res_val)
|
| 90 |
+
if renumber_pdbs:
|
| 91 |
+
os.remove(output_pdb_path)
|
| 92 |
+
os.remove(ss_filepath)
|
| 93 |
+
LOG.info(f"Distance matrix shape: {dist_matrix.shape}, SS matrix shape: {helix.shape}")
|
| 94 |
+
if feature_config['ss_bounds']:
|
| 95 |
+
if feature_config['same_channel_boundaries_and_ss']:
|
| 96 |
+
helix_boundaries[helix == 1] = 1
|
| 97 |
+
strand_boundaries[strand == 1] = 1
|
| 98 |
+
stacked_features = np.stack((dist_matrix, helix_boundaries, strand_boundaries), axis=0)
|
| 99 |
+
else:
|
| 100 |
+
stacked_features = np.stack((dist_matrix, helix, strand, helix_boundaries, strand_boundaries), axis=0)
|
| 101 |
+
else:
|
| 102 |
+
stacked_features = np.stack((dist_matrix, helix, strand), axis=0)
|
| 103 |
+
stacked_features = stacked_features[None] # add batch dimension
|
| 104 |
+
return torch.Tensor(stacked_features)
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
def distance_matrix(x):
|
| 108 |
+
"""Compute the distance matrix.
|
| 109 |
+
|
| 110 |
+
Returns the matrix of all pair-wise distances.
|
| 111 |
+
|
| 112 |
+
Parameters
|
| 113 |
+
----------
|
| 114 |
+
x : (M, K) array_like
|
| 115 |
+
Matrix of M vectors in K dimensions.
|
| 116 |
+
p : float, 1 <= p <= infinity
|
| 117 |
+
Which Minkowski p-norm to use.
|
| 118 |
+
Returns
|
| 119 |
+
-------
|
| 120 |
+
result : (M, M) ndarray
|
| 121 |
+
Matrix containing the distance from every vector in `x` to every vector
|
| 122 |
+
in `x`.
|
| 123 |
+
"""
|
| 124 |
+
x1 = x[:, np.newaxis, :] # Expand x to 3D for broadcasting, shape (M, 1, K)
|
| 125 |
+
x2 = x[np.newaxis, :, :] # Expand x to 3D for broadcasting, shape (1, M, K)
|
| 126 |
+
|
| 127 |
+
distance_matrix = np.sum(np.abs(x2 - x1) ** 2, axis=-1) ** 0.5
|
| 128 |
+
|
| 129 |
+
return distance_matrix.astype(np.float16)
|
| 130 |
+
|
| 131 |
+
|
| 132 |
+
def get_distance(structure_model: Bio.PDB.Structure, chain='A'):
|
| 133 |
+
alpha_coords = np.array([residue['CA'].get_coord() for residue in \
|
| 134 |
+
structure_model[chain].get_residues() if Bio.PDB.is_aa(residue) and \
|
| 135 |
+
'CA' in residue and residue.get_resname() in _3to1], dtype=np.float16)
|
| 136 |
+
x = distance_matrix(alpha_coords)
|
| 137 |
+
return x
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
def make_boundary_matrix(ss, end_res_val=1):
|
| 141 |
+
"""
|
| 142 |
+
makes a matrix where the boundary residues
|
| 143 |
+
of the sec struct component are 1
|
| 144 |
+
"""
|
| 145 |
+
ss_lines = np.zeros_like(ss)
|
| 146 |
+
diag = np.diag(ss)
|
| 147 |
+
if max(diag) == 0:
|
| 148 |
+
return ss_lines
|
| 149 |
+
padded_diag = np.zeros(len(diag) + 2)
|
| 150 |
+
padded_diag[1:-1] = diag
|
| 151 |
+
diff_before = diag - padded_diag[:-2]
|
| 152 |
+
diff_after = diag - padded_diag[2:]
|
| 153 |
+
start_res = np.where(diff_before == 1)[0]
|
| 154 |
+
end_res = np.where(diff_after == 1)[0]
|
| 155 |
+
ss_lines[start_res, :] = 1
|
| 156 |
+
ss_lines[:, start_res] = 1
|
| 157 |
+
ss_lines[end_res, :] = end_res_val
|
| 158 |
+
ss_lines[:, end_res] = end_res_val
|
| 159 |
+
return ss_lines
|
model/loggers.py
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import glob
|
| 2 |
+
import os
|
| 3 |
+
|
| 4 |
+
import logging
|
| 5 |
+
LOG = logging.getLogger(__name__)
|
| 6 |
+
|
| 7 |
+
def get_versioned_dir(output_dir, version=None, resume=False):
|
| 8 |
+
"""version gets dir for specific version, resume gets dir for last version."""
|
| 9 |
+
if version is None:
|
| 10 |
+
current_versions = glob.glob(os.path.join(output_dir, "version*"))
|
| 11 |
+
if current_versions:
|
| 12 |
+
last_version = max([int(os.path.basename(v).split("_")[1]) for v in current_versions])
|
| 13 |
+
version = last_version if resume else last_version + 1
|
| 14 |
+
else:
|
| 15 |
+
assert not resume, f"Passed resume True but no matching directories in {output_dir}"
|
| 16 |
+
version = 1
|
| 17 |
+
|
| 18 |
+
version_dir = os.path.join(output_dir, f"version_{version}")
|
| 19 |
+
return version_dir, version
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
def log_epoch_metrics(
|
| 23 |
+
epoch,
|
| 24 |
+
metrics,
|
| 25 |
+
output_file,
|
| 26 |
+
extra_keys=None,
|
| 27 |
+
start_epoch=0,
|
| 28 |
+
new_file=False
|
| 29 |
+
):
|
| 30 |
+
"""
|
| 31 |
+
New file gets created if epoch == 1
|
| 32 |
+
|
| 33 |
+
We are going for a hierarchical structure /experiment_group/model_name/train_metrics.csv etc
|
| 34 |
+
because this works best with tensorboard and avoids file clutter in a single
|
| 35 |
+
experiment_group directory
|
| 36 |
+
|
| 37 |
+
tensorboard refs:
|
| 38 |
+
https://pytorch.org/docs/stable/tensorboard.html
|
| 39 |
+
https://pytorch.org/tutorials/recipes/recipes/tensorboard_with_pytorch.html
|
| 40 |
+
"""
|
| 41 |
+
# output_filename = (model_name + f"_{msa_name}" + f"_vae" +
|
| 42 |
+
# ("_posembed{args.pos_embed_dim}" if args.embed_pos else ""))
|
| 43 |
+
|
| 44 |
+
metrics.pop("epoch", None)
|
| 45 |
+
metric_names = list(metrics.keys())
|
| 46 |
+
extra_keys = extra_keys or []
|
| 47 |
+
assert all([m not in metric_names for m in extra_keys]), f"{metric_names} {extra_keys}"
|
| 48 |
+
metric_names += list(extra_keys)
|
| 49 |
+
|
| 50 |
+
if new_file: # c.f. training/core epoch 0 is for validation.
|
| 51 |
+
with open(output_file, "w") as csvf:
|
| 52 |
+
csvf.write(",".join(["epoch"] + metric_names) + "\n")
|
| 53 |
+
|
| 54 |
+
with open(output_file, "a") as csvf:
|
| 55 |
+
csvf.write(",".join([str(epoch + start_epoch)] + [str(metrics.get(m, "")) for m in metric_names])+"\n")
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
class StdOutLogger:
|
| 59 |
+
|
| 60 |
+
def __init__(self, log_freq, start_epoch=0):
|
| 61 |
+
self.start_epoch = start_epoch
|
| 62 |
+
self.log_freq = log_freq
|
| 63 |
+
|
| 64 |
+
def log(self, epoch, metrics, batch=None):
|
| 65 |
+
if self.log_freq is not None and epoch % self.log_freq == 0:
|
| 66 |
+
if batch is None:
|
| 67 |
+
header = f"Epoch {epoch + self.start_epoch}: "
|
| 68 |
+
else:
|
| 69 |
+
header = f"[{epoch:d}, {batch:5d}]: "
|
| 70 |
+
|
| 71 |
+
train_metric_components = [f"{m}: {v:.3f} " for m, v in metrics.items() if not m.startswith("val_")]
|
| 72 |
+
if train_metric_components:
|
| 73 |
+
LOG.info(
|
| 74 |
+
header
|
| 75 |
+
+ " ".join(train_metric_components),
|
| 76 |
+
)
|
| 77 |
+
val_metric_components = [f"{m}: {v:.3f} " for m, v in metrics.items() if m.startswith("val_")]
|
| 78 |
+
if val_metric_components:
|
| 79 |
+
LOG.info(
|
| 80 |
+
" ".join(val_metric_components),
|
| 81 |
+
)
|
| 82 |
+
if batch is None:
|
| 83 |
+
LOG.info("--------------------------------------\n")
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
class CSVLogger:
|
| 87 |
+
def __init__(self, output_dir, start_epoch=0):
|
| 88 |
+
self.output_dir = output_dir
|
| 89 |
+
self.start_epoch = start_epoch
|
| 90 |
+
self.val_keys = None
|
| 91 |
+
self.filename = f"train_log.{'' if start_epoch == 0 else (str(start_epoch) + '.')}csv"
|
| 92 |
+
self.logged = 0
|
| 93 |
+
|
| 94 |
+
@property
|
| 95 |
+
def filepath(self):
|
| 96 |
+
return str(os.path.join(self.output_dir, self.filename))
|
| 97 |
+
|
| 98 |
+
def log(self, epoch, metrics, batch=None):
|
| 99 |
+
metrics["batch"] = batch
|
| 100 |
+
|
| 101 |
+
if epoch == 0:
|
| 102 |
+
self.val_keys = metrics.keys()
|
| 103 |
+
elif self.output_dir is not None and epoch > 0:
|
| 104 |
+
# LOG.info([k for k in metrics.keys() if k not in self._prev_keys])
|
| 105 |
+
extra_keys = [k for k in self.val_keys if k not in metrics and k != "epoch"]
|
| 106 |
+
os.makedirs(self.output_dir, exist_ok=True)
|
| 107 |
+
log_epoch_metrics(
|
| 108 |
+
epoch,
|
| 109 |
+
metrics,
|
| 110 |
+
self.filepath,
|
| 111 |
+
extra_keys=extra_keys,
|
| 112 |
+
start_epoch=self.start_epoch,
|
| 113 |
+
new_file=self.logged == 0
|
| 114 |
+
)
|
| 115 |
+
self.logged += 1
|
| 116 |
+
# self._prev_keys = metrics.keys()
|
| 117 |
+
|
| 118 |
+
|
| 119 |
+
class LoggerContainer:
|
| 120 |
+
|
| 121 |
+
def __init__(self, loggers, start_epoch=0):
|
| 122 |
+
self.train_log = []
|
| 123 |
+
self.loggers = loggers
|
| 124 |
+
self.start_epoch = start_epoch
|
| 125 |
+
|
| 126 |
+
def log(self, epoch, metrics, batch=None):
|
| 127 |
+
for logger in self.loggers:
|
| 128 |
+
logger.log(epoch, metrics, batch=batch)
|
| 129 |
+
metrics["epoch"] = epoch + self.start_epoch
|
| 130 |
+
self.train_log.append(metrics)
|
model/models/results.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from pathlib import Path
|
| 2 |
+
from typing import Optional
|
| 3 |
+
from pydantic import BaseModel, validator
|
| 4 |
+
|
| 5 |
+
def chain_id_from_pdb_path(pdb_path: Path):
|
| 6 |
+
return pdb_path.stem
|
| 7 |
+
|
| 8 |
+
class PredictionResult(BaseModel):
|
| 9 |
+
|
| 10 |
+
pdb_path: Path
|
| 11 |
+
confidence: float
|
| 12 |
+
chain_id: Optional[str] = None
|
| 13 |
+
sequence_md5: str
|
| 14 |
+
ndom: int
|
| 15 |
+
nres: int
|
| 16 |
+
chopping: Optional[str] = None
|
| 17 |
+
time_sec: Optional[float] = None
|
| 18 |
+
|
| 19 |
+
@validator('chain_id', always=True, pre=True, allow_reuse=True)
|
| 20 |
+
def set_chain_id(cls, v, values):
|
| 21 |
+
if v is None:
|
| 22 |
+
return chain_id_from_pdb_path(values['pdb_path'])
|
| 23 |
+
return v
|
model/models/rosetta.py
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from torch import nn, transpose
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
def elu():
|
| 5 |
+
return nn.ELU(inplace=True)
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
def instance_norm(filters, eps=1e-6, **kwargs):
|
| 9 |
+
return nn.InstanceNorm2d(filters, affine=True, eps=eps, **kwargs)
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
def conv2d(in_chan, out_chan, kernel_size, dilation=1, **kwargs):
|
| 13 |
+
padding = dilation * (kernel_size - 1) // 2
|
| 14 |
+
return nn.Conv2d(in_chan, out_chan, kernel_size, padding=padding, dilation=dilation, **kwargs)
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
class trRosettaNetwork(nn.Module):
|
| 18 |
+
def __init__(self, filters=64, kernel=3, num_layers=61, in_channels=3, symmetrise_output=False, dropout=0.15):
|
| 19 |
+
super().__init__()
|
| 20 |
+
self.filters = filters
|
| 21 |
+
self.kernel = kernel
|
| 22 |
+
self.num_layers = num_layers
|
| 23 |
+
self.in_channels = in_channels
|
| 24 |
+
self.symmetrise_output = symmetrise_output
|
| 25 |
+
self.first_block = nn.Sequential(
|
| 26 |
+
conv2d(self.in_channels, filters, 1),
|
| 27 |
+
instance_norm(filters),
|
| 28 |
+
elu()
|
| 29 |
+
)
|
| 30 |
+
self.output_layer = nn.Sequential(
|
| 31 |
+
conv2d(filters, 1, kernel, dilation=1),
|
| 32 |
+
nn.Sigmoid())
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
# stack of residual blocks with dilations
|
| 36 |
+
cycle_dilations = [1, 2, 4, 8, 16]
|
| 37 |
+
dilations = [cycle_dilations[i % len(cycle_dilations)] for i in range(num_layers)]
|
| 38 |
+
if dropout > 0:
|
| 39 |
+
self.layers = nn.ModuleList([nn.Sequential(
|
| 40 |
+
conv2d(filters, filters, kernel, dilation=dilation),
|
| 41 |
+
instance_norm(filters),
|
| 42 |
+
elu(),
|
| 43 |
+
nn.Dropout(p=dropout),
|
| 44 |
+
conv2d(filters, filters, kernel, dilation=dilation),
|
| 45 |
+
instance_norm(filters)
|
| 46 |
+
) for dilation in dilations])
|
| 47 |
+
else:
|
| 48 |
+
self.layers = nn.ModuleList([nn.Sequential(
|
| 49 |
+
conv2d(filters, filters, kernel, dilation=dilation),
|
| 50 |
+
instance_norm(filters),
|
| 51 |
+
elu(),
|
| 52 |
+
conv2d(filters, filters, kernel, dilation=dilation),
|
| 53 |
+
instance_norm(filters)
|
| 54 |
+
) for dilation in dilations])
|
| 55 |
+
|
| 56 |
+
self.activate = elu()
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
def forward(self, x):
|
| 60 |
+
x = self.first_block(x)
|
| 61 |
+
|
| 62 |
+
for layer in self.layers:
|
| 63 |
+
x = self.activate(x + layer(x))
|
| 64 |
+
y_hat = self.output_layer(x)
|
| 65 |
+
if self.symmetrise_output:
|
| 66 |
+
return (y_hat + transpose(y_hat, -1, -2)) * 0.5
|
| 67 |
+
else:
|
| 68 |
+
return y_hat
|
model/prediction_result_file.py
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Class that represents a file with the prediction results
|
| 3 |
+
|
| 4 |
+
* allows prediction results to be appended to the file in chunks
|
| 5 |
+
* allows results to be skipped if they already exist in the file
|
| 6 |
+
"""
|
| 7 |
+
|
| 8 |
+
import csv
|
| 9 |
+
from typing import List, OrderedDict
|
| 10 |
+
from pathlib import Path
|
| 11 |
+
import logging
|
| 12 |
+
|
| 13 |
+
from .models.results import PredictionResult
|
| 14 |
+
from .errors import PredictionResultExistsError, FileExistsError
|
| 15 |
+
|
| 16 |
+
LOG = logging.getLogger(__name__)
|
| 17 |
+
|
| 18 |
+
class PredictionResultsFileIter:
|
| 19 |
+
def __init__(self, results_file_class):
|
| 20 |
+
self._results = results_file_class.get_results()
|
| 21 |
+
self._results_size = len(self._results)
|
| 22 |
+
self._current_index = 0
|
| 23 |
+
|
| 24 |
+
def __iter__(self):
|
| 25 |
+
return self
|
| 26 |
+
|
| 27 |
+
def __next__(self):
|
| 28 |
+
if self._current_index < self._results_size:
|
| 29 |
+
member = self._results[self._current_index]
|
| 30 |
+
self._current_index += 1
|
| 31 |
+
return member
|
| 32 |
+
raise StopIteration
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
class PredictionResultsFile:
|
| 36 |
+
"""
|
| 37 |
+
Writes prediction results to a file in chunks
|
| 38 |
+
"""
|
| 39 |
+
|
| 40 |
+
COLNAMES = ['chain_id', 'sequence_md5', 'nres', 'ndom', 'chopping', 'confidence', 'time_sec']
|
| 41 |
+
|
| 42 |
+
def __init__(self,
|
| 43 |
+
csv_path: Path, *,
|
| 44 |
+
chunk_size: int=20,
|
| 45 |
+
write_header: bool=True,
|
| 46 |
+
allow_append: bool=False,
|
| 47 |
+
allow_skip: bool=False):
|
| 48 |
+
|
| 49 |
+
self.csv_path = Path(str(csv_path)).absolute()
|
| 50 |
+
self.chunk_size = chunk_size
|
| 51 |
+
self.write_header = write_header
|
| 52 |
+
self.allow_append = allow_append
|
| 53 |
+
self.allow_skip = allow_skip
|
| 54 |
+
self._results_by_id: OrderedDict[PredictionResult] = OrderedDict()
|
| 55 |
+
self._unflushed_results_by_id: OrderedDict[PredictionResult] = OrderedDict()
|
| 56 |
+
self._written_header = False
|
| 57 |
+
|
| 58 |
+
self._init()
|
| 59 |
+
|
| 60 |
+
def _init(self):
|
| 61 |
+
if self.csv_path.exists():
|
| 62 |
+
msg = f"file '{self.csv_path}' already exists (allow_append={self.allow_append}))"
|
| 63 |
+
LOG.warning(msg)
|
| 64 |
+
if not self.allow_append:
|
| 65 |
+
raise FileExistsError(msg)
|
| 66 |
+
self._read_results()
|
| 67 |
+
|
| 68 |
+
def _read_results(self):
|
| 69 |
+
"""
|
| 70 |
+
Read the results from the file
|
| 71 |
+
"""
|
| 72 |
+
with self.csv_path.open('r') as fp:
|
| 73 |
+
reader = self.get_csv_reader(fp)
|
| 74 |
+
for row in reader:
|
| 75 |
+
if row['chain_id'] == 'chain_id':
|
| 76 |
+
continue
|
| 77 |
+
pdb_path = Path(row['chain_id'] + '.pdb')
|
| 78 |
+
result = PredictionResult(pdb_path=pdb_path, **row)
|
| 79 |
+
self._results_by_id[result.chain_id] = result
|
| 80 |
+
|
| 81 |
+
def get_flushed_results(self):
|
| 82 |
+
self.flush()
|
| 83 |
+
return self._results_by_id.values()
|
| 84 |
+
|
| 85 |
+
def get_csv_reader(self, fp):
|
| 86 |
+
return csv.DictReader(fp, delimiter='\t', fieldnames=self.COLNAMES)
|
| 87 |
+
|
| 88 |
+
def get_csv_writer(self, fp):
|
| 89 |
+
return csv.DictWriter(fp, delimiter='\t', fieldnames=self.COLNAMES)
|
| 90 |
+
|
| 91 |
+
def write_csv_result(self, csv_writer, res: PredictionResult):
|
| 92 |
+
"""
|
| 93 |
+
Render PredictionResult result to file pointer
|
| 94 |
+
"""
|
| 95 |
+
row = {
|
| 96 |
+
'chain_id': res.chain_id,
|
| 97 |
+
'sequence_md5': res.sequence_md5,
|
| 98 |
+
'nres': res.nres,
|
| 99 |
+
'ndom': res.ndom,
|
| 100 |
+
'chopping': res.chopping if res.chopping is not None else 'NULL',
|
| 101 |
+
'confidence': f'{res.confidence:.3g}' if res.confidence is not None else 'NULL',
|
| 102 |
+
'time_sec': f'{res.time_sec}' if res.time_sec is not None else 'NULL',
|
| 103 |
+
}
|
| 104 |
+
csv_writer.writerow(row)
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
def flush(self):
|
| 108 |
+
"""
|
| 109 |
+
Write unflushed results to the output file
|
| 110 |
+
"""
|
| 111 |
+
if len(self._unflushed_results_by_id) == 0:
|
| 112 |
+
return
|
| 113 |
+
|
| 114 |
+
with self.csv_path.open('a') as fp:
|
| 115 |
+
|
| 116 |
+
csv_writer = self.get_csv_writer(fp)
|
| 117 |
+
|
| 118 |
+
if self.write_header and not self._written_header and len(self._results_by_id) == 0:
|
| 119 |
+
csv_writer.writeheader()
|
| 120 |
+
self._written_header = True
|
| 121 |
+
|
| 122 |
+
for result in self._unflushed_results_by_id.values():
|
| 123 |
+
self.write_csv_result(csv_writer, result)
|
| 124 |
+
|
| 125 |
+
def has_result(self, result: PredictionResult):
|
| 126 |
+
"""
|
| 127 |
+
Check if the prediction result already exists in the file
|
| 128 |
+
"""
|
| 129 |
+
return self.has_result_for_chain_id(result.chain_id)
|
| 130 |
+
|
| 131 |
+
def has_result_for_chain_id(self, chain_id: str):
|
| 132 |
+
"""
|
| 133 |
+
Check if the chain_id already exists in the file
|
| 134 |
+
"""
|
| 135 |
+
if chain_id in self._results_by_id:
|
| 136 |
+
return True
|
| 137 |
+
if chain_id in self._unflushed_results_by_id:
|
| 138 |
+
return True
|
| 139 |
+
|
| 140 |
+
return False
|
| 141 |
+
|
| 142 |
+
def add_result(self, result: PredictionResult):
|
| 143 |
+
"""
|
| 144 |
+
Add a result to the buffer (and possibly flush the buffer)
|
| 145 |
+
"""
|
| 146 |
+
if self.has_result(result):
|
| 147 |
+
msg = f"result '{result.chain_id}' already exists in file '{self.csv_path}'"
|
| 148 |
+
raise PredictionResultExistsError(msg)
|
| 149 |
+
|
| 150 |
+
self._unflushed_results_by_id[result.chain_id] = result
|
| 151 |
+
if len(self._unflushed_results_by_id) >= self.chunk_size:
|
| 152 |
+
self.flush()
|
| 153 |
+
self._results_by_id.update(self._unflushed_results_by_id)
|
| 154 |
+
self._unflushed_results_by_id = OrderedDict()
|
| 155 |
+
|
| 156 |
+
def add_results(self, results: List[PredictionResult]):
|
| 157 |
+
for res in results:
|
| 158 |
+
self.add_result(res)
|
| 159 |
+
|
| 160 |
+
def __iter__(self):
|
| 161 |
+
return PredictionResultsFileIter(self)
|
model/utils/__init__.py
ADDED
|
File without changes
|
model/utils/cif2pdb.py
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# !/usr/bin/env python
|
| 2 |
+
"""
|
| 3 |
+
Script to convert mmCIF files to PDB format.
|
| 4 |
+
usage: python cif2pdb.py ciffile [pdbfile]
|
| 5 |
+
Requires python BioPython (`pip install biopython`). It should work with recent version of python 2 or 3.
|
| 6 |
+
@author Spencer Bliven <spencer.bliven@gmail.com>
|
| 7 |
+
"""
|
| 8 |
+
import os
|
| 9 |
+
import sys
|
| 10 |
+
import argparse
|
| 11 |
+
import logging
|
| 12 |
+
from Bio.PDB.MMCIFParser import MMCIFParser
|
| 13 |
+
from Bio.PDB import PDBIO
|
| 14 |
+
|
| 15 |
+
LOG = logging.getLogger(__name__)
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
def int_to_chain(i, base=62):
|
| 19 |
+
"""
|
| 20 |
+
int_to_chain(int,int) -> str
|
| 21 |
+
Converts a positive integer to a chain ID. Chain IDs include uppercase
|
| 22 |
+
characters, numbers, and optionally lowercase letters.
|
| 23 |
+
i = a positive integer to convert
|
| 24 |
+
base = the alphabet size to include. Typically 36 or 62.
|
| 25 |
+
"""
|
| 26 |
+
if i < 0:
|
| 27 |
+
raise ValueError("positive integers only")
|
| 28 |
+
if base < 0 or 62 < base:
|
| 29 |
+
raise ValueError("Invalid base")
|
| 30 |
+
|
| 31 |
+
quot = int(i) // base
|
| 32 |
+
rem = i % base
|
| 33 |
+
if rem < 26:
|
| 34 |
+
letter = chr(ord("A") + rem)
|
| 35 |
+
elif rem < 36:
|
| 36 |
+
letter = str(rem - 26)
|
| 37 |
+
else:
|
| 38 |
+
letter = chr(ord("a") + rem - 36)
|
| 39 |
+
if quot == 0:
|
| 40 |
+
return letter
|
| 41 |
+
else:
|
| 42 |
+
return int_to_chain(quot - 1, base) + letter
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
class OutOfChainsError(Exception):
|
| 46 |
+
pass
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
def rename_chains(structure):
|
| 50 |
+
"""Renames chains to be one-letter chains
|
| 51 |
+
|
| 52 |
+
Existing one-letter chains will be kept. Multi-letter chains will be truncated
|
| 53 |
+
or renamed to the next available letter of the alphabet.
|
| 54 |
+
|
| 55 |
+
If more than 62 chains are present in the structure, raises an OutOfChainsError
|
| 56 |
+
|
| 57 |
+
Returns a map between new and old chain IDs, as well as modifying the input structure
|
| 58 |
+
"""
|
| 59 |
+
next_chain = 0 #
|
| 60 |
+
# single-letters stay the same
|
| 61 |
+
chainmap = {c.id: c.id for c in structure.get_chains() if len(c.id) == 1}
|
| 62 |
+
for o in structure.get_chains():
|
| 63 |
+
if len(o.id) != 1:
|
| 64 |
+
if o.id[0] not in chainmap:
|
| 65 |
+
chainmap[o.id[0]] = o.id
|
| 66 |
+
o.id = o.id[0]
|
| 67 |
+
else:
|
| 68 |
+
c = int_to_chain(next_chain)
|
| 69 |
+
while c in chainmap:
|
| 70 |
+
next_chain += 1
|
| 71 |
+
c = int_to_chain(next_chain)
|
| 72 |
+
if next_chain >= 62:
|
| 73 |
+
raise OutOfChainsError()
|
| 74 |
+
chainmap[c] = o.id
|
| 75 |
+
o.id = c
|
| 76 |
+
return chainmap
|
| 77 |
+
|
| 78 |
+
def cif2pdb(ciffile):
|
| 79 |
+
pdbfile = ciffile + ".pdb"
|
| 80 |
+
strucid = os.path.split(ciffile)[-1].split(".")[0]
|
| 81 |
+
# Read file
|
| 82 |
+
parser = MMCIFParser()
|
| 83 |
+
structure = parser.get_structure(strucid, ciffile)
|
| 84 |
+
# rename long chains
|
| 85 |
+
try:
|
| 86 |
+
chainmap = rename_chains(structure)
|
| 87 |
+
except OutOfChainsError:
|
| 88 |
+
logging.error("Too many chains to represent in PDB format")
|
| 89 |
+
sys.exit(1)
|
| 90 |
+
|
| 91 |
+
for new, old in chainmap.items():
|
| 92 |
+
if new != old:
|
| 93 |
+
logging.info("Renaming chain {0} to {1}".format(old, new))
|
| 94 |
+
|
| 95 |
+
# Write PDB
|
| 96 |
+
io = PDBIO()
|
| 97 |
+
io.set_structure(structure)
|
| 98 |
+
io.save(pdbfile)
|
| 99 |
+
return pdbfile
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
|
| 103 |
+
if __name__ == "__main__":
|
| 104 |
+
parser = argparse.ArgumentParser(description='Convert mmCIF to PDB format')
|
| 105 |
+
parser.add_argument("ciffile", help="mmCIF input file")
|
| 106 |
+
parser.add_argument("pdbfile", nargs="?", help="PDB output file. Default based on CIF filename")
|
| 107 |
+
parser.add_argument("-v", "--verbose", help="Long messages",
|
| 108 |
+
dest="verbose", default=False, action="store_true")
|
| 109 |
+
args = parser.parse_args()
|
| 110 |
+
|
| 111 |
+
logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.DEBUG if args.verbose else logging.WARN)
|
| 112 |
+
|
| 113 |
+
ciffile = args.ciffile
|
| 114 |
+
pdbfile = args.pdbfile or ciffile + ".pdb"
|
| 115 |
+
# Not sure why biopython needs this to read a cif file
|
| 116 |
+
strucid = ciffile[:4] if len(ciffile) > 4 else "1xxx"
|
| 117 |
+
|
| 118 |
+
# Read file
|
| 119 |
+
parser = MMCIFParser()
|
| 120 |
+
structure = parser.get_structure(strucid, ciffile)
|
| 121 |
+
|
| 122 |
+
# rename long chains
|
| 123 |
+
try:
|
| 124 |
+
chainmap = rename_chains(structure)
|
| 125 |
+
except OutOfChainsError:
|
| 126 |
+
logging.error("Too many chains to represent in PDB format")
|
| 127 |
+
sys.exit(1)
|
| 128 |
+
|
| 129 |
+
if args.verbose:
|
| 130 |
+
for new, old in chainmap.items():
|
| 131 |
+
if new != old:
|
| 132 |
+
logging.info("Renaming chain {0} to {1}".format(old, new))
|
| 133 |
+
|
| 134 |
+
# Write PDB
|
| 135 |
+
io = PDBIO()
|
| 136 |
+
io.set_structure(structure)
|
| 137 |
+
io.save(pdbfile)
|
model/utils/common.py
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import copy
|
| 2 |
+
import json
|
| 3 |
+
import subprocess
|
| 4 |
+
import torch
|
| 5 |
+
|
| 6 |
+
import logging
|
| 7 |
+
LOG = logging.getLogger(__name__)
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
def load_json(jsonfile):
|
| 11 |
+
with open(jsonfile, "r") as jf:
|
| 12 |
+
res = json.load(jf)
|
| 13 |
+
return res
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
def save_config(config, filepath):
|
| 17 |
+
with open(filepath, "w") as outfile:
|
| 18 |
+
json.dump(config, outfile, indent=4)
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
def apply_diff(base_cfg, diff):
|
| 22 |
+
cfg = copy.deepcopy(base_cfg)
|
| 23 |
+
for k, v in diff.items():
|
| 24 |
+
if isinstance(v, dict):
|
| 25 |
+
cfg[k] = apply_diff(base_cfg[k], v)
|
| 26 |
+
else:
|
| 27 |
+
cfg[k] = v
|
| 28 |
+
return cfg
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
def execute_bash_command(bash_command_string):
|
| 32 |
+
bash_return = subprocess.run(bash_command_string.split(), timeout=20)
|
| 33 |
+
return bash_return
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
def get_torch_device(force_cpu=False, use_mps_if_available=False):
|
| 37 |
+
try:
|
| 38 |
+
if torch.cuda.is_available() and not force_cpu:
|
| 39 |
+
device_string = "cuda"
|
| 40 |
+
elif use_mps_if_available and torch.backends.mps.is_available() and not force_cpu:
|
| 41 |
+
device_string = "mps"
|
| 42 |
+
else:
|
| 43 |
+
device_string = "cpu"
|
| 44 |
+
except Exception as exc:
|
| 45 |
+
LOG.error(f'Exception: {exc}')
|
| 46 |
+
device_string = "cpu"
|
| 47 |
+
LOG.info(f'Using device: {device_string}')
|
| 48 |
+
device = torch.device(device_string)
|
| 49 |
+
return device
|
model/utils/domain_boundary_distance_score.py
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Domain boundary distance score, as defined in CASP 7 paper:
|
| 3 |
+
Assessment of predictions submitted for the CASP7 domain prediction category (2007)
|
| 4 |
+
https://onlinelibrary.wiley.com/doi/10.1002/prot.21675
|
| 5 |
+
|
| 6 |
+
Under our scoring scheme all predictions within 8 residues of the correct boundary
|
| 7 |
+
will score, but predictions that are closer to the correct domain boundary would score more.
|
| 8 |
+
All distances between the predicted and correct domain boundaries are calculated. If the
|
| 9 |
+
domain boundary has a linker, the whole linker is regarded as the domain boundary.
|
| 10 |
+
predictions are given one point for being within 1 residue of each correct boundary,
|
| 11 |
+
another point if they are within two residues, a further point if they are within three,
|
| 12 |
+
and so on up to eight residues. A prediction two residues away from the correct boundary
|
| 13 |
+
would therefore have 7 points.
|
| 14 |
+
The total score for each domain prediction is then calculated as the sum of all predicted
|
| 15 |
+
boundary scores divided by eight and the total number of domain boundaries. The number of
|
| 16 |
+
domain boundaries comes from either the target or the prediction, whichever is higher. In
|
| 17 |
+
this way over-prediction is penalized.
|
| 18 |
+
|
| 19 |
+
"""
|
| 20 |
+
import numpy as np
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
def pred_domains_to_bounds(pred_domains, optimize_for_linkers=False):
|
| 24 |
+
"""
|
| 25 |
+
Converts domain dictionary to list of boundary residues
|
| 26 |
+
"""
|
| 27 |
+
pred_bounds = np.array([])
|
| 28 |
+
for name, res in pred_domains.items():
|
| 29 |
+
if name=='linker' or len(res) ==0:
|
| 30 |
+
continue
|
| 31 |
+
res = np.array(sorted(set(res)))
|
| 32 |
+
gaps = res[1:] - res[:-1]
|
| 33 |
+
if any(gaps > 1):
|
| 34 |
+
gaps_start_indexes = np.where(gaps > 1)[0]
|
| 35 |
+
pred_bounds = np.append(pred_bounds, res[gaps_start_indexes] + 1)
|
| 36 |
+
pred_bounds = np.append(pred_bounds, res[gaps_start_indexes + 1])
|
| 37 |
+
pred_bounds = np.append(pred_bounds, [res[0], res[-1] +1])
|
| 38 |
+
if optimize_for_linkers:
|
| 39 |
+
# given that linkers all count as boundaries probs possible
|
| 40 |
+
# to score more points by predicting boundaries in the middle of linker
|
| 41 |
+
# regions rather than the edges
|
| 42 |
+
raise NotImplementedError # todo
|
| 43 |
+
return np.array(sorted(list(set(pred_bounds.astype(int)))))
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
def get_true_boundary_res(domain_dict):
|
| 47 |
+
"""
|
| 48 |
+
In the case where there are multiple non-domain
|
| 49 |
+
residues between two domains, all of these NDRs
|
| 50 |
+
are counted as domain boundaries. This adjustment
|
| 51 |
+
is applied to the true boundaries but not the
|
| 52 |
+
predicted boundaries.
|
| 53 |
+
"""
|
| 54 |
+
bounds = pred_domains_to_bounds(domain_dict)
|
| 55 |
+
# c.f. get_boundary_res below
|
| 56 |
+
boundaries = {
|
| 57 |
+
"boundary_res": list(bounds),
|
| 58 |
+
"n_boundaries": len(list(bounds))
|
| 59 |
+
}
|
| 60 |
+
boundaries["boundary_res"] += list(domain_dict["linker"])
|
| 61 |
+
return boundaries
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
def boundary_distance_score(domains, boundaries):
|
| 65 |
+
pred_bounds = pred_domains_to_bounds(domains)
|
| 66 |
+
# distance score as specified in CASP7 paper {distance_to_true_bound:score}
|
| 67 |
+
dist_to_score = {0:8, 1:7, 2:6, 3:5, 4:4, 5:3, 6:2, 7:1}
|
| 68 |
+
score = 0
|
| 69 |
+
# the final score is divided by the number of segments and the maximum score for each boundary
|
| 70 |
+
normalizing_term = 8 * max(len(pred_bounds), boundaries['n_boundaries'])
|
| 71 |
+
scores = []
|
| 72 |
+
for b in pred_bounds:
|
| 73 |
+
distance = min(abs(boundaries['boundary_res'] - b))
|
| 74 |
+
if distance < 8:
|
| 75 |
+
scores.append(dist_to_score[distance])
|
| 76 |
+
# JW adjustment: additional boundaries that can't be mapped to a real bound
|
| 77 |
+
# should not be added to the un-normalized score
|
| 78 |
+
score = sum(sorted(scores)[-boundaries['n_boundaries']:])
|
| 79 |
+
return score / normalizing_term
|
model/utils/ndo_score.py
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from collections import defaultdict
|
| 2 |
+
import copy
|
| 3 |
+
import numpy as np
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
def check_unique_assignments(assn):
|
| 7 |
+
res_counts = defaultdict(int) # check for repeated residues
|
| 8 |
+
for res_ids in assn.values():
|
| 9 |
+
for res_id in res_ids:
|
| 10 |
+
res_counts[res_id] += 1
|
| 11 |
+
assert all([v == 1 for v in res_counts.values()]), f"Non-unique domain assignment {assn}"
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
def make_domain_dict(domain_str, n_res):
|
| 15 |
+
"""
|
| 16 |
+
Converts string representation of domain boundaries to a dictionary
|
| 17 |
+
Delimit separate domains with commas , and discontinuous domains
|
| 18 |
+
with underscores _. Residue ranges separated by hyphens -, e.g. 1-100,101-200_300-340
|
| 19 |
+
:param domain_str: domain boundaries expressed zero-indexed sequential e.g. 1-100,101-200_300-340
|
| 20 |
+
:param n_res: number of residues in the sequence
|
| 21 |
+
:return:
|
| 22 |
+
"""
|
| 23 |
+
domain_dict = {}
|
| 24 |
+
bounds = domain_str.split(',')
|
| 25 |
+
assigned_res = set()
|
| 26 |
+
for i, bound in enumerate(bounds):
|
| 27 |
+
if len(bound):
|
| 28 |
+
|
| 29 |
+
for segment in bound.split('_'):
|
| 30 |
+
if '-' in segment:
|
| 31 |
+
start, end = segment.split('-')
|
| 32 |
+
else:
|
| 33 |
+
start = end = segment
|
| 34 |
+
segment_res = set(range(int(start), int(end) + 1))
|
| 35 |
+
assert len(segment_res.intersection(assigned_res)) == 0, f"Overlapping domain assignments {domain_str}"
|
| 36 |
+
assigned_res.update(segment_res)
|
| 37 |
+
domain_dict[f"D{i + 1}"] = domain_dict.get(f"D{i + 1}", []) + list(segment_res)
|
| 38 |
+
domain_dict['linker'] = list(set(range(n_res)).difference(assigned_res))
|
| 39 |
+
return domain_dict
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
def ndo_score(true: dict, pred: dict):
|
| 43 |
+
"""
|
| 44 |
+
Normalized Domain Overlap Score
|
| 45 |
+
Approximately corresponds to the fraction of residues that are assigned to the correct domain
|
| 46 |
+
(Tai, C.H., et al. Evaluation of domain prediction in CASP6. Proteins 2005;61:183-192.)
|
| 47 |
+
Full description of algorithm at https://ccrod.cancer.gov/confluence/display/CCRLEE/NDO]
|
| 48 |
+
https://ccrod.cancer.gov/confluence/display/CCRLEE/NDO
|
| 49 |
+
:param true: dict of domain assignments, with keys "linker" and "dX" where X is the domain number
|
| 50 |
+
:param pred: dict of domain assignments, with keys "linker" and "dX" where X is the domain number
|
| 51 |
+
example domain dictionary: {'linker':[0,1], 'D1':[2,3,4,8,9], 'D2':[5,6,7]}
|
| 52 |
+
"""
|
| 53 |
+
|
| 54 |
+
# domains definitions must be mutually exclusive.
|
| 55 |
+
check_unique_assignments(true)
|
| 56 |
+
check_unique_assignments(pred)
|
| 57 |
+
# alternative data structure would be a list of res ids for linker, plus a list of lists of res ids for domains.
|
| 58 |
+
true = copy.deepcopy(true)
|
| 59 |
+
pred = copy.deepcopy(pred)
|
| 60 |
+
|
| 61 |
+
n_dom_pred = len([k for k in pred.keys() if k != "linker"])
|
| 62 |
+
n_dom_gt = len([k for k in true.keys() if k != "linker"])
|
| 63 |
+
|
| 64 |
+
# linkers are treated specially, so put them at row/col 0 to make this easy
|
| 65 |
+
|
| 66 |
+
pred_linker = pred.pop("linker", [])
|
| 67 |
+
gt_linker = true.pop("linker", [])
|
| 68 |
+
|
| 69 |
+
gt_res_ids = [gt_linker] + list(true.values())
|
| 70 |
+
pred_res_ids = [pred_linker] + list(pred.values())
|
| 71 |
+
|
| 72 |
+
overlap = np.zeros((n_dom_pred + 1, n_dom_gt + 1))
|
| 73 |
+
assert len(gt_res_ids) == overlap.shape[1] and len(pred_res_ids) == overlap.shape[0]
|
| 74 |
+
|
| 75 |
+
for i, p_res in enumerate(pred_res_ids):
|
| 76 |
+
for j, gt_res in enumerate(gt_res_ids):
|
| 77 |
+
overlap[i, j] = len(set(p_res).intersection(set(gt_res)))
|
| 78 |
+
|
| 79 |
+
# modified from v0: max overlap for a domain cannot be with a linker (hence max slices start at 1)
|
| 80 |
+
if overlap.shape[0] == 1 or overlap.shape[1] == 1:
|
| 81 |
+
# either the predictions or the true labels (or both) are all linker
|
| 82 |
+
print('NDO score undefined for case where all linker')
|
| 83 |
+
return 0
|
| 84 |
+
row_scores = overlap[1:, 1:].max(axis=1)
|
| 85 |
+
row_scores -= (overlap[1:].sum(axis=1) - row_scores)
|
| 86 |
+
|
| 87 |
+
col_scores = overlap[1:, 1:].max(axis=0)
|
| 88 |
+
col_scores -= (overlap[:, 1:].sum(axis=0) - col_scores)
|
| 89 |
+
|
| 90 |
+
total_score = (row_scores.sum() + col_scores.sum()) / 2
|
| 91 |
+
# count number of domain (non-linker) residues to normalize
|
| 92 |
+
max_score = sum([len(gt_res) for gt_res in gt_res_ids[1:]])
|
| 93 |
+
|
| 94 |
+
return total_score / max_score
|
model/utils/pdb_reres.py
ADDED
|
@@ -0,0 +1,200 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-*-
|
| 3 |
+
#
|
| 4 |
+
# Copyright 2018 João Pedro Rodrigues
|
| 5 |
+
#
|
| 6 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 7 |
+
# you may not use this file except in compliance with the License.
|
| 8 |
+
# You may obtain a copy of the License at
|
| 9 |
+
#
|
| 10 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
+
#
|
| 12 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 13 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
# See the License for the specific language governing permissions and
|
| 16 |
+
# limitations under the License.
|
| 17 |
+
|
| 18 |
+
"""
|
| 19 |
+
Renumbers the residues of the PDB file starting from a given number (default 1).
|
| 20 |
+
|
| 21 |
+
Usage:
|
| 22 |
+
python pdb_reres.py -<number> <pdb file>
|
| 23 |
+
|
| 24 |
+
Example:
|
| 25 |
+
python pdb_reres.py -10 1CTF.pdb # renumbers from 10
|
| 26 |
+
python pdb_reres.py --1 1CTF.pdb # renumbers from -1
|
| 27 |
+
|
| 28 |
+
This program is part of the `pdb-tools` suite of utilities and should not be
|
| 29 |
+
distributed isolatedly. The `pdb-tools` were created to quickly manipulate PDB
|
| 30 |
+
files using the terminal, and can be used sequentially, with one tool streaming
|
| 31 |
+
data to another. They are based on old FORTRAN77 code that was taking too much
|
| 32 |
+
effort to maintain and compile. RIP.
|
| 33 |
+
"""
|
| 34 |
+
|
| 35 |
+
import os
|
| 36 |
+
import sys
|
| 37 |
+
|
| 38 |
+
import logging
|
| 39 |
+
LOG = logging.getLogger(__name__)
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
__author__ = "Joao Rodrigues"
|
| 43 |
+
__email__ = "j.p.g.l.m.rodrigues@gmail.com"
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
def check_input(args):
|
| 47 |
+
"""Checks whether to read from stdin/file and validates user input/options.
|
| 48 |
+
"""
|
| 49 |
+
|
| 50 |
+
# Defaults
|
| 51 |
+
option = 1
|
| 52 |
+
fh = sys.stdin # file handle
|
| 53 |
+
|
| 54 |
+
if not len(args):
|
| 55 |
+
# Reading from pipe with default option
|
| 56 |
+
if sys.stdin.isatty():
|
| 57 |
+
sys.stderr.write(__doc__)
|
| 58 |
+
sys.exit(1)
|
| 59 |
+
|
| 60 |
+
elif len(args) == 1:
|
| 61 |
+
# One of two options: option & Pipe OR file & default option
|
| 62 |
+
if args[0].startswith('-'):
|
| 63 |
+
option = args[0][1:]
|
| 64 |
+
if sys.stdin.isatty(): # ensure the PDB data is streamed in
|
| 65 |
+
emsg = 'ERROR!! No data to process!\n'
|
| 66 |
+
sys.stderr.write(emsg)
|
| 67 |
+
sys.stderr.write(__doc__)
|
| 68 |
+
sys.exit(1)
|
| 69 |
+
|
| 70 |
+
else:
|
| 71 |
+
if not os.path.isfile(args[0]):
|
| 72 |
+
emsg = 'ERROR!! File not found or not readable: \'{}\'\n'
|
| 73 |
+
sys.stderr.write(emsg.format(args[0]))
|
| 74 |
+
sys.stderr.write(__doc__)
|
| 75 |
+
sys.exit(1)
|
| 76 |
+
|
| 77 |
+
fh = open(args[0], 'r')
|
| 78 |
+
|
| 79 |
+
elif len(args) == 2:
|
| 80 |
+
# Two options: option & File
|
| 81 |
+
if not args[0].startswith('-'):
|
| 82 |
+
emsg = 'ERROR! First argument is not an option: \'{}\'\n'
|
| 83 |
+
sys.stderr.write(emsg.format(args[0]))
|
| 84 |
+
sys.stderr.write(__doc__)
|
| 85 |
+
sys.exit(1)
|
| 86 |
+
|
| 87 |
+
if not os.path.isfile(args[1]):
|
| 88 |
+
emsg = 'ERROR!! File not found or not readable: \'{}\'\n'
|
| 89 |
+
sys.stderr.write(emsg.format(args[1]))
|
| 90 |
+
sys.stderr.write(__doc__)
|
| 91 |
+
sys.exit(1)
|
| 92 |
+
|
| 93 |
+
option = args[0][1:]
|
| 94 |
+
fh = open(args[1], 'r')
|
| 95 |
+
|
| 96 |
+
else: # Whatever ...
|
| 97 |
+
sys.stderr.write(__doc__)
|
| 98 |
+
sys.exit(1)
|
| 99 |
+
|
| 100 |
+
# Validate option
|
| 101 |
+
try:
|
| 102 |
+
option = int(option)
|
| 103 |
+
except ValueError:
|
| 104 |
+
emsg = 'ERROR!! You provided an invalid residue number: \'{}\''
|
| 105 |
+
sys.stderr.write(emsg.format(option))
|
| 106 |
+
sys.exit(1)
|
| 107 |
+
|
| 108 |
+
return (fh, option)
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
def pad_line(line):
|
| 112 |
+
"""Helper function to pad line to 80 characters in case it is shorter"""
|
| 113 |
+
size_of_line = len(line)
|
| 114 |
+
if size_of_line < 80:
|
| 115 |
+
padding = 80 - size_of_line + 1
|
| 116 |
+
line = line.strip('\n') + ' ' * padding + '\n'
|
| 117 |
+
return line[:81] # 80 + newline character
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
def run(fhandle, starting_resid):
|
| 121 |
+
"""
|
| 122 |
+
Reset the residue number column to start from a specific number.
|
| 123 |
+
|
| 124 |
+
This function is a generator.
|
| 125 |
+
|
| 126 |
+
Parameters
|
| 127 |
+
----------
|
| 128 |
+
fhandle : a line-by-line iterator of the original PDB file.
|
| 129 |
+
|
| 130 |
+
starting_resid : int
|
| 131 |
+
The starting residue number.
|
| 132 |
+
|
| 133 |
+
Yields
|
| 134 |
+
------
|
| 135 |
+
str (line-by-line)
|
| 136 |
+
The modified (or not) PDB line.
|
| 137 |
+
"""
|
| 138 |
+
_pad_line = pad_line
|
| 139 |
+
prev_resid = None # tracks chain and resid
|
| 140 |
+
resid = starting_resid - 1 # account for first residue
|
| 141 |
+
records = ('ATOM', 'HETATM', 'TER', 'ANISOU')
|
| 142 |
+
for line in fhandle:
|
| 143 |
+
line = _pad_line(line)
|
| 144 |
+
if line.startswith('MODEL'):
|
| 145 |
+
resid = starting_resid - 1 # account for first residue
|
| 146 |
+
prev_resid = None # tracks chain and resid
|
| 147 |
+
yield line
|
| 148 |
+
|
| 149 |
+
elif line.startswith(records):
|
| 150 |
+
line_resuid = line[17:27]
|
| 151 |
+
if line_resuid != prev_resid:
|
| 152 |
+
prev_resid = line_resuid
|
| 153 |
+
resid += 1
|
| 154 |
+
if resid > 9999:
|
| 155 |
+
emsg = 'Cannot set residue number above 9999.\n'
|
| 156 |
+
sys.stderr.write(emsg)
|
| 157 |
+
sys.exit(1)
|
| 158 |
+
|
| 159 |
+
yield line[:22] + str(resid).rjust(4) + line[26:]
|
| 160 |
+
|
| 161 |
+
else:
|
| 162 |
+
yield line
|
| 163 |
+
|
| 164 |
+
|
| 165 |
+
renumber_residues = run
|
| 166 |
+
|
| 167 |
+
|
| 168 |
+
def main():
|
| 169 |
+
# Check Input
|
| 170 |
+
pdbfh, starting_resid = check_input(sys.argv[1:])
|
| 171 |
+
|
| 172 |
+
# Do the job
|
| 173 |
+
new_pdb = run(pdbfh, starting_resid)
|
| 174 |
+
|
| 175 |
+
# Output results
|
| 176 |
+
try:
|
| 177 |
+
_buffer = []
|
| 178 |
+
_buffer_size = 5000 # write N lines at a time
|
| 179 |
+
for lineno, line in enumerate(new_pdb):
|
| 180 |
+
if not (lineno % _buffer_size):
|
| 181 |
+
sys.stdout.write(''.join(_buffer))
|
| 182 |
+
_buffer = []
|
| 183 |
+
_buffer.append(line)
|
| 184 |
+
|
| 185 |
+
sys.stdout.write(''.join(_buffer))
|
| 186 |
+
sys.stdout.flush()
|
| 187 |
+
except IOError:
|
| 188 |
+
# This is here to catch Broken Pipes
|
| 189 |
+
# for example to use 'head' or 'tail' without
|
| 190 |
+
# the error message showing up
|
| 191 |
+
pass
|
| 192 |
+
|
| 193 |
+
# last line of the script
|
| 194 |
+
# Close file handle even if it is sys.stdin, no problem here.
|
| 195 |
+
pdbfh.close()
|
| 196 |
+
sys.exit(0)
|
| 197 |
+
|
| 198 |
+
|
| 199 |
+
if __name__ == '__main__':
|
| 200 |
+
main()
|
model/utils/pymol_3d_visuals.py
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
|
| 3 |
+
import subprocess
|
| 4 |
+
|
| 5 |
+
import logging
|
| 6 |
+
LOG = logging.getLogger(__name__)
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def generate_pymol_image(pdb_path, chopping, image_out_path, path_to_script,
|
| 10 |
+
pymol_executable):
|
| 11 |
+
"""
|
| 12 |
+
This function generates a pymol script which describes how one protein should be visualized
|
| 13 |
+
and saved as a png file. Script is then executed via subprocess.
|
| 14 |
+
Delimit separate domains with commas , and discontinuous domains
|
| 15 |
+
with underscores _. Residue ranges separated by hyphens -, e.g. 1-100,101-200_300-340
|
| 16 |
+
:param pdb_path: string which is the path to a .pdb file
|
| 17 |
+
:param bounds: domain boundaries expressed in residue author numbers in the pdb file e.g. 1-100,101-200_300-340
|
| 18 |
+
:param path_to_script: where the pymol bash script is saved
|
| 19 |
+
:param pymol_executable: path to pymol executable
|
| 20 |
+
:return: None
|
| 21 |
+
"""
|
| 22 |
+
script_text = f"""
|
| 23 |
+
load {pdb_path}, structure
|
| 24 |
+
hide everything
|
| 25 |
+
bg_color white
|
| 26 |
+
as cartoon, structure
|
| 27 |
+
set ray_opaque_background,1
|
| 28 |
+
color white, structure\n"""
|
| 29 |
+
color_list = ['green', 'red', 'cyan', 'magenta', 'blue', 'orange', 'dirtyviolet', 'olive',
|
| 30 |
+
'limon', 'salmon', 'deepteal', 'yellow', 'sand', 'purpleblue', 'black']
|
| 31 |
+
bounds = chopping.split(',')
|
| 32 |
+
for i, bound in enumerate(bounds):
|
| 33 |
+
if len(bound):
|
| 34 |
+
domain_color = color_list[i % len(color_list)]
|
| 35 |
+
for segment in bound.split('_'):
|
| 36 |
+
start, end = segment.split('-')
|
| 37 |
+
script_text += f"color {domain_color}, structure and resi {start}-{end}\n"
|
| 38 |
+
script_text += "orient\n"
|
| 39 |
+
script_text += f"png {image_out_path}, ray=1, width=20cm, dpi=300,\n"
|
| 40 |
+
script_text += f"save {image_out_path.split('.')[0] + '.pse'}\n"
|
| 41 |
+
with open(path_to_script, 'w') as filehandle:
|
| 42 |
+
filehandle.write(script_text)
|
| 43 |
+
bash_command = f"{pymol_executable} -c {path_to_script}"
|
| 44 |
+
status = subprocess.run(bash_command.split(), timeout=120)
|
| 45 |
+
os.remove(path_to_script)
|
| 46 |
+
return status
|
| 47 |
+
|
model/utils/secondary_structure.py
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Created by Jude Wells 2023-04-20
|
| 3 |
+
Objective is to create a secondary structure matrix for each protein
|
| 4 |
+
1) renumbers the pdb file (1-indexed)
|
| 5 |
+
2) runs stride to get secondary structure file
|
| 6 |
+
3) parses the secondary structure file to create a matrix of secondary structure
|
| 7 |
+
|
| 8 |
+
# should take around 3 minutes for 1000 structures
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
import os
|
| 12 |
+
import re
|
| 13 |
+
import subprocess
|
| 14 |
+
import sys
|
| 15 |
+
|
| 16 |
+
import numpy as np
|
| 17 |
+
|
| 18 |
+
from model.constants import REPO_ROOT
|
| 19 |
+
import logging
|
| 20 |
+
LOG = logging.getLogger(__name__)
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
def calculate_ss(pdbfile, chain, stride_path, ssfile='pdb_ss'):
|
| 24 |
+
assert os.path.exists(pdbfile)
|
| 25 |
+
with open(ssfile, 'w') as ssout_file:
|
| 26 |
+
args = [stride_path, pdbfile, '-r' + chain]
|
| 27 |
+
LOG.info(f"Running command: {' '.join(args)}")
|
| 28 |
+
try:
|
| 29 |
+
subprocess.run(args,
|
| 30 |
+
stdout=ssout_file,
|
| 31 |
+
stderr=subprocess.DEVNULL,
|
| 32 |
+
check=True)
|
| 33 |
+
except subprocess.CalledProcessError as e:
|
| 34 |
+
LOG.warning(f"Stride failed on {pdbfile}, creating empty file")
|
| 35 |
+
pass
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
def make_ss_matrix(ss_path, nres):
|
| 39 |
+
# create matrices for helix and strad residues where entry ij = 1 if i and j are in the same helix or strand
|
| 40 |
+
with open(ss_path) as f:
|
| 41 |
+
lines = f.readlines()
|
| 42 |
+
type_set = set()
|
| 43 |
+
helix = np.zeros([nres, nres], dtype=np.float32)
|
| 44 |
+
strand = np.zeros([nres, nres], dtype=np.float32)
|
| 45 |
+
for line in lines:
|
| 46 |
+
if line.startswith('LOC'):
|
| 47 |
+
start = int(re.sub(r'\D', '', line[22:28].strip()))
|
| 48 |
+
end = int(re.sub(r'\D', '', line[40:46].strip()))
|
| 49 |
+
type = line[5:17].strip()
|
| 50 |
+
type_set.add(type)
|
| 51 |
+
if type in ['AlphaHelix', '310Helix']:
|
| 52 |
+
helix[start-1:end, start-1:end] = 1
|
| 53 |
+
elif type == 'Strand':
|
| 54 |
+
strand[start-1:end, start-1:end] = 1
|
| 55 |
+
elif line.startswith('ASG'):
|
| 56 |
+
break
|
| 57 |
+
return helix, strand
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
def renum_pdb_file(pdb_path, output_pdb_path):
|
| 61 |
+
pdb_reres_path = REPO_ROOT / 'model/utils/pdb_reres.py'
|
| 62 |
+
with open(output_pdb_path, "w") as output_file:
|
| 63 |
+
subprocess.run([sys.executable, str(pdb_reres_path), pdb_path],
|
| 64 |
+
stdout=output_file,
|
| 65 |
+
check=True,
|
| 66 |
+
text=True)
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
def main(chain_ids, pdb_dir, feature_dir, stride_path, reres_path, savedir, job_index=0):
|
| 70 |
+
os.makedirs(savedir, exist_ok=True)
|
| 71 |
+
os.makedirs(os.path.join(savedir, '2d_features'), exist_ok=True)
|
| 72 |
+
for chain_id in chain_ids:
|
| 73 |
+
try:
|
| 74 |
+
pdb_path = os.path.join(pdb_dir, chain_id + '.pdb')
|
| 75 |
+
if os.path.exists(pdb_path):
|
| 76 |
+
features = np.load(os.path.join(feature_dir, chain_id + '.npz'))['arr_0']
|
| 77 |
+
nres = features.shape[-1]
|
| 78 |
+
LOG.info("Processing", pdb_path)
|
| 79 |
+
chain = chain_id[4]
|
| 80 |
+
output_pdb_path = os.path.join(savedir, f"{job_index}.pdb") # this gets overwritten to save memory
|
| 81 |
+
file_nres = renum_pdb_file(pdb_path, reres_path, output_pdb_path)
|
| 82 |
+
if nres != file_nres:
|
| 83 |
+
with open(os.path.join(savedir, 'error.txt'), 'a') as f:
|
| 84 |
+
msg = f' residue number mismatch (from features) {nres}, (from pdb file) {file_nres}'
|
| 85 |
+
f.write(chain_id + msg + '\n')
|
| 86 |
+
ss_filepath = os.path.join(savedir, f'pdb_ss{job_index}.txt') # this gets overwritten to save memory
|
| 87 |
+
calculate_ss(output_pdb_path, chain, stride_path, ssfile=ss_filepath)
|
| 88 |
+
helix, strand = make_ss_matrix(ss_filepath, nres=nres)
|
| 89 |
+
np.savez_compressed(
|
| 90 |
+
os.path.join(*[savedir, '2d_features', chain_id + '.npz']),
|
| 91 |
+
np.stack((features, helix, strand), axis=0))
|
| 92 |
+
except Exception as e:
|
| 93 |
+
with open(os.path.join(savedir, 'error.txt'), 'a') as f:
|
| 94 |
+
f.write(chain_id + str(e) + '\n')
|
scripts/__init__.py
ADDED
|
File without changes
|
scripts/chainsaw_submit.ucl_cs.sh
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
#
|
| 4 |
+
# Submit chainsaw job array to SGE cluster
|
| 5 |
+
#
|
| 6 |
+
# usage:
|
| 7 |
+
# qsub -t 1-16933 chainsaw_submit.ucl_cs.sh
|
| 8 |
+
#
|
| 9 |
+
# Each job will expect to find an equivalent file containing a list of zipfiles,
|
| 10 |
+
# created by:
|
| 11 |
+
#
|
| 12 |
+
# split --suffix-length=8 --numeric-suffixes=1 --lines=1000 ../all_proteome_zipfiles.txt zipfiles.
|
| 13 |
+
#
|
| 14 |
+
|
| 15 |
+
log () {
|
| 16 |
+
echo "[$(date)] ${1:-}"
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
if [[ "$SGE_TASK_ID" == "undefined" ]]; then
|
| 20 |
+
log "Need to specify the job array details in the qsub command"
|
| 21 |
+
log "example: qsub -t 1-16933:1 <script>"
|
| 22 |
+
log
|
| 23 |
+
exit 1
|
| 24 |
+
fi
|
| 25 |
+
|
| 26 |
+
CATH_VERSION=v4_3_0
|
| 27 |
+
HOME_DIR=/home/$USER
|
| 28 |
+
SHARED_REPO="${SHARED_REPO:-${SGE_O_WORKDIR}/chainsaw}"
|
| 29 |
+
SCRATCH_DIR=/scratch0/$USER
|
| 30 |
+
LOCAL_TASK_DIR=$SCRATCH_DIR/$JOB_NAME-$JOB_ID-$SGE_TASK_ID
|
| 31 |
+
PYTHON_EXE=${SGE_O_WORKDIR}/venv/bin/python3
|
| 32 |
+
APPEND_FLAG="--append"
|
| 33 |
+
RESULT_VERSION=1
|
| 34 |
+
|
| 35 |
+
# assumes the zip index file has been split into chunks (named 'zipindex.00000001')
|
| 36 |
+
ZIPFILES_LIST_FILE=${SGE_O_WORKDIR}/data/zipfiles.`printf "%08d" $SGE_TASK_ID`
|
| 37 |
+
RESULTS_FILE=${SGE_O_WORKDIR}/results/$(basename $ZIPFILES_LIST_FILE).results_v${RESULT_VERSION}.csv
|
| 38 |
+
|
| 39 |
+
if [ ! -e "${PYTHON_EXE}" ]
|
| 40 |
+
then
|
| 41 |
+
log "ERROR: python executable does not exist - have you built a venv? (PYTHON_EXE=$PYTHON_EXE)"
|
| 42 |
+
exit 1
|
| 43 |
+
fi
|
| 44 |
+
|
| 45 |
+
if [ ! -e "${ZIPFILES_LIST_FILE}" ]
|
| 46 |
+
then
|
| 47 |
+
log "ERROR: input list file '${ZIPFILES_LIST_FILE}' does not exist"
|
| 48 |
+
exit 1
|
| 49 |
+
fi
|
| 50 |
+
|
| 51 |
+
if [ -e "${RESULTS_FILE}" && "${APPEND_FLAG}" != "" ]
|
| 52 |
+
then
|
| 53 |
+
log "ERROR: output file '${RESULTS_FILE}' already exists (will not overwrite)"
|
| 54 |
+
exit 1
|
| 55 |
+
fi
|
| 56 |
+
|
| 57 |
+
log "ZIPFILES_LIST_FILE : $ZIPFILES_LIST_FILE"
|
| 58 |
+
log "RESULTS_FILE : $RESULTS_FILE"
|
| 59 |
+
log "DATE_STARTED : "`date`
|
| 60 |
+
log
|
| 61 |
+
log "HOSTNAME : $HOSTNAME"
|
| 62 |
+
log "SGE_TASK_ID : $SGE_TASK_ID"
|
| 63 |
+
log "GIT_REMOTE : $SHARED_REPO"
|
| 64 |
+
log "LOCAL_TASK_DIR : $LOCAL_TASK_DIR"
|
| 65 |
+
|
| 66 |
+
# die on errors
|
| 67 |
+
set -e
|
| 68 |
+
|
| 69 |
+
log "Creating output directories ..."
|
| 70 |
+
mkdir -p $(dirname $RESULTS_FILE)
|
| 71 |
+
log " ...DONE"
|
| 72 |
+
|
| 73 |
+
log "Loading python ..."
|
| 74 |
+
source /share/apps/source_files/python/python-3.8.5.source
|
| 75 |
+
log " ...DONE"
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
process_zipfile () {
|
| 79 |
+
|
| 80 |
+
zipfile="$1"
|
| 81 |
+
|
| 82 |
+
mkdir -p $LOCAL_TASK_DIR
|
| 83 |
+
cd $LOCAL_TASK_DIR
|
| 84 |
+
LOCAL_PDB_DIR=$LOCAL_TASK_DIR/pdb
|
| 85 |
+
mkdir -p $LOCAL_PDB_DIR
|
| 86 |
+
|
| 87 |
+
log "Unzipping $zipfile ..."
|
| 88 |
+
unzip -d $LOCAL_PDB_DIR $zipfile
|
| 89 |
+
log " ...DONE"
|
| 90 |
+
|
| 91 |
+
log "Running chainsaw on $zipfile ..."
|
| 92 |
+
$PYTHON_EXE $SHARED_REPO/scripts/get_predictions.py --structure_directory $LOCAL_PDB_DIR $APPEND_FLAG -o $RESULTS_FILE && rc=$? || rc=$?
|
| 93 |
+
log "EXIT_CODE: $rc"
|
| 94 |
+
log "...DONE"
|
| 95 |
+
|
| 96 |
+
log "Removing local temp task dir ..."
|
| 97 |
+
rm -rf $LOCAL_TASK_DIR
|
| 98 |
+
log "...DONE"
|
| 99 |
+
|
| 100 |
+
log "DATE_FINISHED : " $(date)
|
| 101 |
+
if [ "$rc" == "0" ]
|
| 102 |
+
then
|
| 103 |
+
log "JOB_COMPLETE OK $zipfile"
|
| 104 |
+
elif [ "$rc" == "1" ]
|
| 105 |
+
then
|
| 106 |
+
log "JOB_COMPLETE ERROR $zipfile"
|
| 107 |
+
fi
|
| 108 |
+
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
for zipfile in $(cat $ZIPFILES_LIST_FILE)
|
| 112 |
+
do
|
| 113 |
+
process_zipfile $zipfile
|
| 114 |
+
done
|
scripts/development/data_and_benchmarking/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Train test splits can be found in `chainsaw_cath1363_train_test_splits.json`
|
| 2 |
+
|
| 3 |
+
Ground truth domains, Chainsaw predictions and performance metrics on the CATH1363 test set can be found in `chainsaw_model_v3_on_cath1363_test.csv`
|
| 4 |
+
|
| 5 |
+
Chainsaw predictions on the CATH1363 test set can be reproduced with the following command:
|
| 6 |
+
|
| 7 |
+
`python scripts/get_predictions.py --structure_directory path/to/pdbs --model_dir weight/model_v3 --config_dir conf/model_v3 --renumber_pdbs -o output.tsv --use_first_chain --no_post_processing`
|
| 8 |
+
|
| 9 |
+
Note that the predictions in `chainsaw_model_v3_on_cath1363_test.csv` assume zero-indexed pdbs with consecutive indices for all residues in the pdb file.
|
| 10 |
+
|
| 11 |
+
`|` separates different domains
|
| 12 |
+
|
| 13 |
+
`_` separates different segments in the same domain
|
scripts/development/data_and_benchmarking/chainsaw_cath1363_train_test_splits.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
scripts/development/data_and_benchmarking/chainsaw_model_v3_on_cath1363_test.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
scripts/development/experiments/chop_newfolds_cluster.py
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
import os
|
| 3 |
+
import argparse
|
| 4 |
+
from get_predictions import predict, load_model, parse_args
|
| 5 |
+
import time
|
| 6 |
+
|
| 7 |
+
parser = argparse.ArgumentParser()
|
| 8 |
+
parser.add_argument('--task_index', type=int, default=0)
|
| 9 |
+
parser.add_argument('--pymol_exe', type=str, default="/Applications/PyMOL.app/Contents/MacOS/PyMOL")
|
| 10 |
+
parser.add_argument('--working_dir', type=str, default="/SAN/cath/cath_v4_3_0/alphafold/chainsaw_on_alphafold")
|
| 11 |
+
parser.add_argument('--structure_dir', type=str, default="/SAN/cath/cath_v4_3_0/alphafold/chainsaw_on_alphafold/newfolds_from_tcluster/pdb")
|
| 12 |
+
parser.add_argument('--outer_save_dir', type=str, default="chainsaw_results")
|
| 13 |
+
parser.add_argument('--pymol_visual', dest='pymol_visual', action='store_true', help='whether to generate pymol images')
|
| 14 |
+
|
| 15 |
+
args = parser.parse_args()
|
| 16 |
+
|
| 17 |
+
global PYMOL_EXE
|
| 18 |
+
PYMOL_EXE = args.pymol_exe
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
def write_index_file(structure_index_filepath, structure_dir):
|
| 22 |
+
with open(structure_index_filepath, 'w') as f:
|
| 23 |
+
for fname in sorted(os.listdir(structure_dir)):
|
| 24 |
+
f.write(fname + "\n")
|
| 25 |
+
|
| 26 |
+
def write_results(prediction_results, result_dir):
|
| 27 |
+
with open(os.path.join(result_dir, prediction_results[0].chain_id + '.txt'), 'w') as f:
|
| 28 |
+
f.write(f'{prediction_results[0].chain_id}, uncertainty:{prediction_results[0].uncertainty:.3g}\n')
|
| 29 |
+
for res in prediction_results:
|
| 30 |
+
f.write(f'{res.domain_id}, {res.chopping}\n')
|
| 31 |
+
|
| 32 |
+
if __name__=="__main__":
|
| 33 |
+
start = time.time()
|
| 34 |
+
working_directory = args.working_dir
|
| 35 |
+
os.chdir(working_directory)
|
| 36 |
+
error_filepath = 'errors.txt'
|
| 37 |
+
if not os.path.exists(error_filepath):
|
| 38 |
+
with open(error_filepath, 'w') as f:
|
| 39 |
+
f.write("")
|
| 40 |
+
batch_size = 36
|
| 41 |
+
task_index = int(args.task_index) -1
|
| 42 |
+
structure_dir = args.structure_dir
|
| 43 |
+
outer_save_dir = args.outer_save_dir
|
| 44 |
+
structure_index_filepath = 'file_list.txt'
|
| 45 |
+
if not os.path.exists(structure_index_filepath):
|
| 46 |
+
write_index_file(structure_index_filepath, structure_dir)
|
| 47 |
+
|
| 48 |
+
with open(structure_index_filepath, 'r') as f:
|
| 49 |
+
structure_lines = f.readlines()[task_index*batch_size:(task_index+1)*batch_size]
|
| 50 |
+
sys.argv = sys.argv[:1] # stupid hack to use argparse with two sets of arguments
|
| 51 |
+
args = parse_args()
|
| 52 |
+
visualize_domain_preds = args.pymol_visual
|
| 53 |
+
image_save_dir = os.path.join(outer_save_dir, "images")
|
| 54 |
+
os.makedirs(outer_save_dir, exist_ok=True)
|
| 55 |
+
os.makedirs(image_save_dir, exist_ok=True)
|
| 56 |
+
model = load_model(model_dir=args.model_dir, remove_disordered_domain_threshold=args.remove_disordered_domain_threshold,
|
| 57 |
+
min_ss_components=args.min_ss_components, min_domain_length=args.min_domain_length)
|
| 58 |
+
|
| 59 |
+
for i, line in enumerate(structure_lines):
|
| 60 |
+
structure_path = os.path.join(structure_dir, line.strip())
|
| 61 |
+
try:
|
| 62 |
+
prediction_results = predict(model, structure_path, renumber_pdbs=True)
|
| 63 |
+
write_results(prediction_results, outer_save_dir)
|
| 64 |
+
if i in [0, 5] and visualize_domain_preds:
|
| 65 |
+
write_pymol_script(results=prediction_results, save_dir=image_save_dir)
|
| 66 |
+
except Exception as e:
|
| 67 |
+
with open(error_filepath, 'a') as f:
|
| 68 |
+
f.write(f"{line.strip()}, {e}, {task_index} \n")
|
| 69 |
+
continue
|
| 70 |
+
total_time = time.time() - start
|
| 71 |
+
print(f"Time taken for {batch_size}: {total_time}")
|
| 72 |
+
|
scripts/development/experiments/speed_test_human200.py
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import time
|
| 3 |
+
|
| 4 |
+
import pandas as pd
|
| 5 |
+
|
| 6 |
+
from get_predictions import predict, load_model, parse_args
|
| 7 |
+
import matplotlib.pyplot as plt
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
if __name__=="__main__":
|
| 11 |
+
args = parse_args()
|
| 12 |
+
# structure_dir = "/Users/judewells/Documents/dataScienceProgramming/data_for_domdet/human_200_c2m"
|
| 13 |
+
outer_save_dir = "/Users/judewells/Documents/dataScienceProgramming/data_for_domdet/human200_ss17_model_w_post_proc"
|
| 14 |
+
structure_dir = "/Users/judewells/Documents/dataScienceProgramming/data_for_domdet/UP000005640_9606_HUMAN_v4"
|
| 15 |
+
# outer_save_dir = "/Users/judewells/Documents/dataScienceProgramming/data_for_domdet/human200_mse_ss_excl_f32_MSE_sym"
|
| 16 |
+
os.makedirs(outer_save_dir, exist_ok=True)
|
| 17 |
+
model = load_model(model_dir=args.model_dir, remove_disordered_domain_threshold=args.remove_disordered_domain_threshold,
|
| 18 |
+
min_ss_components=args.min_ss_components, min_domain_length=args.min_domain_length)
|
| 19 |
+
with open("experiments/sampled_structures.txt", 'r') as f:
|
| 20 |
+
lines = f.readlines()
|
| 21 |
+
res_list = []
|
| 22 |
+
time_list = []
|
| 23 |
+
af_id_list = []
|
| 24 |
+
for i, af_id in enumerate(lines):
|
| 25 |
+
try:
|
| 26 |
+
af_id, n_res = af_id.split(",")
|
| 27 |
+
af_id = af_id.strip()
|
| 28 |
+
print(af_id, n_res)
|
| 29 |
+
pdb_path = os.path.join(structure_dir, f"{af_id}.pdb")
|
| 30 |
+
start = time.time()
|
| 31 |
+
prediction_results = predict(model, pdb_path, renumber_pdbs=False)
|
| 32 |
+
end = time.time()
|
| 33 |
+
res_list.append(int(n_res))
|
| 34 |
+
time_list.append(end-start)
|
| 35 |
+
af_id_list.append(af_id)
|
| 36 |
+
except:
|
| 37 |
+
pass
|
| 38 |
+
plt.scatter(res_list, time_list)
|
| 39 |
+
plt.xlabel("Number of residues")
|
| 40 |
+
plt.ylabel("Time (s)")
|
| 41 |
+
plt.savefig("chainsaw_macbook_speed_test.png")
|
| 42 |
+
plt.show()
|
| 43 |
+
df = pd.DataFrame({"af_id": af_id_list, "n_res": res_list, "time": time_list})
|
| 44 |
+
df.to_csv("chainsaw_macbook_speed_test.csv", index=False)
|
| 45 |
+
|
scripts/development/notebooks/InteractiveUsageExample.ipynb
ADDED
|
@@ -0,0 +1,380 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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n",
|
| 14 |
+
"from pathlib import Path\n",
|
| 15 |
+
"import Bio.PDB\n",
|
| 16 |
+
"\n",
|
| 17 |
+
"# TODO: make a proper package for interactive usage, will remove need for hack\n",
|
| 18 |
+
"try:\n",
|
| 19 |
+
" if CORRECT_DIR:\n",
|
| 20 |
+
" pass \n",
|
| 21 |
+
"except:\n",
|
| 22 |
+
" os.chdir(\"..\")\n",
|
| 23 |
+
"CORRECT_DIR = True\n",
|
| 24 |
+
"\n",
|
| 25 |
+
"from matplotlib import pyplot as plt\n",
|
| 26 |
+
" \n",
|
| 27 |
+
"from model import featurisers\n",
|
| 28 |
+
"from model.utils import common as common_utils\n",
|
| 29 |
+
"from model.factories import pairwise_predictor\n",
|
| 30 |
+
"from model.utils.cif2pdb import cif2pdb\n",
|
| 31 |
+
"\n",
|
| 32 |
+
"%matplotlib inline"
|
| 33 |
+
]
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"cell_type": "code",
|
| 37 |
+
"execution_count": 2,
|
| 38 |
+
"id": "e0c2ee6c",
|
| 39 |
+
"metadata": {},
|
| 40 |
+
"outputs": [],
|
| 41 |
+
"source": [
|
| 42 |
+
"PDB_FILE = \"scripts/example_files/AF-A0A1W2PQ64-F1-model_v4.pdb\"\n",
|
| 43 |
+
"CHAIN = \"A\""
|
| 44 |
+
]
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"cell_type": "code",
|
| 48 |
+
"execution_count": 3,
|
| 49 |
+
"id": "62866b91",
|
| 50 |
+
"metadata": {},
|
| 51 |
+
"outputs": [],
|
| 52 |
+
"source": [
|
| 53 |
+
"model_structure = featurisers.get_model_structure(PDB_FILE)\n",
|
| 54 |
+
"model_structure_seq = featurisers.get_model_structure_sequence(model_structure, chain=CHAIN)"
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"cell_type": "code",
|
| 59 |
+
"execution_count": 4,
|
| 60 |
+
"id": "92be9389",
|
| 61 |
+
"metadata": {},
|
| 62 |
+
"outputs": [],
|
| 63 |
+
"source": [
|
| 64 |
+
"def load_model(\n",
|
| 65 |
+
" model_dir: str,\n",
|
| 66 |
+
" remove_disordered_domain_threshold: float = 0.35,\n",
|
| 67 |
+
" min_ss_components: int = 2,\n",
|
| 68 |
+
" min_domain_length: int = 30,\n",
|
| 69 |
+
"):\n",
|
| 70 |
+
" config = common_utils.load_json(os.path.join(model_dir, \"config.json\"))\n",
|
| 71 |
+
" config[\"learner\"][\"remove_disordered_domain_threshold\"] = remove_disordered_domain_threshold\n",
|
| 72 |
+
" config[\"learner\"][\"post_process_domains\"] = True\n",
|
| 73 |
+
" config[\"learner\"][\"min_ss_components\"] = min_ss_components\n",
|
| 74 |
+
" config[\"learner\"][\"min_domain_length\"] = min_domain_length\n",
|
| 75 |
+
" learner = pairwise_predictor(config[\"learner\"], output_dir=model_dir)\n",
|
| 76 |
+
" learner.eval()\n",
|
| 77 |
+
" learner.load_checkpoints()\n",
|
| 78 |
+
" return learner\n",
|
| 79 |
+
"\n",
|
| 80 |
+
"model = load_model(\"weight/model_v3\", config_dir=\"conf/model_v3\")"
|
| 81 |
+
]
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"cell_type": "code",
|
| 85 |
+
"execution_count": 5,
|
| 86 |
+
"id": "a6cd8597",
|
| 87 |
+
"metadata": {},
|
| 88 |
+
"outputs": [],
|
| 89 |
+
"source": [
|
| 90 |
+
"x = featurisers.inference_time_create_features(\n",
|
| 91 |
+
" PDB_FILE,\n",
|
| 92 |
+
" chain=CHAIN,\n",
|
| 93 |
+
" secondary_structure=True,\n",
|
| 94 |
+
" renumber_pdbs=True,\n",
|
| 95 |
+
" model_structure=model_structure,\n",
|
| 96 |
+
")"
|
| 97 |
+
]
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"cell_type": "code",
|
| 101 |
+
"execution_count": 6,
|
| 102 |
+
"id": "59b868a8",
|
| 103 |
+
"metadata": {},
|
| 104 |
+
"outputs": [],
|
| 105 |
+
"source": [
|
| 106 |
+
"A_hat, domain_dict, confidence_array = model.predict(x)"
|
| 107 |
+
]
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"cell_type": "markdown",
|
| 111 |
+
"id": "a5ba3b4d",
|
| 112 |
+
"metadata": {},
|
| 113 |
+
"source": [
|
| 114 |
+
"## Inspect model outputs\n",
|
| 115 |
+
"\n",
|
| 116 |
+
"1. Soft domain adjacency matrix\n",
|
| 117 |
+
"2. Hard domain assignments\n",
|
| 118 |
+
"3. Confidence of prediction"
|
| 119 |
+
]
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"cell_type": "code",
|
| 123 |
+
"execution_count": 7,
|
| 124 |
+
"id": "c00b7160",
|
| 125 |
+
"metadata": {},
|
| 126 |
+
"outputs": [
|
| 127 |
+
{
|
| 128 |
+
"data": {
|
| 129 |
+
"text/plain": [
|
| 130 |
+
"<matplotlib.image.AxesImage at 0x147322610>"
|
| 131 |
+
]
|
| 132 |
+
},
|
| 133 |
+
"execution_count": 7,
|
| 134 |
+
"metadata": {},
|
| 135 |
+
"output_type": "execute_result"
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"data": {
|
| 139 |
+
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAQEAAAD8CAYAAAB3lxGOAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/NK7nSAAAACXBIWXMAAAsTAAALEwEAmpwYAAC9U0lEQVR4nOz9baxtW5MWhj1VY8611tnnnHvv+3Y3TZtu1BABkkFJR0bwI4EQESfEcoKIIgKRLAyWAcn8iBQpBiIllpEllJggSygoIFoYyeFDwtjIIYmRJdvKDxI+bBHbGLubgOh2019v33vPOXuvteYco/KjqsaoOdaca699zrlv73bfOtpn7zXX/BhzzlE1qp76IhHB1/Q1fU0/f4l/tgfwNX1NX9PPLn0tBL6mr+nnOX0tBL6mr+nn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qO+AzwEsnHtP9opeAT9vrTwO/crqh3Dmp6j8A35t8vDSnl4C/0Ez/BPyQiPzoAxnoO6SF+S3RS8BnrAHvfwGvktfyQ0mnFgI/Bvx38/5b9tnDTgr8nYj8i7VgB3heVb9tr/8XeP40Q7untDSnR+m+ftxMmpcbE+5Rmt/JhcCjSj+vqu8nq8UfE5FfaL/U7JJ5pNwyj+KcyGbMTwEvAt8G/uCko7lPdGoh8BrwE837H7fPHmpS1dfs+XXg82RV8TuuEtvz66cb4T2jpTk9EvdVVb+jqqOqJuDPqSr/IzE/p1MLgS8DL4jIe0XkjAy2fOHEY7orEpHrIvKUvwZ+CfgqeV4ftcM+Cvz1aUZ4T2lpTl8AfsO8BD8H/KAxGx4amuAYv0q+j5Dn9xERuSYi7yUDoP/8oMd3r+ikqcSqehCRjwN/Sy6j8bKqfu2UY7oH9DzweeskvAH+UlX/RkS+DHxWRH4b+Cbwaycc4x2TiPwV8AHgORH5FvC7wO8zP6cvAh8mA2Y3gd964AO+Q1qY3wdE5EWymfMN4HcAVPVrIvJZ4N+BA/Ax1dsU8rvCtEYMrrTSY06nNgdWWmmlE9MqBFZa6TGnVQistNJjTqsQWGmlx5xWIbDSSo85rUJgpZUec1qFwEorPea0CoGVVnrM6f8Bhml5R5nVuAEAAAAASUVORK5CYII=\n",
|
| 140 |
+
"text/plain": [
|
| 141 |
+
"<Figure size 432x288 with 1 Axes>"
|
| 142 |
+
]
|
| 143 |
+
},
|
| 144 |
+
"metadata": {
|
| 145 |
+
"needs_background": "light"
|
| 146 |
+
},
|
| 147 |
+
"output_type": "display_data"
|
| 148 |
+
}
|
| 149 |
+
],
|
| 150 |
+
"source": [
|
| 151 |
+
"plt.imshow(A_hat[0])"
|
| 152 |
+
]
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"cell_type": "code",
|
| 156 |
+
"execution_count": 8,
|
| 157 |
+
"id": "279df36c",
|
| 158 |
+
"metadata": {},
|
| 159 |
+
"outputs": [
|
| 160 |
+
{
|
| 161 |
+
"data": {
|
| 162 |
+
"text/plain": [
|
| 163 |
+
"{'domain_1': [6,\n",
|
| 164 |
+
" 7,\n",
|
| 165 |
+
" 8,\n",
|
| 166 |
+
" 9,\n",
|
| 167 |
+
" 10,\n",
|
| 168 |
+
" 11,\n",
|
| 169 |
+
" 12,\n",
|
| 170 |
+
" 13,\n",
|
| 171 |
+
" 14,\n",
|
| 172 |
+
" 15,\n",
|
| 173 |
+
" 16,\n",
|
| 174 |
+
" 17,\n",
|
| 175 |
+
" 18,\n",
|
| 176 |
+
" 19,\n",
|
| 177 |
+
" 20,\n",
|
| 178 |
+
" 21,\n",
|
| 179 |
+
" 22,\n",
|
| 180 |
+
" 23,\n",
|
| 181 |
+
" 24,\n",
|
| 182 |
+
" 25,\n",
|
| 183 |
+
" 26,\n",
|
| 184 |
+
" 27,\n",
|
| 185 |
+
" 28,\n",
|
| 186 |
+
" 29,\n",
|
| 187 |
+
" 30,\n",
|
| 188 |
+
" 31,\n",
|
| 189 |
+
" 32,\n",
|
| 190 |
+
" 33,\n",
|
| 191 |
+
" 34,\n",
|
| 192 |
+
" 35,\n",
|
| 193 |
+
" 36,\n",
|
| 194 |
+
" 37,\n",
|
| 195 |
+
" 38,\n",
|
| 196 |
+
" 39,\n",
|
| 197 |
+
" 94,\n",
|
| 198 |
+
" 95,\n",
|
| 199 |
+
" 96,\n",
|
| 200 |
+
" 97,\n",
|
| 201 |
+
" 98,\n",
|
| 202 |
+
" 99,\n",
|
| 203 |
+
" 100,\n",
|
| 204 |
+
" 101,\n",
|
| 205 |
+
" 102,\n",
|
| 206 |
+
" 103,\n",
|
| 207 |
+
" 104,\n",
|
| 208 |
+
" 105,\n",
|
| 209 |
+
" 106,\n",
|
| 210 |
+
" 107,\n",
|
| 211 |
+
" 108,\n",
|
| 212 |
+
" 109,\n",
|
| 213 |
+
" 110,\n",
|
| 214 |
+
" 111,\n",
|
| 215 |
+
" 112,\n",
|
| 216 |
+
" 113,\n",
|
| 217 |
+
" 114,\n",
|
| 218 |
+
" 115,\n",
|
| 219 |
+
" 116,\n",
|
| 220 |
+
" 117,\n",
|
| 221 |
+
" 118,\n",
|
| 222 |
+
" 119,\n",
|
| 223 |
+
" 120,\n",
|
| 224 |
+
" 121,\n",
|
| 225 |
+
" 122,\n",
|
| 226 |
+
" 123,\n",
|
| 227 |
+
" 124,\n",
|
| 228 |
+
" 125,\n",
|
| 229 |
+
" 126,\n",
|
| 230 |
+
" 127,\n",
|
| 231 |
+
" 128,\n",
|
| 232 |
+
" 129,\n",
|
| 233 |
+
" 130,\n",
|
| 234 |
+
" 131,\n",
|
| 235 |
+
" 132,\n",
|
| 236 |
+
" 133,\n",
|
| 237 |
+
" 134,\n",
|
| 238 |
+
" 135,\n",
|
| 239 |
+
" 136,\n",
|
| 240 |
+
" 137,\n",
|
| 241 |
+
" 138,\n",
|
| 242 |
+
" 139,\n",
|
| 243 |
+
" 140,\n",
|
| 244 |
+
" 141,\n",
|
| 245 |
+
" 142,\n",
|
| 246 |
+
" 143,\n",
|
| 247 |
+
" 144,\n",
|
| 248 |
+
" 145,\n",
|
| 249 |
+
" 146,\n",
|
| 250 |
+
" 147,\n",
|
| 251 |
+
" 148,\n",
|
| 252 |
+
" 149,\n",
|
| 253 |
+
" 150,\n",
|
| 254 |
+
" 151,\n",
|
| 255 |
+
" 152,\n",
|
| 256 |
+
" 153,\n",
|
| 257 |
+
" 154,\n",
|
| 258 |
+
" 155,\n",
|
| 259 |
+
" 156,\n",
|
| 260 |
+
" 157,\n",
|
| 261 |
+
" 158,\n",
|
| 262 |
+
" 159,\n",
|
| 263 |
+
" 160,\n",
|
| 264 |
+
" 161,\n",
|
| 265 |
+
" 162,\n",
|
| 266 |
+
" 163,\n",
|
| 267 |
+
" 164,\n",
|
| 268 |
+
" 165,\n",
|
| 269 |
+
" 166,\n",
|
| 270 |
+
" 167,\n",
|
| 271 |
+
" 168,\n",
|
| 272 |
+
" 169,\n",
|
| 273 |
+
" 170,\n",
|
| 274 |
+
" 171,\n",
|
| 275 |
+
" 172,\n",
|
| 276 |
+
" 173,\n",
|
| 277 |
+
" 174,\n",
|
| 278 |
+
" 175,\n",
|
| 279 |
+
" 176,\n",
|
| 280 |
+
" 177,\n",
|
| 281 |
+
" 178,\n",
|
| 282 |
+
" 179,\n",
|
| 283 |
+
" 180,\n",
|
| 284 |
+
" 181,\n",
|
| 285 |
+
" 182,\n",
|
| 286 |
+
" 183,\n",
|
| 287 |
+
" 184,\n",
|
| 288 |
+
" 185,\n",
|
| 289 |
+
" 186,\n",
|
| 290 |
+
" 187,\n",
|
| 291 |
+
" 188,\n",
|
| 292 |
+
" 189,\n",
|
| 293 |
+
" 190,\n",
|
| 294 |
+
" 191,\n",
|
| 295 |
+
" 192],\n",
|
| 296 |
+
" 'domain_2': [41,\n",
|
| 297 |
+
" 42,\n",
|
| 298 |
+
" 43,\n",
|
| 299 |
+
" 44,\n",
|
| 300 |
+
" 45,\n",
|
| 301 |
+
" 46,\n",
|
| 302 |
+
" 47,\n",
|
| 303 |
+
" 48,\n",
|
| 304 |
+
" 49,\n",
|
| 305 |
+
" 50,\n",
|
| 306 |
+
" 51,\n",
|
| 307 |
+
" 52,\n",
|
| 308 |
+
" 53,\n",
|
| 309 |
+
" 54,\n",
|
| 310 |
+
" 55,\n",
|
| 311 |
+
" 56,\n",
|
| 312 |
+
" 57,\n",
|
| 313 |
+
" 58,\n",
|
| 314 |
+
" 59,\n",
|
| 315 |
+
" 60,\n",
|
| 316 |
+
" 61,\n",
|
| 317 |
+
" 62,\n",
|
| 318 |
+
" 63,\n",
|
| 319 |
+
" 64,\n",
|
| 320 |
+
" 65,\n",
|
| 321 |
+
" 66,\n",
|
| 322 |
+
" 67,\n",
|
| 323 |
+
" 68,\n",
|
| 324 |
+
" 69,\n",
|
| 325 |
+
" 70,\n",
|
| 326 |
+
" 71,\n",
|
| 327 |
+
" 72,\n",
|
| 328 |
+
" 73,\n",
|
| 329 |
+
" 74,\n",
|
| 330 |
+
" 75,\n",
|
| 331 |
+
" 76,\n",
|
| 332 |
+
" 77,\n",
|
| 333 |
+
" 78,\n",
|
| 334 |
+
" 79,\n",
|
| 335 |
+
" 80,\n",
|
| 336 |
+
" 81,\n",
|
| 337 |
+
" 82,\n",
|
| 338 |
+
" 83,\n",
|
| 339 |
+
" 84,\n",
|
| 340 |
+
" 85,\n",
|
| 341 |
+
" 86,\n",
|
| 342 |
+
" 87,\n",
|
| 343 |
+
" 88,\n",
|
| 344 |
+
" 89,\n",
|
| 345 |
+
" 90],\n",
|
| 346 |
+
" 'linker': [0, 1, 2, 3, 4, 5, 193, 40, 91, 92, 93]}"
|
| 347 |
+
]
|
| 348 |
+
},
|
| 349 |
+
"execution_count": 8,
|
| 350 |
+
"metadata": {},
|
| 351 |
+
"output_type": "execute_result"
|
| 352 |
+
}
|
| 353 |
+
],
|
| 354 |
+
"source": [
|
| 355 |
+
"domain_dict[0]"
|
| 356 |
+
]
|
| 357 |
+
}
|
| 358 |
+
],
|
| 359 |
+
"metadata": {
|
| 360 |
+
"kernelspec": {
|
| 361 |
+
"display_name": "Python 3 (ipykernel)",
|
| 362 |
+
"language": "python",
|
| 363 |
+
"name": "python3"
|
| 364 |
+
},
|
| 365 |
+
"language_info": {
|
| 366 |
+
"codemirror_mode": {
|
| 367 |
+
"name": "ipython",
|
| 368 |
+
"version": 3
|
| 369 |
+
},
|
| 370 |
+
"file_extension": ".py",
|
| 371 |
+
"mimetype": "text/x-python",
|
| 372 |
+
"name": "python",
|
| 373 |
+
"nbconvert_exporter": "python",
|
| 374 |
+
"pygments_lexer": "ipython3",
|
| 375 |
+
"version": "3.8.9"
|
| 376 |
+
}
|
| 377 |
+
},
|
| 378 |
+
"nbformat": 4,
|
| 379 |
+
"nbformat_minor": 5
|
| 380 |
+
}
|
scripts/development/tests/e2e/test_basic_usage.py
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
End to end test to check the basic usage
|
| 3 |
+
"""
|
| 4 |
+
import os
|
| 5 |
+
import shutil
|
| 6 |
+
import subprocess
|
| 7 |
+
from pathlib import Path
|
| 8 |
+
|
| 9 |
+
import pytest
|
| 10 |
+
|
| 11 |
+
REPO_ROOT = Path(__file__).parents[4].resolve()
|
| 12 |
+
DATA_DIR = REPO_ROOT / "scripts" / "development" / "tests" / "fixtures"
|
| 13 |
+
|
| 14 |
+
@pytest.mark.parametrize("model_id,extra_args,result_cols", (
|
| 15 |
+
(
|
| 16 |
+
"AF-A0A1W2PQ64-F1-model_v4",
|
| 17 |
+
[],
|
| 18 |
+
['AF-A0A1W2PQ64-F1-model_v4', 'a126e3d4d1a2dcadaa684287855d19f4', '194', '2', '7-40_95-193,42-91', '0.831']
|
| 19 |
+
),
|
| 20 |
+
(
|
| 21 |
+
"4wgvC",
|
| 22 |
+
["--use_first_chain"],
|
| 23 |
+
['4wgvC', 'a3a3ba0368e780f401d28f9dbf00e867', '395', '1', '50-438', '0.928']
|
| 24 |
+
),
|
| 25 |
+
(
|
| 26 |
+
"5yclA",
|
| 27 |
+
["--use_first_chain"],
|
| 28 |
+
['5yclA', '7990687b137db1903004b3a9e97e3f09', '131', '2', '7-71,74-140', '0.912']
|
| 29 |
+
),
|
| 30 |
+
))
|
| 31 |
+
def test_basic_usage(tmp_path, model_id, extra_args, result_cols):
|
| 32 |
+
|
| 33 |
+
# setup test data
|
| 34 |
+
example_structure_path = DATA_DIR / f"{model_id}.pdb"
|
| 35 |
+
expected_cols = [
|
| 36 |
+
['chain_id', 'sequence_md5', 'nres', 'ndom', 'chopping', 'confidence'],
|
| 37 |
+
result_cols,
|
| 38 |
+
]
|
| 39 |
+
expected_output = "\r\n".join(["\t".join(row) for row in expected_cols])
|
| 40 |
+
orig_path = Path.cwd()
|
| 41 |
+
script_path = REPO_ROOT / "scripts" / "get_predictions.py"
|
| 42 |
+
model_path = REPO_ROOT / "weight" / "model_v1"
|
| 43 |
+
results_file = tmp_path / "results.tsv"
|
| 44 |
+
|
| 45 |
+
def run_chainsaw(cmd_args):
|
| 46 |
+
completed_process = None
|
| 47 |
+
results_output = None
|
| 48 |
+
try:
|
| 49 |
+
os.chdir(str(tmp_path))
|
| 50 |
+
shutil.copy2(str(example_structure_path), ".")
|
| 51 |
+
completed_process = subprocess.run(cmd_args, check=False, capture_output=True)
|
| 52 |
+
if results_file.exists():
|
| 53 |
+
results_output = results_file.read_text().strip()
|
| 54 |
+
except subprocess.CalledProcessError as e:
|
| 55 |
+
print(f"ERROR: CMD: {e.cmd}")
|
| 56 |
+
print(f"ERROR: STDOUT: {e.stdout.decode()}")
|
| 57 |
+
print(f"ERROR: STDERR: {e.stderr.decode()}")
|
| 58 |
+
finally:
|
| 59 |
+
os.chdir(str(orig_path))
|
| 60 |
+
|
| 61 |
+
return completed_process, results_output
|
| 62 |
+
|
| 63 |
+
base_args = ["python", str(script_path), "--structure_directory", ".", "-o", str(results_file),
|
| 64 |
+
"--model_dir", str(model_path), "--renumber_pdbs",
|
| 65 |
+
]
|
| 66 |
+
|
| 67 |
+
base_args.extend(extra_args)
|
| 68 |
+
|
| 69 |
+
# make sure we can run this in an isolated directory
|
| 70 |
+
completed_process, results_output = run_chainsaw(base_args)
|
| 71 |
+
assert completed_process.returncode == 0
|
| 72 |
+
|
| 73 |
+
# check the output file has the expected content
|
| 74 |
+
assert normalise_output(results_output) == normalise_output(expected_output)
|
| 75 |
+
|
| 76 |
+
# run the same thing again and make sure that it complains about the result file existing
|
| 77 |
+
completed_process, results_output = run_chainsaw(base_args)
|
| 78 |
+
assert completed_process.returncode != 0
|
| 79 |
+
|
| 80 |
+
# run the same thing again allowing for updates
|
| 81 |
+
# and make sure that we skip results that have already been computed
|
| 82 |
+
completed_process, results_output = run_chainsaw(base_args + ["--append"])
|
| 83 |
+
assert completed_process.returncode == 0
|
| 84 |
+
assert normalise_output(results_output) == normalise_output(expected_output)
|
| 85 |
+
|
| 86 |
+
# check that we have skipped the result that has already been computed
|
| 87 |
+
chainsaw_logs = completed_process.stderr.decode()
|
| 88 |
+
assert f"result for '{model_id}' already exists" in chainsaw_logs
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
def normalise_output(output_str):
|
| 92 |
+
if 'time_sec' in output_str:
|
| 93 |
+
lines = output_str.split("\n")
|
| 94 |
+
output_str = "\n".join(["\t".join(l.split("\t")[:-1]) for l in lines])
|
| 95 |
+
return output_str.replace("\r\n", "\n")
|
scripts/development/tests/e2e/test_stride_error.py
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
from pathlib import Path
|
| 3 |
+
import subprocess
|
| 4 |
+
|
| 5 |
+
from test_basic_usage import REPO_ROOT, DATA_DIR, normalise_output
|
| 6 |
+
|
| 7 |
+
def test_basic_usage(tmp_path):
|
| 8 |
+
|
| 9 |
+
# setup test data
|
| 10 |
+
af_id = "AF-A0A0A9LVA1-F1-model_v4"
|
| 11 |
+
example_structure_path = DATA_DIR / f"{af_id}.pdb"
|
| 12 |
+
expected_cols = [
|
| 13 |
+
['chain_id', 'sequence_md5', 'nres', 'ndom', 'chopping', 'confidence'],
|
| 14 |
+
['AF-A0A0A9LVA1-F1-model_v4', 'aed99aecb8126442b8129ea77da917af', '16', '0', 'NULL', '0.932'],
|
| 15 |
+
]
|
| 16 |
+
expected_output = "\n".join(["\t".join(row) for row in expected_cols])
|
| 17 |
+
orig_path = Path.cwd()
|
| 18 |
+
script_path = REPO_ROOT / "scripts" / "get_predictions.py"
|
| 19 |
+
model_path = REPO_ROOT / "weight" / "model_v1"
|
| 20 |
+
|
| 21 |
+
results_file = tmp_path / "test_output.tsv"
|
| 22 |
+
|
| 23 |
+
# make sure we can run this in an isolated directory
|
| 24 |
+
results_output = None
|
| 25 |
+
try:
|
| 26 |
+
os.chdir(str(tmp_path))
|
| 27 |
+
cmd_args = ["python", str(script_path), "--structure_file", str(example_structure_path), "-o", str(results_file),
|
| 28 |
+
"--model_dir", str(model_path), "--renumber_pdbs",
|
| 29 |
+
]
|
| 30 |
+
completed_process = subprocess.run(cmd_args, check=True, capture_output=True)
|
| 31 |
+
results_output = results_file.read_text().strip()
|
| 32 |
+
except subprocess.CalledProcessError as e:
|
| 33 |
+
print(f"ERROR: CMD: {e.cmd}")
|
| 34 |
+
print(f"ERROR: STDOUT: {e.stdout.decode()}")
|
| 35 |
+
print(f"ERROR: STDERR: {e.stderr.decode()}")
|
| 36 |
+
raise
|
| 37 |
+
finally:
|
| 38 |
+
os.chdir(str(orig_path))
|
| 39 |
+
|
| 40 |
+
# check the process ran successfully
|
| 41 |
+
assert completed_process.returncode == 0
|
| 42 |
+
|
| 43 |
+
# check the output file has the expected content
|
| 44 |
+
assert normalise_output(results_output) == normalise_output(expected_output)
|
| 45 |
+
|
| 46 |
+
# check that the logs warned about stride failing
|
| 47 |
+
assert "Stride failed" in completed_process.stderr.decode()
|
scripts/development/tests/fixtures/4wgvC.pdb
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
scripts/development/tests/fixtures/5yclA.pdb
ADDED
|
@@ -0,0 +1,997 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
ATOM 1 N ILE A 4 -54.209 25.624 -12.115 1.00 60.29
|
| 2 |
+
ATOM 2 CA ILE A 4 -52.998 26.408 -12.323 1.00 59.39
|
| 3 |
+
ATOM 3 C ILE A 4 -53.275 27.884 -12.057 1.00 68.73
|
| 4 |
+
ATOM 4 O ILE A 4 -54.433 28.295 -11.946 1.00 65.92
|
| 5 |
+
ATOM 5 CB ILE A 4 -52.440 26.202 -13.739 1.00 54.40
|
| 6 |
+
ATOM 6 N ALA A 5 -52.199 28.671 -11.959 1.00 68.73
|
| 7 |
+
ATOM 7 CA ALA A 5 -52.267 30.097 -11.653 1.00 62.21
|
| 8 |
+
ATOM 8 C ALA A 5 -52.950 30.348 -10.313 1.00 80.84
|
| 9 |
+
ATOM 9 O ALA A 5 -53.226 29.404 -9.565 1.00 92.39
|
| 10 |
+
ATOM 10 CB ALA A 5 -52.987 30.860 -12.769 1.00 68.98
|
| 11 |
+
ATOM 11 N ASP A 6 -53.197 31.621 -9.992 1.00 76.89
|
| 12 |
+
ATOM 12 CA ASP A 6 -53.928 32.035 -8.794 1.00 64.43
|
| 13 |
+
ATOM 13 C ASP A 6 -53.232 31.640 -7.494 1.00 71.00
|
| 14 |
+
ATOM 14 O ASP A 6 -53.663 32.043 -6.409 1.00 72.10
|
| 15 |
+
ATOM 15 CB ASP A 6 -55.348 31.458 -8.810 1.00 67.18
|
| 16 |
+
ATOM 16 CG ASP A 6 -56.397 32.499 -9.131 1.00 83.15
|
| 17 |
+
ATOM 17 OD1 ASP A 6 -56.037 33.550 -9.697 1.00 98.24
|
| 18 |
+
ATOM 18 OD2 ASP A 6 -57.582 32.267 -8.815 1.00 86.44
|
| 19 |
+
ATOM 19 N ILE A 7 -52.160 30.853 -7.588 1.00 65.60
|
| 20 |
+
ATOM 20 CA ILE A 7 -51.389 30.464 -6.412 1.00 49.21
|
| 21 |
+
ATOM 21 C ILE A 7 -50.334 31.501 -6.047 1.00 45.07
|
| 22 |
+
ATOM 22 O ILE A 7 -49.858 31.511 -4.902 1.00 44.34
|
| 23 |
+
ATOM 23 CB ILE A 7 -50.753 29.077 -6.612 1.00 54.09
|
| 24 |
+
ATOM 24 CG1 ILE A 7 -49.787 29.093 -7.796 1.00 56.29
|
| 25 |
+
ATOM 25 CG2 ILE A 7 -51.837 28.019 -6.788 1.00 64.52
|
| 26 |
+
ATOM 26 CD1 ILE A 7 -49.509 27.720 -8.359 1.00 49.42
|
| 27 |
+
ATOM 27 N LEU A 8 -49.952 32.369 -6.988 1.00 75.65
|
| 28 |
+
ATOM 28 CA LEU A 8 -49.065 33.479 -6.657 1.00 64.75
|
| 29 |
+
ATOM 29 C LEU A 8 -49.697 34.385 -5.610 1.00 61.22
|
| 30 |
+
ATOM 30 O LEU A 8 -48.984 35.015 -4.822 1.00 76.27
|
| 31 |
+
ATOM 31 CB LEU A 8 -48.721 34.284 -7.914 1.00 60.62
|
| 32 |
+
ATOM 32 CG LEU A 8 -47.683 33.801 -8.938 1.00 53.08
|
| 33 |
+
ATOM 33 CD1 LEU A 8 -47.767 32.307 -9.233 1.00 48.18
|
| 34 |
+
ATOM 34 CD2 LEU A 8 -47.809 34.604 -10.228 1.00 59.84
|
| 35 |
+
ATOM 35 N GLN A 9 -51.029 34.463 -5.590 1.00 61.60
|
| 36 |
+
ATOM 36 CA GLN A 9 -51.720 35.252 -4.575 1.00 70.05
|
| 37 |
+
ATOM 37 C GLN A 9 -51.601 34.605 -3.200 1.00 58.91
|
| 38 |
+
ATOM 38 O GLN A 9 -51.354 35.293 -2.202 1.00 59.72
|
| 39 |
+
ATOM 39 CB GLN A 9 -53.187 35.426 -4.963 1.00 77.72
|
| 40 |
+
ATOM 40 CG GLN A 9 -54.069 35.975 -3.856 1.00 70.89
|
| 41 |
+
ATOM 41 CD GLN A 9 -55.201 36.827 -4.390 1.00 76.18
|
| 42 |
+
ATOM 42 OE1 GLN A 9 -55.887 36.444 -5.337 1.00 83.01
|
| 43 |
+
ATOM 43 NE2 GLN A 9 -55.402 37.991 -3.784 1.00 73.60
|
| 44 |
+
ATOM 44 N ALA A 10 -51.788 33.286 -3.121 1.00 51.99
|
| 45 |
+
ATOM 45 CA ALA A 10 -51.647 32.603 -1.840 1.00 53.23
|
| 46 |
+
ATOM 46 C ALA A 10 -50.207 32.656 -1.342 1.00 53.64
|
| 47 |
+
ATOM 47 O ALA A 10 -49.965 32.828 -0.141 1.00 56.56
|
| 48 |
+
ATOM 48 CB ALA A 10 -52.124 31.157 -1.961 1.00 50.41
|
| 49 |
+
ATOM 49 N GLY A 11 -49.238 32.518 -2.250 1.00 45.78
|
| 50 |
+
ATOM 50 CA GLY A 11 -47.845 32.582 -1.840 1.00 43.59
|
| 51 |
+
ATOM 51 C GLY A 11 -47.409 33.979 -1.439 1.00 49.91
|
| 52 |
+
ATOM 52 O GLY A 11 -46.607 34.146 -0.516 1.00 51.75
|
| 53 |
+
ATOM 53 N GLU A 12 -47.930 35.003 -2.123 1.00 56.93
|
| 54 |
+
ATOM 54 CA GLU A 12 -47.626 36.373 -1.724 1.00 56.74
|
| 55 |
+
ATOM 55 C GLU A 12 -48.326 36.736 -0.420 1.00 55.63
|
| 56 |
+
ATOM 56 O GLU A 12 -47.830 37.579 0.336 1.00 59.07
|
| 57 |
+
ATOM 57 CB GLU A 12 -48.007 37.351 -2.839 1.00 55.18
|
| 58 |
+
ATOM 58 CG GLU A 12 -49.495 37.618 -2.970 1.00 70.05
|
| 59 |
+
ATOM 59 CD GLU A 12 -49.808 38.788 -3.878 1.00 85.27
|
| 60 |
+
ATOM 60 OE1 GLU A 12 -49.095 38.968 -4.887 1.00 80.93
|
| 61 |
+
ATOM 61 OE2 GLU A 12 -50.774 39.526 -3.585 1.00 93.13
|
| 62 |
+
ATOM 62 N LYS A 13 -49.473 36.111 -0.140 1.00 50.73
|
| 63 |
+
ATOM 63 CA LYS A 13 -50.112 36.291 1.159 1.00 64.79
|
| 64 |
+
ATOM 64 C LYS A 13 -49.293 35.634 2.261 1.00 71.18
|
| 65 |
+
ATOM 65 O LYS A 13 -49.107 36.214 3.339 1.00 82.06
|
| 66 |
+
ATOM 66 CB LYS A 13 -51.529 35.718 1.126 1.00 70.55
|
| 67 |
+
ATOM 67 CG LYS A 13 -52.280 35.816 2.443 1.00 66.48
|
| 68 |
+
ATOM 68 CD LYS A 13 -52.435 37.261 2.883 1.00 69.32
|
| 69 |
+
ATOM 69 CE LYS A 13 -53.445 37.387 4.012 1.00 83.95
|
| 70 |
+
ATOM 70 NZ LYS A 13 -53.673 38.807 4.399 1.00 92.26
|
| 71 |
+
ATOM 71 N LEU A 14 -48.789 34.424 2.001 1.00 65.42
|
| 72 |
+
ATOM 72 CA LEU A 14 -47.947 33.740 2.976 1.00 49.36
|
| 73 |
+
ATOM 73 C LEU A 14 -46.664 34.519 3.238 1.00 53.25
|
| 74 |
+
ATOM 74 O LEU A 14 -46.215 34.623 4.386 1.00 56.14
|
| 75 |
+
ATOM 75 CB LEU A 14 -47.628 32.330 2.484 1.00 48.05
|
| 76 |
+
ATOM 76 CG LEU A 14 -46.880 31.413 3.449 1.00 57.70
|
| 77 |
+
ATOM 77 CD1 LEU A 14 -47.488 31.494 4.838 1.00 67.64
|
| 78 |
+
ATOM 78 CD2 LEU A 14 -46.899 29.988 2.934 1.00 43.22
|
| 79 |
+
ATOM 79 N THR A 15 -46.053 35.065 2.184 1.00 66.33
|
| 80 |
+
ATOM 80 CA THR A 15 -44.888 35.924 2.367 1.00 64.66
|
| 81 |
+
ATOM 81 C THR A 15 -45.254 37.185 3.142 1.00 56.83
|
| 82 |
+
ATOM 82 O THR A 15 -44.482 37.649 3.990 1.00 50.54
|
| 83 |
+
ATOM 83 CB THR A 15 -44.281 36.279 1.009 1.00 61.32
|
| 84 |
+
ATOM 84 OG1 THR A 15 -43.721 35.101 0.413 1.00 50.51
|
| 85 |
+
ATOM 85 CG2 THR A 15 -43.188 37.329 1.159 1.00 69.97
|
| 86 |
+
ATOM 86 N ALA A 16 -46.435 37.747 2.873 1.00 51.38
|
| 87 |
+
ATOM 87 CA ALA A 16 -46.831 38.986 3.534 1.00 54.30
|
| 88 |
+
ATOM 88 C ALA A 16 -47.039 38.775 5.029 1.00 65.69
|
| 89 |
+
ATOM 89 O ALA A 16 -46.680 39.639 5.838 1.00 56.91
|
| 90 |
+
ATOM 90 CB ALA A 16 -48.098 39.545 2.890 1.00 64.74
|
| 91 |
+
ATOM 91 N VAL A 17 -47.617 37.637 5.417 1.00 71.65
|
| 92 |
+
ATOM 92 CA VAL A 17 -47.831 37.387 6.839 1.00 67.56
|
| 93 |
+
ATOM 93 C VAL A 17 -46.540 36.928 7.517 1.00 71.25
|
| 94 |
+
ATOM 94 O VAL A 17 -46.302 37.250 8.687 1.00 69.20
|
| 95 |
+
ATOM 95 CB VAL A 17 -48.978 36.378 7.042 1.00 55.13
|
| 96 |
+
ATOM 96 CG1 VAL A 17 -48.646 35.033 6.411 1.00 52.37
|
| 97 |
+
ATOM 97 CG2 VAL A 17 -49.305 36.223 8.521 1.00 56.93
|
| 98 |
+
ATOM 98 N ALA A 18 -45.684 36.194 6.805 1.00 64.37
|
| 99 |
+
ATOM 99 CA ALA A 18 -44.417 35.697 7.342 1.00 58.17
|
| 100 |
+
ATOM 100 C ALA A 18 -43.299 36.047 6.369 1.00 57.66
|
| 101 |
+
ATOM 101 O ALA A 18 -42.987 35.268 5.458 1.00 52.92
|
| 102 |
+
ATOM 102 CB ALA A 18 -44.475 34.193 7.594 1.00 47.60
|
| 103 |
+
ATOM 103 N PRO A 19 -42.672 37.216 6.531 1.00 62.49
|
| 104 |
+
ATOM 104 CA PRO A 19 -41.634 37.626 5.570 1.00 73.42
|
| 105 |
+
ATOM 105 C PRO A 19 -40.409 36.727 5.570 1.00 62.33
|
| 106 |
+
ATOM 106 O PRO A 19 -39.776 36.564 4.518 1.00 59.40
|
| 107 |
+
ATOM 107 CB PRO A 19 -41.283 39.053 6.019 1.00 69.23
|
| 108 |
+
ATOM 108 CG PRO A 19 -42.433 39.491 6.879 1.00 60.98
|
| 109 |
+
ATOM 109 CD PRO A 19 -42.932 38.251 7.544 1.00 56.98
|
| 110 |
+
ATOM 110 N PHE A 20 -40.061 36.125 6.710 1.00 48.58
|
| 111 |
+
ATOM 111 CA PHE A 20 -38.882 35.268 6.768 1.00 51.14
|
| 112 |
+
ATOM 112 C PHE A 20 -39.009 34.027 5.896 1.00 57.16
|
| 113 |
+
ATOM 113 O PHE A 20 -38.015 33.313 5.717 1.00 65.67
|
| 114 |
+
ATOM 114 CB PHE A 20 -38.586 34.871 8.218 1.00 52.44
|
| 115 |
+
ATOM 115 CG PHE A 20 -39.668 34.056 8.868 1.00 44.69
|
| 116 |
+
ATOM 116 CD1 PHE A 20 -39.696 32.677 8.739 1.00 40.60
|
| 117 |
+
ATOM 117 CD2 PHE A 20 -40.652 34.672 9.623 1.00 49.27
|
| 118 |
+
ATOM 118 CE1 PHE A 20 -40.688 31.932 9.342 1.00 40.49
|
| 119 |
+
ATOM 119 CE2 PHE A 20 -41.646 33.931 10.228 1.00 44.87
|
| 120 |
+
ATOM 120 CZ PHE A 20 -41.664 32.561 10.088 1.00 43.51
|
| 121 |
+
ATOM 121 N LEU A 21 -40.195 33.750 5.352 1.00 53.17
|
| 122 |
+
ATOM 122 CA LEU A 21 -40.346 32.642 4.420 1.00 43.50
|
| 123 |
+
ATOM 123 C LEU A 21 -39.826 32.988 3.032 1.00 46.34
|
| 124 |
+
ATOM 124 O LEU A 21 -39.492 32.078 2.265 1.00 57.55
|
| 125 |
+
ATOM 125 CB LEU A 21 -41.813 32.215 4.339 1.00 46.09
|
| 126 |
+
ATOM 126 CG LEU A 21 -42.279 31.254 5.436 1.00 43.59
|
| 127 |
+
ATOM 127 CD1 LEU A 21 -43.796 31.169 5.474 1.00 44.86
|
| 128 |
+
ATOM 128 CD2 LEU A 21 -41.665 29.878 5.240 1.00 42.40
|
| 129 |
+
ATOM 129 N ALA A 22 -39.748 34.277 2.695 1.00 61.65
|
| 130 |
+
ATOM 130 CA ALA A 22 -39.117 34.691 1.448 1.00 56.76
|
| 131 |
+
ATOM 131 C ALA A 22 -37.598 34.609 1.508 1.00 51.61
|
| 132 |
+
ATOM 132 O ALA A 22 -36.944 34.774 0.473 1.00 57.98
|
| 133 |
+
ATOM 133 CB ALA A 22 -39.544 36.115 1.089 1.00 54.53
|
| 134 |
+
ATOM 134 N GLY A 23 -37.030 34.362 2.685 1.00 43.10
|
| 135 |
+
ATOM 135 CA GLY A 23 -35.593 34.330 2.856 1.00 41.96
|
| 136 |
+
ATOM 136 C GLY A 23 -35.153 35.106 4.078 1.00 50.68
|
| 137 |
+
ATOM 137 O GLY A 23 -35.408 36.311 4.179 1.00 55.78
|
| 138 |
+
ATOM 138 N ILE A 24 -34.495 34.429 5.018 1.00 58.55
|
| 139 |
+
ATOM 139 CA ILE A 24 -34.086 35.079 6.256 1.00 51.22
|
| 140 |
+
ATOM 140 C ILE A 24 -32.975 36.074 5.954 1.00 58.06
|
| 141 |
+
ATOM 141 O ILE A 24 -31.953 35.726 5.349 1.00 62.54
|
| 142 |
+
ATOM 142 CB ILE A 24 -33.639 34.035 7.290 1.00 43.21
|
| 143 |
+
ATOM 143 CG1 ILE A 24 -34.811 33.129 7.670 1.00 38.37
|
| 144 |
+
ATOM 144 CG2 ILE A 24 -33.087 34.719 8.528 1.00 49.87
|
| 145 |
+
ATOM 145 CD1 ILE A 24 -34.434 32.014 8.619 1.00 41.47
|
| 146 |
+
ATOM 146 N GLN A 25 -33.172 37.325 6.374 1.00 60.96
|
| 147 |
+
ATOM 147 CA GLN A 25 -32.247 38.400 6.052 1.00 62.94
|
| 148 |
+
ATOM 148 C GLN A 25 -31.638 39.085 7.268 1.00 53.51
|
| 149 |
+
ATOM 149 O GLN A 25 -30.734 39.910 7.096 1.00 53.30
|
| 150 |
+
ATOM 150 CB GLN A 25 -32.941 39.452 5.173 1.00 60.22
|
| 151 |
+
ATOM 151 CG GLN A 25 -33.104 39.016 3.724 1.00 49.64
|
| 152 |
+
ATOM 152 CD GLN A 25 -34.270 39.692 3.034 1.00 50.40
|
| 153 |
+
ATOM 153 OE1 GLN A 25 -34.915 40.574 3.600 1.00 51.52
|
| 154 |
+
ATOM 154 NE2 GLN A 25 -34.548 39.279 1.803 1.00 59.25
|
| 155 |
+
ATOM 155 N ASN A 26 -32.097 38.779 8.478 1.00 54.53
|
| 156 |
+
ATOM 156 CA ASN A 26 -31.529 39.360 9.689 1.00 49.86
|
| 157 |
+
ATOM 157 C ASN A 26 -31.843 38.434 10.860 1.00 51.18
|
| 158 |
+
ATOM 158 O ASN A 26 -32.517 37.412 10.706 1.00 39.49
|
| 159 |
+
ATOM 159 CB ASN A 26 -32.055 40.780 9.921 1.00 44.99
|
| 160 |
+
ATOM 160 CG ASN A 26 -33.569 40.850 9.930 1.00 51.48
|
| 161 |
+
ATOM 161 OD1 ASN A 26 -34.218 40.381 10.864 1.00 66.14
|
| 162 |
+
ATOM 162 ND2 ASN A 26 -34.141 41.438 8.885 1.00 44.47
|
| 163 |
+
ATOM 163 N GLU A 27 -31.342 38.805 12.042 1.00 53.06
|
| 164 |
+
ATOM 164 CA GLU A 27 -31.472 37.934 13.208 1.00 45.33
|
| 165 |
+
ATOM 165 C GLU A 27 -32.900 37.893 13.738 1.00 44.59
|
| 166 |
+
ATOM 166 O GLU A 27 -33.307 36.890 14.335 1.00 43.44
|
| 167 |
+
ATOM 167 CB GLU A 27 -30.509 38.382 14.308 1.00 48.73
|
| 168 |
+
ATOM 168 CG GLU A 27 -30.398 37.407 15.472 1.00 58.55
|
| 169 |
+
ATOM 169 CD GLU A 27 -29.312 37.790 16.459 1.00 83.47
|
| 170 |
+
ATOM 170 OE1 GLU A 27 -28.579 38.764 16.191 1.00 89.20
|
| 171 |
+
ATOM 171 OE2 GLU A 27 -29.193 37.117 17.504 1.00 89.92
|
| 172 |
+
ATOM 172 N GLU A 28 -33.674 38.961 13.535 1.00 45.63
|
| 173 |
+
ATOM 173 CA GLU A 28 -35.061 38.962 13.991 1.00 47.43
|
| 174 |
+
ATOM 174 C GLU A 28 -35.877 37.911 13.249 1.00 60.32
|
| 175 |
+
ATOM 175 O GLU A 28 -36.616 37.130 13.863 1.00 55.95
|
| 176 |
+
ATOM 176 CB GLU A 28 -35.667 40.355 13.811 1.00 47.75
|
| 177 |
+
ATOM 177 CG GLU A 28 -35.355 41.314 14.950 1.00 74.34
|
| 178 |
+
ATOM 178 CD GLU A 28 -33.986 41.955 14.816 1.00 78.73
|
| 179 |
+
ATOM 179 OE1 GLU A 28 -33.598 42.305 13.681 1.00 79.33
|
| 180 |
+
ATOM 180 OE2 GLU A 28 -33.298 42.116 15.846 1.00 66.55
|
| 181 |
+
ATOM 181 N GLN A 29 -35.754 37.876 11.920 1.00 59.31
|
| 182 |
+
ATOM 182 CA GLN A 29 -36.432 36.847 11.140 1.00 46.38
|
| 183 |
+
ATOM 183 C GLN A 29 -35.887 35.459 11.457 1.00 38.96
|
| 184 |
+
ATOM 184 O GLN A 29 -36.609 34.465 11.322 1.00 40.62
|
| 185 |
+
ATOM 185 CB GLN A 29 -36.302 37.151 9.647 1.00 50.99
|
| 186 |
+
ATOM 186 CG GLN A 29 -36.443 38.626 9.298 1.00 53.25
|
| 187 |
+
ATOM 187 CD GLN A 29 -36.636 38.862 7.810 1.00 39.15
|
| 188 |
+
ATOM 188 OE1 GLN A 29 -35.731 38.626 7.009 1.00 38.78
|
| 189 |
+
ATOM 189 NE2 GLN A 29 -37.821 39.328 7.434 1.00 43.18
|
| 190 |
+
ATOM 190 N TYR A 30 -34.621 35.373 11.872 1.00 42.06
|
| 191 |
+
ATOM 191 CA TYR A 30 -34.064 34.098 12.314 1.00 45.18
|
| 192 |
+
ATOM 192 C TYR A 30 -34.767 33.600 13.572 1.00 46.87
|
| 193 |
+
ATOM 193 O TYR A 30 -35.209 32.446 13.636 1.00 35.63
|
| 194 |
+
ATOM 194 CB TYR A 30 -32.562 34.251 12.557 1.00 47.46
|
| 195 |
+
ATOM 195 CG TYR A 30 -31.885 33.001 13.062 1.00 38.65
|
| 196 |
+
ATOM 196 CD1 TYR A 30 -32.046 31.787 12.409 1.00 36.91
|
| 197 |
+
ATOM 197 CD2 TYR A 30 -31.093 33.032 14.202 1.00 47.95
|
| 198 |
+
ATOM 198 CE1 TYR A 30 -31.424 30.644 12.868 1.00 40.05
|
| 199 |
+
ATOM 199 CE2 TYR A 30 -30.474 31.892 14.673 1.00 44.17
|
| 200 |
+
ATOM 200 CZ TYR A 30 -30.644 30.701 14.003 1.00 40.12
|
| 201 |
+
ATOM 201 OH TYR A 30 -30.029 29.563 14.468 1.00 41.37
|
| 202 |
+
ATOM 202 N THR A 31 -34.872 34.461 14.588 1.00 39.18
|
| 203 |
+
ATOM 203 CA THR A 31 -35.574 34.086 15.813 1.00 40.07
|
| 204 |
+
ATOM 204 C THR A 31 -37.032 33.752 15.527 1.00 38.35
|
| 205 |
+
ATOM 205 O THR A 31 -37.586 32.806 16.101 1.00 64.29
|
| 206 |
+
ATOM 206 CB THR A 31 -35.472 35.208 16.846 1.00 43.35
|
| 207 |
+
ATOM 207 OG1 THR A 31 -35.697 36.471 16.207 1.00 70.38
|
| 208 |
+
ATOM 208 CG2 THR A 31 -34.096 35.210 17.491 1.00 45.64
|
| 209 |
+
ATOM 209 N GLN A 32 -37.671 34.522 14.643 1.00 37.72
|
| 210 |
+
ATOM 210 CA GLN A 32 -39.055 34.240 14.278 1.00 39.93
|
| 211 |
+
ATOM 211 C GLN A 32 -39.174 32.872 13.619 1.00 36.39
|
| 212 |
+
ATOM 212 O GLN A 32 -40.134 32.131 13.866 1.00 33.38
|
| 213 |
+
ATOM 213 CB GLN A 32 -39.572 35.331 13.341 1.00 40.84
|
| 214 |
+
ATOM 214 CG GLN A 32 -39.967 36.626 14.032 1.00 62.24
|
| 215 |
+
ATOM 215 CD GLN A 32 -40.652 37.600 13.093 1.00 66.39
|
| 216 |
+
ATOM 216 OE1 GLN A 32 -40.118 37.940 12.036 1.00 64.27
|
| 217 |
+
ATOM 217 NE2 GLN A 32 -41.836 38.060 13.477 1.00 64.55
|
| 218 |
+
ATOM 218 N ALA A 33 -38.195 32.516 12.784 1.00 39.16
|
| 219 |
+
ATOM 219 CA ALA A 33 -38.211 31.212 12.132 1.00 31.37
|
| 220 |
+
ATOM 220 C ALA A 33 -37.988 30.085 13.136 1.00 33.89
|
| 221 |
+
ATOM 221 O ALA A 33 -38.586 29.010 13.008 1.00 32.87
|
| 222 |
+
ATOM 222 CB ALA A 33 -37.165 31.174 11.020 1.00 30.94
|
| 223 |
+
ATOM 223 N LEU A 34 -37.123 30.302 14.133 1.00 36.50
|
| 224 |
+
ATOM 224 CA LEU A 34 -36.993 29.325 15.214 1.00 34.49
|
| 225 |
+
ATOM 225 C LEU A 34 -38.300 29.171 15.979 1.00 34.82
|
| 226 |
+
ATOM 226 O LEU A 34 -38.650 28.066 16.411 1.00 58.83
|
| 227 |
+
ATOM 227 CB LEU A 34 -35.866 29.718 16.172 1.00 38.21
|
| 228 |
+
ATOM 228 CG LEU A 34 -34.432 29.251 15.904 1.00 46.30
|
| 229 |
+
ATOM 229 CD1 LEU A 34 -34.097 29.275 14.434 1.00 52.99
|
| 230 |
+
ATOM 230 CD2 LEU A 34 -33.439 30.094 16.691 1.00 40.88
|
| 231 |
+
ATOM 231 N GLU A 35 -39.031 30.271 16.167 1.00 35.27
|
| 232 |
+
ATOM 232 CA GLU A 35 -40.346 30.184 16.791 1.00 35.79
|
| 233 |
+
ATOM 233 C GLU A 35 -41.288 29.327 15.955 1.00 35.68
|
| 234 |
+
ATOM 234 O GLU A 35 -41.986 28.449 16.481 1.00 36.28
|
| 235 |
+
ATOM 235 CB GLU A 35 -40.921 31.587 16.988 1.00 37.17
|
| 236 |
+
ATOM 236 CG GLU A 35 -40.321 32.345 18.157 1.00 46.35
|
| 237 |
+
ATOM 237 CD GLU A 35 -40.959 33.705 18.355 1.00 70.59
|
| 238 |
+
ATOM 238 OE1 GLU A 35 -40.213 34.693 18.521 1.00 87.95
|
| 239 |
+
ATOM 239 OE2 GLU A 35 -42.204 33.789 18.329 1.00 73.12
|
| 240 |
+
ATOM 240 N LEU A 36 -41.308 29.559 14.638 1.00 32.20
|
| 241 |
+
ATOM 241 CA LEU A 36 -42.209 28.807 13.772 1.00 30.80
|
| 242 |
+
ATOM 242 C LEU A 36 -41.847 27.327 13.731 1.00 43.82
|
| 243 |
+
ATOM 243 O LEU A 36 -42.736 26.469 13.711 1.00 41.81
|
| 244 |
+
ATOM 244 CB LEU A 36 -42.202 29.394 12.361 1.00 43.87
|
| 245 |
+
ATOM 245 CG LEU A 36 -43.153 28.709 11.373 1.00 34.85
|
| 246 |
+
ATOM 246 CD1 LEU A 36 -44.555 28.603 11.958 1.00 29.57
|
| 247 |
+
ATOM 247 CD2 LEU A 36 -43.180 29.427 10.034 1.00 28.52
|
| 248 |
+
ATOM 248 N VAL A 37 -40.551 27.002 13.713 1.00 30.49
|
| 249 |
+
ATOM 249 CA VAL A 37 -40.160 25.596 13.671 1.00 45.36
|
| 250 |
+
ATOM 250 C VAL A 37 -40.431 24.923 15.013 1.00 39.70
|
| 251 |
+
ATOM 251 O VAL A 37 -40.818 23.748 15.064 1.00 36.79
|
| 252 |
+
ATOM 252 CB VAL A 37 -38.689 25.450 13.227 1.00 35.27
|
| 253 |
+
ATOM 253 CG1 VAL A 37 -37.721 25.797 14.351 1.00 32.64
|
| 254 |
+
ATOM 254 CG2 VAL A 37 -38.429 24.042 12.710 1.00 32.01
|
| 255 |
+
ATOM 255 N ASP A 38 -40.258 25.657 16.117 1.00 33.54
|
| 256 |
+
ATOM 256 CA ASP A 38 -40.560 25.085 17.425 1.00 48.16
|
| 257 |
+
ATOM 257 C ASP A 38 -42.052 24.824 17.574 1.00 39.02
|
| 258 |
+
ATOM 258 O ASP A 38 -42.457 23.831 18.191 1.00 36.49
|
| 259 |
+
ATOM 259 CB ASP A 38 -40.058 26.004 18.537 1.00 54.91
|
| 260 |
+
ATOM 260 CG ASP A 38 -39.739 25.249 19.815 1.00 55.26
|
| 261 |
+
ATOM 261 OD1 ASP A 38 -38.800 24.425 19.799 1.00 46.91
|
| 262 |
+
ATOM 262 OD2 ASP A 38 -40.428 25.476 20.832 1.00 54.72
|
| 263 |
+
ATOM 263 N HIS A 39 -42.886 25.705 17.017 1.00 38.28
|
| 264 |
+
ATOM 264 CA HIS A 39 -44.325 25.468 17.046 1.00 34.33
|
| 265 |
+
ATOM 265 C HIS A 39 -44.713 24.318 16.124 1.00 34.19
|
| 266 |
+
ATOM 266 O HIS A 39 -45.572 23.499 16.472 1.00 34.03
|
| 267 |
+
ATOM 267 CB HIS A 39 -45.077 26.741 16.660 1.00 48.22
|
| 268 |
+
ATOM 268 CG HIS A 39 -46.566 26.588 16.672 1.00 49.28
|
| 269 |
+
ATOM 269 ND1 HIS A 39 -47.324 26.759 17.811 1.00 58.67
|
| 270 |
+
ATOM 270 CD2 HIS A 39 -47.438 26.274 15.685 1.00 46.86
|
| 271 |
+
ATOM 271 CE1 HIS A 39 -48.598 26.560 17.524 1.00 66.01
|
| 272 |
+
ATOM 272 NE2 HIS A 39 -48.694 26.264 16.240 1.00 58.15
|
| 273 |
+
ATOM 273 N LEU A 40 -44.092 24.238 14.945 1.00 46.65
|
| 274 |
+
ATOM 274 CA LEU A 40 -44.451 23.208 13.979 1.00 43.44
|
| 275 |
+
ATOM 275 C LEU A 40 -43.942 21.829 14.373 1.00 52.46
|
| 276 |
+
ATOM 276 O LEU A 40 -44.467 20.829 13.875 1.00 79.22
|
| 277 |
+
ATOM 277 CB LEU A 40 -43.923 23.570 12.590 1.00 52.86
|
| 278 |
+
ATOM 278 CG LEU A 40 -44.671 24.673 11.838 1.00 54.29
|
| 279 |
+
ATOM 279 CD1 LEU A 40 -44.016 24.937 10.492 1.00 50.88
|
| 280 |
+
ATOM 280 CD2 LEU A 40 -46.134 24.296 11.662 1.00 48.71
|
| 281 |
+
ATOM 281 N LEU A 41 -42.939 21.744 15.245 1.00 41.71
|
| 282 |
+
ATOM 282 CA LEU A 41 -42.456 20.436 15.668 1.00 41.11
|
| 283 |
+
ATOM 283 C LEU A 41 -43.214 19.890 16.868 1.00 50.94
|
| 284 |
+
ATOM 284 O LEU A 41 -43.409 18.673 16.964 1.00 57.42
|
| 285 |
+
ATOM 285 CB LEU A 41 -40.958 20.494 15.975 1.00 35.99
|
| 286 |
+
ATOM 286 CG LEU A 41 -40.089 20.602 14.721 1.00 34.89
|
| 287 |
+
ATOM 287 CD1 LEU A 41 -38.670 21.016 15.064 1.00 35.79
|
| 288 |
+
ATOM 288 CD2 LEU A 41 -40.102 19.289 13.951 1.00 35.67
|
| 289 |
+
ATOM 289 N LEU A 42 -43.651 20.753 17.784 1.00 55.56
|
| 290 |
+
ATOM 290 CA LEU A 42 -44.449 20.303 18.914 1.00 41.99
|
| 291 |
+
ATOM 291 C LEU A 42 -45.937 20.265 18.594 1.00 53.58
|
| 292 |
+
ATOM 292 O LEU A 42 -46.712 19.707 19.378 1.00 65.28
|
| 293 |
+
ATOM 293 CB LEU A 42 -44.210 21.212 20.123 1.00 41.03
|
| 294 |
+
ATOM 294 CG LEU A 42 -42.876 21.044 20.853 1.00 42.86
|
| 295 |
+
ATOM 295 CD1 LEU A 42 -42.820 21.948 22.074 1.00 44.95
|
| 296 |
+
ATOM 296 CD2 LEU A 42 -42.650 19.590 21.240 1.00 47.62
|
| 297 |
+
ATOM 297 N ASN A 43 -46.345 20.849 17.468 1.00 59.82
|
| 298 |
+
ATOM 298 CA ASN A 43 -47.732 20.872 17.021 1.00 54.47
|
| 299 |
+
ATOM 299 C ASN A 43 -47.745 20.723 15.509 1.00 70.31
|
| 300 |
+
ATOM 300 O ASN A 43 -47.061 21.478 14.811 1.00103.54
|
| 301 |
+
ATOM 301 CB ASN A 43 -48.444 22.168 17.431 1.00 41.19
|
| 302 |
+
ATOM 302 CG ASN A 43 -48.240 22.513 18.892 1.00 41.72
|
| 303 |
+
ATOM 303 OD1 ASN A 43 -48.945 22.007 19.766 1.00 68.10
|
| 304 |
+
ATOM 304 ND2 ASN A 43 -47.278 23.385 19.165 1.00 38.75
|
| 305 |
+
ATOM 305 N ASP A 44 -48.521 19.761 15.006 1.00 54.13
|
| 306 |
+
ATOM 306 CA ASP A 44 -48.614 19.486 13.574 1.00 53.43
|
| 307 |
+
ATOM 307 C ASP A 44 -47.236 19.268 12.958 1.00 44.43
|
| 308 |
+
ATOM 308 O ASP A 44 -46.760 20.116 12.192 1.00 32.54
|
| 309 |
+
ATOM 309 CB ASP A 44 -49.335 20.633 12.859 1.00 49.81
|
| 310 |
+
ATOM 310 CG ASP A 44 -50.015 20.192 11.577 1.00 70.02
|
| 311 |
+
ATOM 311 OD1 ASP A 44 -49.831 19.025 11.172 1.00 77.90
|
| 312 |
+
ATOM 312 OD2 ASP A 44 -50.733 21.016 10.972 1.00 69.11
|
| 313 |
+
ATOM 313 N PRO A 45 -46.561 18.154 13.262 1.00 45.75
|
| 314 |
+
ATOM 314 CA PRO A 45 -45.218 17.929 12.702 1.00 35.09
|
| 315 |
+
ATOM 315 C PRO A 45 -45.215 17.557 11.228 1.00 46.80
|
| 316 |
+
ATOM 316 O PRO A 45 -44.133 17.383 10.656 1.00 42.49
|
| 317 |
+
ATOM 317 CB PRO A 45 -44.660 16.777 13.554 1.00 37.37
|
| 318 |
+
ATOM 318 CG PRO A 45 -45.823 16.160 14.235 1.00 38.83
|
| 319 |
+
ATOM 319 CD PRO A 45 -46.993 17.084 14.178 1.00 51.02
|
| 320 |
+
ATOM 320 N GLU A 46 -46.382 17.434 10.594 1.00 46.36
|
| 321 |
+
ATOM 321 CA GLU A 46 -46.489 17.056 9.190 1.00 41.45
|
| 322 |
+
ATOM 322 C GLU A 46 -46.928 18.220 8.308 1.00 37.15
|
| 323 |
+
ATOM 323 O GLU A 46 -47.387 18.003 7.182 1.00 43.85
|
| 324 |
+
ATOM 324 CB GLU A 46 -47.452 15.878 9.036 1.00 47.95
|
| 325 |
+
ATOM 325 CG GLU A 46 -46.860 14.537 9.441 1.00 55.06
|
| 326 |
+
ATOM 326 CD GLU A 46 -45.732 14.095 8.529 1.00 75.66
|
| 327 |
+
ATOM 327 OE1 GLU A 46 -44.664 13.706 9.048 1.00 82.22
|
| 328 |
+
ATOM 328 OE2 GLU A 46 -45.913 14.133 7.293 1.00 78.69
|
| 329 |
+
ATOM 329 N ASN A 47 -46.793 19.448 8.796 1.00 32.50
|
| 330 |
+
ATOM 330 CA ASN A 47 -47.252 20.605 8.043 1.00 45.13
|
| 331 |
+
ATOM 331 C ASN A 47 -46.331 20.858 6.850 1.00 48.56
|
| 332 |
+
ATOM 332 O ASN A 47 -45.106 20.773 6.981 1.00 52.81
|
| 333 |
+
ATOM 333 CB ASN A 47 -47.302 21.833 8.956 1.00 32.14
|
| 334 |
+
ATOM 334 CG ASN A 47 -48.050 23.002 8.340 1.00 38.36
|
| 335 |
+
ATOM 335 OD1 ASN A 47 -47.701 23.487 7.264 1.00 47.18
|
| 336 |
+
ATOM 336 ND2 ASN A 47 -49.095 23.453 9.021 1.00 38.39
|
| 337 |
+
ATOM 337 N PRO A 48 -46.891 21.153 5.672 1.00 31.81
|
| 338 |
+
ATOM 338 CA PRO A 48 -46.045 21.374 4.485 1.00 32.03
|
| 339 |
+
ATOM 339 C PRO A 48 -45.075 22.537 4.617 1.00 41.27
|
| 340 |
+
ATOM 340 O PRO A 48 -44.117 22.611 3.838 1.00 63.47
|
| 341 |
+
ATOM 341 CB PRO A 48 -47.067 21.623 3.365 1.00 43.35
|
| 342 |
+
ATOM 342 CG PRO A 48 -48.361 21.932 4.065 1.00 42.03
|
| 343 |
+
ATOM 343 CD PRO A 48 -48.324 21.150 5.335 1.00 42.51
|
| 344 |
+
ATOM 344 N LEU A 49 -45.292 23.451 5.564 1.00 34.40
|
| 345 |
+
ATOM 345 CA LEU A 49 -44.376 24.569 5.760 1.00 36.68
|
| 346 |
+
ATOM 346 C LEU A 49 -43.065 24.151 6.414 1.00 40.52
|
| 347 |
+
ATOM 347 O LEU A 49 -42.110 24.939 6.411 1.00 48.30
|
| 348 |
+
ATOM 348 CB LEU A 49 -45.049 25.645 6.614 1.00 39.31
|
| 349 |
+
ATOM 349 CG LEU A 49 -46.321 26.281 6.054 1.00 31.09
|
| 350 |
+
ATOM 350 CD1 LEU A 49 -46.947 27.216 7.077 1.00 29.17
|
| 351 |
+
ATOM 351 CD2 LEU A 49 -46.029 27.012 4.757 1.00 29.47
|
| 352 |
+
ATOM 352 N LEU A 50 -42.997 22.932 6.957 1.00 39.92
|
| 353 |
+
ATOM 353 CA LEU A 50 -41.851 22.525 7.765 1.00 29.13
|
| 354 |
+
ATOM 354 C LEU A 50 -40.566 22.486 6.947 1.00 32.26
|
| 355 |
+
ATOM 355 O LEU A 50 -39.545 23.049 7.354 1.00 29.46
|
| 356 |
+
ATOM 356 CB LEU A 50 -42.123 21.162 8.400 1.00 33.27
|
| 357 |
+
ATOM 357 CG LEU A 50 -41.196 20.774 9.551 1.00 31.01
|
| 358 |
+
ATOM 358 CD1 LEU A 50 -41.199 21.853 10.624 1.00 30.24
|
| 359 |
+
ATOM 359 CD2 LEU A 50 -41.600 19.430 10.132 1.00 33.00
|
| 360 |
+
ATOM 360 N ASP A 51 -40.588 21.810 5.796 1.00 48.54
|
| 361 |
+
ATOM 361 CA ASP A 51 -39.373 21.702 4.993 1.00 53.88
|
| 362 |
+
ATOM 362 C ASP A 51 -38.954 23.048 4.416 1.00 49.86
|
| 363 |
+
ATOM 363 O ASP A 51 -37.757 23.293 4.226 1.00 52.14
|
| 364 |
+
ATOM 364 CB ASP A 51 -39.560 20.673 3.878 1.00 58.85
|
| 365 |
+
ATOM 365 CG ASP A 51 -39.793 19.274 4.413 1.00 65.83
|
| 366 |
+
ATOM 366 OD1 ASP A 51 -39.959 19.124 5.642 1.00 63.43
|
| 367 |
+
ATOM 367 OD2 ASP A 51 -39.797 18.321 3.606 1.00 77.33
|
| 368 |
+
ATOM 368 N LEU A 52 -39.915 23.927 4.131 1.00 44.28
|
| 369 |
+
ATOM 369 CA LEU A 52 -39.580 25.236 3.581 1.00 32.72
|
| 370 |
+
ATOM 370 C LEU A 52 -38.909 26.112 4.634 1.00 30.97
|
| 371 |
+
ATOM 371 O LEU A 52 -37.829 26.675 4.398 1.00 46.18
|
| 372 |
+
ATOM 372 CB LEU A 52 -40.846 25.902 3.039 1.00 29.52
|
| 373 |
+
ATOM 373 CG LEU A 52 -40.775 27.362 2.591 1.00 41.10
|
| 374 |
+
ATOM 374 CD1 LEU A 52 -39.805 27.522 1.433 1.00 46.65
|
| 375 |
+
ATOM 375 CD2 LEU A 52 -42.160 27.864 2.210 1.00 32.23
|
| 376 |
+
ATOM 376 N VAL A 53 -39.527 26.221 5.814 1.00 28.11
|
| 377 |
+
ATOM 377 CA VAL A 53 -38.910 26.988 6.892 1.00 27.93
|
| 378 |
+
ATOM 378 C VAL A 53 -37.580 26.367 7.303 1.00 41.19
|
| 379 |
+
ATOM 379 O VAL A 53 -36.641 27.084 7.663 1.00 29.09
|
| 380 |
+
ATOM 380 CB VAL A 53 -39.882 27.131 8.084 1.00 27.58
|
| 381 |
+
ATOM 381 CG1 VAL A 53 -39.957 25.852 8.903 1.00 39.76
|
| 382 |
+
ATOM 382 CG2 VAL A 53 -39.473 28.304 8.961 1.00 27.90
|
| 383 |
+
ATOM 383 N CYS A 54 -37.468 25.036 7.238 1.00 40.82
|
| 384 |
+
ATOM 384 CA CYS A 54 -36.195 24.380 7.518 1.00 30.60
|
| 385 |
+
ATOM 385 C CYS A 54 -35.139 24.769 6.493 1.00 32.51
|
| 386 |
+
ATOM 386 O CYS A 54 -33.968 24.969 6.840 1.00 39.68
|
| 387 |
+
ATOM 387 CB CYS A 54 -36.379 22.863 7.548 1.00 31.68
|
| 388 |
+
ATOM 388 SG CYS A 54 -36.978 22.211 9.123 1.00 45.13
|
| 389 |
+
ATOM 389 N ALA A 55 -35.532 24.872 5.221 1.00 31.30
|
| 390 |
+
ATOM 390 CA ALA A 55 -34.591 25.298 4.192 1.00 33.57
|
| 391 |
+
ATOM 391 C ALA A 55 -34.111 26.718 4.452 1.00 38.73
|
| 392 |
+
ATOM 392 O ALA A 55 -32.917 27.016 4.309 1.00 33.96
|
| 393 |
+
ATOM 393 CB ALA A 55 -35.236 25.189 2.811 1.00 40.32
|
| 394 |
+
ATOM 394 N LYS A 56 -35.026 27.608 4.850 1.00 30.67
|
| 395 |
+
ATOM 395 CA LYS A 56 -34.621 28.960 5.224 1.00 30.75
|
| 396 |
+
ATOM 396 C LYS A 56 -33.646 28.935 6.399 1.00 34.45
|
| 397 |
+
ATOM 397 O LYS A 56 -32.628 29.639 6.392 1.00 32.53
|
| 398 |
+
ATOM 398 CB LYS A 56 -35.853 29.802 5.561 1.00 29.84
|
| 399 |
+
ATOM 399 CG LYS A 56 -36.899 29.859 4.458 1.00 31.67
|
| 400 |
+
ATOM 400 CD LYS A 56 -36.310 30.369 3.153 1.00 38.81
|
| 401 |
+
ATOM 401 CE LYS A 56 -36.993 29.729 1.956 1.00 44.60
|
| 402 |
+
ATOM 402 NZ LYS A 56 -36.296 30.034 0.676 1.00 55.01
|
| 403 |
+
ATOM 403 N ILE A 57 -33.952 28.130 7.423 1.00 45.62
|
| 404 |
+
ATOM 404 CA ILE A 57 -33.067 27.992 8.581 1.00 40.38
|
| 405 |
+
ATOM 405 C ILE A 57 -31.664 27.592 8.150 1.00 47.11
|
| 406 |
+
ATOM 406 O ILE A 57 -30.673 28.228 8.526 1.00 37.90
|
| 407 |
+
ATOM 407 CB ILE A 57 -33.645 26.978 9.584 1.00 34.65
|
| 408 |
+
ATOM 408 CG1 ILE A 57 -34.944 27.507 10.179 1.00 31.12
|
| 409 |
+
ATOM 409 CG2 ILE A 57 -32.633 26.674 10.680 1.00 34.15
|
| 410 |
+
ATOM 410 CD1 ILE A 57 -34.736 28.701 11.044 1.00 31.83
|
| 411 |
+
ATOM 411 N THR A 58 -31.558 26.515 7.367 1.00 54.17
|
| 412 |
+
ATOM 412 CA THR A 58 -30.243 26.023 6.969 1.00 48.20
|
| 413 |
+
ATOM 413 C THR A 58 -29.505 27.056 6.127 1.00 45.07
|
| 414 |
+
ATOM 414 O THR A 58 -28.291 27.248 6.285 1.00 39.21
|
| 415 |
+
ATOM 415 CB THR A 58 -30.390 24.703 6.210 1.00 40.93
|
| 416 |
+
ATOM 416 OG1 THR A 58 -30.875 23.692 7.102 1.00 38.19
|
| 417 |
+
ATOM 417 CG2 THR A 58 -29.053 24.258 5.634 1.00 52.43
|
| 418 |
+
ATOM 418 N ALA A 59 -30.229 27.753 5.246 1.00 49.03
|
| 419 |
+
ATOM 419 CA ALA A 59 -29.604 28.790 4.431 1.00 36.88
|
| 420 |
+
ATOM 420 C ALA A 59 -29.041 29.913 5.295 1.00 37.40
|
| 421 |
+
ATOM 421 O ALA A 59 -27.937 30.408 5.037 1.00 39.69
|
| 422 |
+
ATOM 422 CB ALA A 59 -30.608 29.341 3.420 1.00 54.23
|
| 423 |
+
ATOM 423 N TRP A 60 -29.781 30.329 6.327 1.00 36.23
|
| 424 |
+
ATOM 424 CA TRP A 60 -29.275 31.374 7.214 1.00 37.27
|
| 425 |
+
ATOM 425 C TRP A 60 -28.077 30.886 8.020 1.00 39.27
|
| 426 |
+
ATOM 426 O TRP A 60 -27.026 31.537 8.041 1.00 41.24
|
| 427 |
+
ATOM 427 CB TRP A 60 -30.380 31.866 8.146 1.00 36.13
|
| 428 |
+
ATOM 428 CG TRP A 60 -29.905 32.921 9.104 1.00 45.05
|
| 429 |
+
ATOM 429 CD1 TRP A 60 -29.649 32.762 10.434 1.00 49.92
|
| 430 |
+
ATOM 430 CD2 TRP A 60 -29.607 34.289 8.799 1.00 43.89
|
| 431 |
+
ATOM 431 NE1 TRP A 60 -29.223 33.948 10.980 1.00 44.40
|
| 432 |
+
ATOM 432 CE2 TRP A 60 -29.187 34.901 9.997 1.00 41.94
|
| 433 |
+
ATOM 433 CE3 TRP A 60 -29.659 35.057 7.632 1.00 44.26
|
| 434 |
+
ATOM 434 CZ2 TRP A 60 -28.822 36.244 10.062 1.00 46.70
|
| 435 |
+
ATOM 435 CZ3 TRP A 60 -29.297 36.391 7.699 1.00 41.07
|
| 436 |
+
ATOM 436 CH2 TRP A 60 -28.884 36.970 8.905 1.00 42.94
|
| 437 |
+
ATOM 437 N GLU A 61 -28.218 29.741 8.692 1.00 39.18
|
| 438 |
+
ATOM 438 CA GLU A 61 -27.144 29.230 9.536 1.00 41.57
|
| 439 |
+
ATOM 439 C GLU A 61 -25.895 28.876 8.740 1.00 43.69
|
| 440 |
+
ATOM 440 O GLU A 61 -24.816 28.746 9.329 1.00 57.66
|
| 441 |
+
ATOM 441 CB GLU A 61 -27.623 28.005 10.318 1.00 45.48
|
| 442 |
+
ATOM 442 CG GLU A 61 -28.809 28.267 11.231 1.00 45.34
|
| 443 |
+
ATOM 443 CD GLU A 61 -29.131 27.083 12.123 1.00 49.46
|
| 444 |
+
ATOM 444 OE1 GLU A 61 -28.557 25.995 11.904 1.00 54.41
|
| 445 |
+
ATOM 445 OE2 GLU A 61 -29.959 27.239 13.043 1.00 39.90
|
| 446 |
+
ATOM 446 N GLU A 62 -26.013 28.715 7.420 1.00 50.19
|
| 447 |
+
ATOM 447 CA GLU A 62 -24.839 28.392 6.617 1.00 45.50
|
| 448 |
+
ATOM 448 C GLU A 62 -23.899 29.583 6.468 1.00 47.18
|
| 449 |
+
ATOM 449 O GLU A 62 -22.680 29.396 6.379 1.00 86.49
|
| 450 |
+
ATOM 450 CB GLU A 62 -25.272 27.888 5.240 1.00 68.83
|
| 451 |
+
ATOM 451 CG GLU A 62 -24.149 27.286 4.413 1.00 65.15
|
| 452 |
+
ATOM 452 CD GLU A 62 -24.661 26.356 3.331 1.00 76.70
|
| 453 |
+
ATOM 453 OE1 GLU A 62 -25.438 25.434 3.658 1.00 70.13
|
| 454 |
+
ATOM 454 OE2 GLU A 62 -24.288 26.548 2.154 1.00 88.49
|
| 455 |
+
ATOM 455 N SER A 63 -24.432 30.808 6.446 1.00 48.21
|
| 456 |
+
ATOM 456 CA SER A 63 -23.631 31.984 6.126 1.00 63.28
|
| 457 |
+
ATOM 457 C SER A 63 -23.790 33.126 7.125 1.00 58.89
|
| 458 |
+
ATOM 458 O SER A 63 -23.300 34.230 6.863 1.00 49.35
|
| 459 |
+
ATOM 459 CB SER A 63 -23.967 32.486 4.716 1.00 68.43
|
| 460 |
+
ATOM 460 OG SER A 63 -25.326 32.878 4.624 1.00 61.82
|
| 461 |
+
ATOM 461 N ALA A 64 -24.452 32.900 8.254 1.00 42.45
|
| 462 |
+
ATOM 462 CA ALA A 64 -24.638 33.986 9.207 1.00 47.92
|
| 463 |
+
ATOM 463 C ALA A 64 -23.364 34.200 10.024 1.00 40.12
|
| 464 |
+
ATOM 464 O ALA A 64 -22.658 33.236 10.333 1.00 55.28
|
| 465 |
+
ATOM 465 CB ALA A 64 -25.809 33.690 10.141 1.00 54.75
|
| 466 |
+
ATOM 466 N PRO A 65 -23.040 35.451 10.367 1.00 33.69
|
| 467 |
+
ATOM 467 CA PRO A 65 -21.879 35.684 11.246 1.00 41.10
|
| 468 |
+
ATOM 468 C PRO A 65 -21.994 34.958 12.573 1.00 42.35
|
| 469 |
+
ATOM 469 O PRO A 65 -20.996 34.427 13.080 1.00 51.36
|
| 470 |
+
ATOM 470 CB PRO A 65 -21.882 37.209 11.430 1.00 44.67
|
| 471 |
+
ATOM 471 CG PRO A 65 -22.629 37.740 10.252 1.00 38.67
|
| 472 |
+
ATOM 472 CD PRO A 65 -23.666 36.707 9.922 1.00 38.25
|
| 473 |
+
ATOM 473 N GLU A 66 -23.207 34.916 13.136 1.00 30.40
|
| 474 |
+
ATOM 474 CA GLU A 66 -23.469 34.241 14.405 1.00 26.88
|
| 475 |
+
ATOM 475 C GLU A 66 -22.869 32.843 14.457 1.00 37.94
|
| 476 |
+
ATOM 476 O GLU A 66 -22.452 32.384 15.526 1.00 42.30
|
| 477 |
+
ATOM 477 CB GLU A 66 -24.979 34.161 14.631 1.00 25.10
|
| 478 |
+
ATOM 478 CG GLU A 66 -25.406 33.992 16.073 1.00 59.94
|
| 479 |
+
ATOM 479 CD GLU A 66 -26.915 33.942 16.216 1.00 52.54
|
| 480 |
+
ATOM 480 OE1 GLU A 66 -27.616 34.319 15.252 1.00 39.80
|
| 481 |
+
ATOM 481 OE2 GLU A 66 -27.401 33.525 17.289 1.00 28.55
|
| 482 |
+
ATOM 482 N PHE A 67 -22.805 32.158 13.319 1.00 41.73
|
| 483 |
+
ATOM 483 CA PHE A 67 -22.343 30.780 13.269 1.00 44.37
|
| 484 |
+
ATOM 484 C PHE A 67 -20.943 30.616 12.701 1.00 48.30
|
| 485 |
+
ATOM 485 O PHE A 67 -20.426 29.492 12.717 1.00 42.76
|
| 486 |
+
ATOM 486 CB PHE A 67 -23.309 29.927 12.442 1.00 41.09
|
| 487 |
+
ATOM 487 CG PHE A 67 -24.601 29.642 13.130 1.00 33.79
|
| 488 |
+
ATOM 488 CD1 PHE A 67 -25.642 30.550 13.082 1.00 30.29
|
| 489 |
+
ATOM 489 CD2 PHE A 67 -24.775 28.460 13.827 1.00 27.43
|
| 490 |
+
ATOM 490 CE1 PHE A 67 -26.830 30.285 13.719 1.00 28.85
|
| 491 |
+
ATOM 491 CE2 PHE A 67 -25.959 28.189 14.465 1.00 24.45
|
| 492 |
+
ATOM 492 CZ PHE A 67 -26.989 29.102 14.412 1.00 23.46
|
| 493 |
+
ATOM 493 N ALA A 68 -20.312 31.693 12.223 1.00 58.15
|
| 494 |
+
ATOM 494 CA ALA A 68 -19.112 31.555 11.399 1.00 41.44
|
| 495 |
+
ATOM 495 C ALA A 68 -18.086 30.637 12.050 1.00 33.47
|
| 496 |
+
ATOM 496 O ALA A 68 -17.806 29.539 11.548 1.00 35.25
|
| 497 |
+
ATOM 497 CB ALA A 68 -18.502 32.933 11.134 1.00 32.19
|
| 498 |
+
ATOM 498 N GLU A 69 -17.618 31.019 13.239 1.00 35.80
|
| 499 |
+
ATOM 499 CA GLU A 69 -16.615 30.223 13.938 1.00 31.73
|
| 500 |
+
ATOM 500 C GLU A 69 -17.060 28.773 14.059 1.00 30.49
|
| 501 |
+
ATOM 501 O GLU A 69 -16.318 27.854 13.689 1.00 36.10
|
| 502 |
+
ATOM 502 CB GLU A 69 -16.339 30.820 15.320 1.00 47.86
|
| 503 |
+
ATOM 503 CG GLU A 69 -15.518 32.109 15.317 1.00 64.26
|
| 504 |
+
ATOM 504 CD GLU A 69 -15.021 32.475 16.709 1.00 66.73
|
| 505 |
+
ATOM 505 OE1 GLU A 69 -13.813 32.302 16.982 1.00 63.20
|
| 506 |
+
ATOM 506 OE2 GLU A 69 -15.843 32.928 17.535 1.00 68.78
|
| 507 |
+
ATOM 507 N PHE A 70 -18.289 28.554 14.534 1.00 31.75
|
| 508 |
+
ATOM 508 CA PHE A 70 -18.770 27.192 14.731 1.00 31.91
|
| 509 |
+
ATOM 509 C PHE A 70 -18.692 26.402 13.436 1.00 31.51
|
| 510 |
+
ATOM 510 O PHE A 70 -18.171 25.280 13.409 1.00 28.59
|
| 511 |
+
ATOM 511 CB PHE A 70 -20.198 27.204 15.279 1.00 35.71
|
| 512 |
+
ATOM 512 CG PHE A 70 -20.726 25.835 15.592 1.00 46.20
|
| 513 |
+
ATOM 513 CD1 PHE A 70 -20.326 25.176 16.744 1.00 42.36
|
| 514 |
+
ATOM 514 CD2 PHE A 70 -21.623 25.209 14.743 1.00 34.44
|
| 515 |
+
ATOM 515 CE1 PHE A 70 -20.794 23.911 17.030 1.00 29.93
|
| 516 |
+
ATOM 516 CE2 PHE A 70 -22.098 23.950 15.027 1.00 28.65
|
| 517 |
+
ATOM 517 CZ PHE A 70 -21.685 23.299 16.170 1.00 29.29
|
| 518 |
+
ATOM 518 N ASN A 71 -19.191 26.986 12.343 1.00 38.17
|
| 519 |
+
ATOM 519 CA ASN A 71 -19.139 26.295 11.061 1.00 35.45
|
| 520 |
+
ATOM 520 C ASN A 71 -17.712 25.920 10.703 1.00 34.59
|
| 521 |
+
ATOM 521 O ASN A 71 -17.461 24.813 10.213 1.00 43.19
|
| 522 |
+
ATOM 522 CB ASN A 71 -19.786 27.141 9.961 1.00 45.41
|
| 523 |
+
ATOM 523 CG ASN A 71 -21.299 27.232 10.110 1.00 60.04
|
| 524 |
+
ATOM 524 OD1 ASN A 71 -21.915 26.398 10.781 1.00 63.03
|
| 525 |
+
ATOM 525 ND2 ASN A 71 -21.906 28.224 9.469 1.00 60.83
|
| 526 |
+
ATOM 526 N ALA A 72 -16.757 26.814 10.970 1.00 33.77
|
| 527 |
+
ATOM 527 CA ALA A 72 -15.362 26.484 10.706 1.00 38.19
|
| 528 |
+
ATOM 528 C ALA A 72 -14.944 25.239 11.478 1.00 35.80
|
| 529 |
+
ATOM 529 O ALA A 72 -14.304 24.336 10.927 1.00 45.86
|
| 530 |
+
ATOM 530 CB ALA A 72 -14.465 27.668 11.057 1.00 50.76
|
| 531 |
+
HETATM 531 N MSE A 73 -15.318 25.168 12.754 1.00 29.91
|
| 532 |
+
HETATM 532 CA MSE A 73 -14.990 24.015 13.584 1.00 31.26
|
| 533 |
+
HETATM 533 C MSE A 73 -15.624 22.756 13.012 1.00 29.78
|
| 534 |
+
HETATM 534 O MSE A 73 -15.080 21.660 13.147 1.00 28.03
|
| 535 |
+
HETATM 535 CB MSE A 73 -15.453 24.229 15.026 1.00 36.55
|
| 536 |
+
HETATM 536 CG MSE A 73 -14.694 25.305 15.774 1.00 32.56
|
| 537 |
+
HETATM 537 SE MSE A 73 -15.127 25.312 17.672 0.69 63.37
|
| 538 |
+
HETATM 538 CE MSE A 73 -14.566 23.496 18.107 1.00 58.51
|
| 539 |
+
ATOM 539 N ALA A 74 -16.783 22.924 12.370 1.00 28.57
|
| 540 |
+
ATOM 540 CA ALA A 74 -17.430 21.792 11.722 1.00 28.68
|
| 541 |
+
ATOM 541 C ALA A 74 -16.785 21.467 10.382 1.00 30.07
|
| 542 |
+
ATOM 542 O ALA A 74 -16.805 20.308 9.952 1.00 31.17
|
| 543 |
+
ATOM 543 CB ALA A 74 -18.923 22.070 11.539 1.00 32.94
|
| 544 |
+
ATOM 544 N GLN A 75 -16.204 22.467 9.716 1.00 35.28
|
| 545 |
+
ATOM 545 CA GLN A 75 -15.568 22.225 8.426 1.00 34.50
|
| 546 |
+
ATOM 546 C GLN A 75 -14.168 21.649 8.595 1.00 42.73
|
| 547 |
+
ATOM 547 O GLN A 75 -13.775 20.738 7.858 1.00 53.16
|
| 548 |
+
ATOM 548 CB GLN A 75 -15.526 23.519 7.611 1.00 40.20
|
| 549 |
+
ATOM 549 CG GLN A 75 -14.344 23.626 6.660 1.00 56.41
|
| 550 |
+
ATOM 550 CD GLN A 75 -14.537 22.816 5.393 1.00 68.57
|
| 551 |
+
ATOM 551 OE1 GLN A 75 -15.460 23.066 4.618 1.00 79.44
|
| 552 |
+
ATOM 552 NE2 GLN A 75 -13.664 21.838 5.176 1.00 61.96
|
| 553 |
+
ATOM 553 N ALA A 76 -13.411 22.155 9.569 1.00 39.43
|
| 554 |
+
ATOM 554 CA ALA A 76 -12.059 21.675 9.824 1.00 32.80
|
| 555 |
+
ATOM 555 C ALA A 76 -12.024 20.289 10.450 1.00 30.67
|
| 556 |
+
ATOM 556 O ALA A 76 -10.937 19.818 10.801 1.00 50.60
|
| 557 |
+
ATOM 557 CB ALA A 76 -11.316 22.663 10.725 1.00 32.10
|
| 558 |
+
HETATM 558 N MSE A 77 -13.166 19.627 10.595 1.00 39.09
|
| 559 |
+
HETATM 559 CA MSE A 77 -13.217 18.326 11.243 1.00 44.89
|
| 560 |
+
HETATM 560 C MSE A 77 -13.925 17.304 10.361 1.00 58.03
|
| 561 |
+
HETATM 561 O MSE A 77 -15.124 17.422 10.110 1.00 66.77
|
| 562 |
+
HETATM 562 CB MSE A 77 -13.921 18.441 12.594 1.00 44.24
|
| 563 |
+
HETATM 563 CG MSE A 77 -13.982 17.150 13.377 1.00 39.46
|
| 564 |
+
HETATM 564 SE MSE A 77 -14.987 17.368 15.027 0.60 45.56
|
| 565 |
+
HETATM 565 CE MSE A 77 -14.272 15.842 15.981 1.00 37.26
|
| 566 |
+
ATOM 566 N PRO A 78 -13.182 16.304 9.887 1.00 63.57
|
| 567 |
+
ATOM 567 CA PRO A 78 -13.778 15.298 9.002 1.00 51.90
|
| 568 |
+
ATOM 568 C PRO A 78 -14.844 14.480 9.716 1.00 48.35
|
| 569 |
+
ATOM 569 O PRO A 78 -14.907 14.422 10.947 1.00 59.37
|
| 570 |
+
ATOM 570 CB PRO A 78 -12.583 14.424 8.598 1.00 55.33
|
| 571 |
+
ATOM 571 CG PRO A 78 -11.375 15.272 8.865 1.00 52.77
|
| 572 |
+
ATOM 572 CD PRO A 78 -11.733 16.105 10.055 1.00 58.07
|
| 573 |
+
ATOM 573 N GLY A 79 -15.699 13.844 8.913 1.00 44.49
|
| 574 |
+
ATOM 574 CA GLY A 79 -16.780 13.050 9.477 1.00 54.61
|
| 575 |
+
ATOM 575 C GLY A 79 -16.282 11.828 10.226 1.00 59.61
|
| 576 |
+
ATOM 576 O GLY A 79 -16.686 11.574 11.365 1.00 52.36
|
| 577 |
+
ATOM 577 N GLY A 80 -15.405 11.047 9.588 1.00 49.61
|
| 578 |
+
ATOM 578 CA GLY A 80 -14.880 9.853 10.233 1.00 42.82
|
| 579 |
+
ATOM 579 C GLY A 80 -14.186 10.155 11.547 1.00 38.18
|
| 580 |
+
ATOM 580 O GLY A 80 -14.398 9.468 12.551 1.00 52.75
|
| 581 |
+
ATOM 581 N ILE A 81 -13.340 11.188 11.555 1.00 34.79
|
| 582 |
+
ATOM 582 CA ILE A 81 -12.684 11.612 12.789 1.00 43.85
|
| 583 |
+
ATOM 583 C ILE A 81 -13.724 11.977 13.841 1.00 41.72
|
| 584 |
+
ATOM 584 O ILE A 81 -13.586 11.632 15.022 1.00 29.04
|
| 585 |
+
ATOM 585 CB ILE A 81 -11.725 12.782 12.506 1.00 42.13
|
| 586 |
+
ATOM 586 CG1 ILE A 81 -10.624 12.331 11.549 1.00 35.92
|
| 587 |
+
ATOM 587 CG2 ILE A 81 -11.124 13.309 13.801 1.00 46.58
|
| 588 |
+
ATOM 588 CD1 ILE A 81 -9.771 11.219 12.100 1.00 50.30
|
| 589 |
+
ATOM 589 N ALA A 82 -14.781 12.678 13.424 1.00 35.66
|
| 590 |
+
ATOM 590 CA ALA A 82 -15.843 13.052 14.351 1.00 34.58
|
| 591 |
+
ATOM 591 C ALA A 82 -16.484 11.821 14.974 1.00 39.67
|
| 592 |
+
ATOM 592 O ALA A 82 -16.775 11.806 16.176 1.00 58.02
|
| 593 |
+
ATOM 593 CB ALA A 82 -16.891 13.903 13.636 1.00 36.63
|
| 594 |
+
ATOM 594 N VAL A 83 -16.724 10.782 14.172 1.00 40.93
|
| 595 |
+
ATOM 595 CA VAL A 83 -17.326 9.571 14.720 1.00 43.82
|
| 596 |
+
ATOM 596 C VAL A 83 -16.339 8.839 15.621 1.00 41.84
|
| 597 |
+
ATOM 597 O VAL A 83 -16.743 8.190 16.594 1.00 48.74
|
| 598 |
+
ATOM 598 CB VAL A 83 -17.837 8.667 13.581 1.00 36.72
|
| 599 |
+
ATOM 599 CG1 VAL A 83 -18.591 7.469 14.141 1.00 36.04
|
| 600 |
+
ATOM 600 CG2 VAL A 83 -18.731 9.458 12.638 1.00 35.96
|
| 601 |
+
ATOM 601 N ILE A 84 -15.038 8.949 15.343 1.00 36.04
|
| 602 |
+
ATOM 602 CA ILE A 84 -14.035 8.354 16.226 1.00 38.01
|
| 603 |
+
ATOM 603 C ILE A 84 -14.066 9.021 17.597 1.00 43.62
|
| 604 |
+
ATOM 604 O ILE A 84 -14.228 8.359 18.630 1.00 52.98
|
| 605 |
+
ATOM 605 CB ILE A 84 -12.635 8.443 15.593 1.00 38.66
|
| 606 |
+
ATOM 606 CG1 ILE A 84 -12.557 7.574 14.337 1.00 47.22
|
| 607 |
+
ATOM 607 CG2 ILE A 84 -11.570 8.030 16.598 1.00 32.37
|
| 608 |
+
ATOM 608 CD1 ILE A 84 -11.169 7.489 13.738 1.00 41.58
|
| 609 |
+
ATOM 609 N ARG A 85 -13.915 10.348 17.625 1.00 35.20
|
| 610 |
+
ATOM 610 CA ARG A 85 -13.900 11.059 18.901 1.00 33.64
|
| 611 |
+
ATOM 611 C ARG A 85 -15.236 10.958 19.624 1.00 31.15
|
| 612 |
+
ATOM 612 O ARG A 85 -15.273 10.951 20.861 1.00 31.69
|
| 613 |
+
ATOM 613 CB ARG A 85 -13.498 12.518 18.683 1.00 36.14
|
| 614 |
+
ATOM 614 CG ARG A 85 -12.121 12.660 18.051 1.00 50.81
|
| 615 |
+
ATOM 615 CD ARG A 85 -11.827 14.084 17.622 1.00 59.86
|
| 616 |
+
ATOM 616 NE ARG A 85 -11.875 15.023 18.738 1.00 69.73
|
| 617 |
+
ATOM 617 CZ ARG A 85 -10.801 15.527 19.336 1.00 74.81
|
| 618 |
+
ATOM 618 NH1 ARG A 85 -9.588 15.189 18.919 1.00 70.49
|
| 619 |
+
ATOM 619 NH2 ARG A 85 -10.939 16.376 20.345 1.00 82.87
|
| 620 |
+
ATOM 620 N THR A 86 -16.339 10.875 18.879 1.00 31.09
|
| 621 |
+
ATOM 621 CA THR A 86 -17.638 10.697 19.518 1.00 36.33
|
| 622 |
+
ATOM 622 C THR A 86 -17.754 9.314 20.145 1.00 45.76
|
| 623 |
+
ATOM 623 O THR A 86 -18.274 9.177 21.258 1.00 46.45
|
| 624 |
+
ATOM 624 CB THR A 86 -18.761 10.935 18.510 1.00 33.83
|
| 625 |
+
ATOM 625 OG1 THR A 86 -18.802 12.326 18.169 1.00 51.14
|
| 626 |
+
ATOM 626 CG2 THR A 86 -20.104 10.525 19.091 1.00 34.79
|
| 627 |
+
ATOM 627 N LEU A 87 -17.275 8.277 19.453 1.00 44.09
|
| 628 |
+
ATOM 628 CA LEU A 87 -17.252 6.947 20.054 1.00 36.75
|
| 629 |
+
ATOM 629 C LEU A 87 -16.366 6.920 21.293 1.00 38.64
|
| 630 |
+
ATOM 630 O LEU A 87 -16.676 6.231 22.273 1.00 37.20
|
| 631 |
+
ATOM 631 CB LEU A 87 -16.782 5.911 19.032 1.00 41.74
|
| 632 |
+
ATOM 632 CG LEU A 87 -17.784 5.549 17.932 1.00 47.75
|
| 633 |
+
ATOM 633 CD1 LEU A 87 -17.091 4.825 16.787 1.00 41.79
|
| 634 |
+
ATOM 634 CD2 LEU A 87 -18.927 4.716 18.487 1.00 44.56
|
| 635 |
+
HETATM 635 N MSE A 88 -15.264 7.667 21.270 1.00 40.94
|
| 636 |
+
HETATM 636 CA MSE A 88 -14.385 7.772 22.431 1.00 42.49
|
| 637 |
+
HETATM 637 C MSE A 88 -15.096 8.431 23.609 1.00 44.54
|
| 638 |
+
HETATM 638 O MSE A 88 -14.964 7.992 24.751 1.00 43.71
|
| 639 |
+
HETATM 639 CB MSE A 88 -13.121 8.564 22.084 1.00 54.27
|
| 640 |
+
HETATM 640 CG MSE A 88 -12.044 7.758 21.379 1.00 60.13
|
| 641 |
+
HETATM 641 SE MSE A 88 -10.538 8.868 20.823 0.67 68.25
|
| 642 |
+
HETATM 642 CE MSE A 88 -10.053 9.615 22.559 1.00 49.40
|
| 643 |
+
ATOM 643 N ASP A 89 -15.852 9.493 23.321 1.00 58.92
|
| 644 |
+
ATOM 644 CA ASP A 89 -16.559 10.205 24.382 1.00 46.04
|
| 645 |
+
ATOM 645 C ASP A 89 -17.716 9.376 24.932 1.00 38.26
|
| 646 |
+
ATOM 646 O ASP A 89 -18.002 9.420 26.134 1.00 37.81
|
| 647 |
+
ATOM 647 CB ASP A 89 -17.058 11.553 23.861 1.00 38.14
|
| 648 |
+
ATOM 648 CG ASP A 89 -17.620 12.432 24.960 1.00 47.63
|
| 649 |
+
ATOM 649 OD1 ASP A 89 -16.864 12.778 25.892 1.00 61.53
|
| 650 |
+
ATOM 650 OD2 ASP A 89 -18.817 12.781 24.890 1.00 43.47
|
| 651 |
+
ATOM 651 N GLN A 90 -18.383 8.609 24.068 1.00 38.07
|
| 652 |
+
ATOM 652 CA GLN A 90 -19.552 7.837 24.475 1.00 35.49
|
| 653 |
+
ATOM 653 C GLN A 90 -19.147 6.586 25.244 1.00 52.61
|
| 654 |
+
ATOM 654 O GLN A 90 -19.607 6.363 26.370 1.00 64.29
|
| 655 |
+
ATOM 655 CB GLN A 90 -20.388 7.467 23.250 1.00 36.56
|
| 656 |
+
ATOM 656 CG GLN A 90 -21.100 8.641 22.603 1.00 35.77
|
| 657 |
+
ATOM 657 CD GLN A 90 -22.172 9.232 23.494 1.00 45.51
|
| 658 |
+
ATOM 658 OE1 GLN A 90 -23.123 8.551 23.876 1.00 47.49
|
| 659 |
+
ATOM 659 NE2 GLN A 90 -22.025 10.508 23.830 1.00 68.35
|
| 660 |
+
ATOM 660 N TYR A 91 -18.281 5.763 24.655 1.00 65.22
|
| 661 |
+
ATOM 661 CA TYR A 91 -17.894 4.500 25.269 1.00 59.74
|
| 662 |
+
ATOM 662 C TYR A 91 -16.898 4.685 26.400 1.00 63.79
|
| 663 |
+
ATOM 663 O TYR A 91 -16.617 3.721 27.121 1.00 76.34
|
| 664 |
+
ATOM 664 CB TYR A 91 -17.304 3.558 24.216 1.00 65.66
|
| 665 |
+
ATOM 665 CG TYR A 91 -18.339 2.876 23.354 1.00 70.23
|
| 666 |
+
ATOM 666 CD1 TYR A 91 -19.119 1.846 23.863 1.00 67.63
|
| 667 |
+
ATOM 667 CD2 TYR A 91 -18.554 3.275 22.043 1.00 67.91
|
| 668 |
+
ATOM 668 CE1 TYR A 91 -20.066 1.216 23.083 1.00 74.08
|
| 669 |
+
ATOM 669 CE2 TYR A 91 -19.508 2.657 21.258 1.00 61.06
|
| 670 |
+
ATOM 670 CZ TYR A 91 -20.260 1.628 21.782 1.00 71.16
|
| 671 |
+
ATOM 671 OH TYR A 91 -21.209 1.010 21.001 1.00 79.81
|
| 672 |
+
ATOM 672 N GLY A 92 -16.361 5.888 26.569 1.00 66.20
|
| 673 |
+
ATOM 673 CA GLY A 92 -15.388 6.129 27.610 1.00 67.86
|
| 674 |
+
ATOM 674 C GLY A 92 -14.075 5.456 27.287 1.00 60.83
|
| 675 |
+
ATOM 675 O GLY A 92 -13.674 4.505 27.961 1.00 54.27
|
| 676 |
+
ATOM 676 N LEU A 93 -13.381 5.956 26.274 1.00 54.16
|
| 677 |
+
ATOM 677 CA LEU A 93 -12.120 5.376 25.857 1.00 53.00
|
| 678 |
+
ATOM 678 C LEU A 93 -11.071 6.473 25.800 1.00 70.09
|
| 679 |
+
ATOM 679 O LEU A 93 -11.383 7.665 25.828 1.00 77.80
|
| 680 |
+
ATOM 680 CB LEU A 93 -12.245 4.715 24.480 1.00 49.20
|
| 681 |
+
ATOM 681 CG LEU A 93 -13.214 3.546 24.300 1.00 56.64
|
| 682 |
+
ATOM 682 CD1 LEU A 93 -13.385 3.216 22.818 1.00 47.85
|
| 683 |
+
ATOM 683 CD2 LEU A 93 -12.739 2.321 25.065 1.00 70.66
|
| 684 |
+
ATOM 684 N THR A 94 -9.821 6.057 25.725 1.00 74.45
|
| 685 |
+
ATOM 685 CA THR A 94 -8.689 6.959 25.624 1.00 76.05
|
| 686 |
+
ATOM 686 C THR A 94 -7.986 6.720 24.296 1.00 76.10
|
| 687 |
+
ATOM 687 O THR A 94 -8.346 5.825 23.528 1.00 64.90
|
| 688 |
+
ATOM 688 CB THR A 94 -7.744 6.781 26.814 1.00 69.06
|
| 689 |
+
ATOM 689 OG1 THR A 94 -6.612 7.646 26.665 1.00 80.50
|
| 690 |
+
ATOM 690 CG2 THR A 94 -7.259 5.350 26.885 1.00 70.41
|
| 691 |
+
ATOM 691 N LEU A 95 -6.959 7.525 24.030 1.00 78.19
|
| 692 |
+
ATOM 692 CA LEU A 95 -6.241 7.384 22.770 1.00 75.15
|
| 693 |
+
ATOM 693 C LEU A 95 -5.461 6.079 22.683 1.00 76.18
|
| 694 |
+
ATOM 694 O LEU A 95 -4.999 5.730 21.592 1.00 87.85
|
| 695 |
+
ATOM 695 CB LEU A 95 -5.293 8.569 22.566 1.00 64.28
|
| 696 |
+
ATOM 696 N SER A 96 -5.315 5.347 23.788 1.00 73.98
|
| 697 |
+
ATOM 697 CA SER A 96 -4.622 4.066 23.786 1.00 74.20
|
| 698 |
+
ATOM 698 C SER A 96 -5.562 2.866 23.841 1.00 79.08
|
| 699 |
+
ATOM 699 O SER A 96 -5.087 1.729 23.766 1.00 82.89
|
| 700 |
+
ATOM 700 CB SER A 96 -3.636 3.998 24.958 1.00 75.13
|
| 701 |
+
ATOM 701 OG SER A 96 -4.304 4.102 26.203 1.00 75.19
|
| 702 |
+
ATOM 702 N ASP A 97 -6.874 3.080 23.968 1.00 87.82
|
| 703 |
+
ATOM 703 CA ASP A 97 -7.839 1.988 24.036 1.00 86.59
|
| 704 |
+
ATOM 704 C ASP A 97 -8.520 1.714 22.701 1.00 78.62
|
| 705 |
+
ATOM 705 O ASP A 97 -9.630 1.172 22.679 1.00 80.46
|
| 706 |
+
ATOM 706 CB ASP A 97 -8.893 2.264 25.110 1.00 86.23
|
| 707 |
+
ATOM 707 CG ASP A 97 -8.322 2.224 26.511 1.00 94.18
|
| 708 |
+
ATOM 708 OD1 ASP A 97 -7.084 2.131 26.649 1.00 97.47
|
| 709 |
+
ATOM 709 OD2 ASP A 97 -9.111 2.289 27.477 1.00 95.57
|
| 710 |
+
ATOM 710 N LEU A 98 -7.885 2.075 21.589 1.00 70.06
|
| 711 |
+
ATOM 711 CA LEU A 98 -8.385 1.755 20.253 1.00 70.49
|
| 712 |
+
ATOM 712 C LEU A 98 -7.300 1.019 19.478 1.00 76.96
|
| 713 |
+
ATOM 713 O LEU A 98 -6.547 1.627 18.706 1.00 78.09
|
| 714 |
+
ATOM 714 CB LEU A 98 -8.838 3.016 19.516 1.00 71.68
|
| 715 |
+
ATOM 715 CG LEU A 98 -10.153 3.651 19.968 1.00 73.08
|
| 716 |
+
ATOM 716 CD1 LEU A 98 -10.399 4.950 19.219 1.00 69.19
|
| 717 |
+
ATOM 717 CD2 LEU A 98 -11.309 2.685 19.758 1.00 67.14
|
| 718 |
+
ATOM 718 N PRO A 99 -7.171 -0.295 19.683 1.00 83.86
|
| 719 |
+
ATOM 719 CA PRO A 99 -6.184 -1.054 18.898 1.00 83.01
|
| 720 |
+
ATOM 720 C PRO A 99 -6.575 -1.202 17.438 1.00 89.02
|
| 721 |
+
ATOM 721 O PRO A 99 -5.690 -1.295 16.579 1.00 91.90
|
| 722 |
+
ATOM 722 CB PRO A 99 -6.131 -2.415 19.607 1.00 77.66
|
| 723 |
+
ATOM 723 CG PRO A 99 -6.745 -2.195 20.949 1.00 82.41
|
| 724 |
+
ATOM 724 CD PRO A 99 -7.737 -1.087 20.786 1.00 84.43
|
| 725 |
+
ATOM 725 N GLU A 100 -7.877 -1.233 17.136 1.00 81.79
|
| 726 |
+
ATOM 726 CA GLU A 100 -8.342 -1.465 15.771 1.00 76.20
|
| 727 |
+
ATOM 727 C GLU A 100 -7.889 -0.381 14.799 1.00 77.46
|
| 728 |
+
ATOM 728 O GLU A 100 -7.932 -0.600 13.583 1.00 81.09
|
| 729 |
+
ATOM 729 CB GLU A 100 -9.868 -1.574 15.754 1.00 69.56
|
| 730 |
+
ATOM 730 N ILE A 101 -7.460 0.773 15.297 1.00 87.80
|
| 731 |
+
ATOM 731 CA ILE A 101 -6.962 1.852 14.454 1.00 90.93
|
| 732 |
+
ATOM 732 C ILE A 101 -5.440 1.925 14.484 1.00 81.10
|
| 733 |
+
ATOM 733 O ILE A 101 -4.810 2.212 13.466 1.00 81.46
|
| 734 |
+
ATOM 734 CB ILE A 101 -7.607 3.195 14.868 1.00101.60
|
| 735 |
+
ATOM 735 CG1 ILE A 101 -7.008 4.366 14.089 1.00 96.60
|
| 736 |
+
ATOM 736 CG2 ILE A 101 -7.458 3.436 16.347 1.00 96.28
|
| 737 |
+
ATOM 737 CD1 ILE A 101 -7.847 5.623 14.146 1.00 92.43
|
| 738 |
+
ATOM 738 N GLY A 102 -4.834 1.652 15.638 1.00 78.47
|
| 739 |
+
ATOM 739 CA GLY A 102 -3.390 1.596 15.758 1.00 81.22
|
| 740 |
+
ATOM 740 C GLY A 102 -2.922 1.745 17.190 1.00 87.50
|
| 741 |
+
ATOM 741 O GLY A 102 -3.462 1.096 18.090 1.00 90.94
|
| 742 |
+
ATOM 742 N SER A 103 -1.921 2.591 17.422 1.00 83.29
|
| 743 |
+
ATOM 743 CA SER A 103 -1.435 2.856 18.766 1.00 77.52
|
| 744 |
+
ATOM 744 C SER A 103 -1.645 4.324 19.111 1.00 80.95
|
| 745 |
+
ATOM 745 O SER A 103 -1.857 5.164 18.232 1.00 86.67
|
| 746 |
+
ATOM 746 CB SER A 103 0.050 2.495 18.903 1.00 82.90
|
| 747 |
+
ATOM 747 OG SER A 103 0.844 3.273 18.025 1.00 86.19
|
| 748 |
+
ATOM 748 N LYS A 104 -1.561 4.622 20.412 1.00 84.36
|
| 749 |
+
ATOM 749 CA LYS A 104 -1.742 5.991 20.891 1.00 85.10
|
| 750 |
+
ATOM 750 C LYS A 104 -0.826 6.968 20.166 1.00 89.66
|
| 751 |
+
ATOM 751 O LYS A 104 -1.254 8.061 19.770 1.00 88.41
|
| 752 |
+
ATOM 752 CB LYS A 104 -1.500 6.051 22.400 1.00 76.43
|
| 753 |
+
ATOM 753 N SER A 105 0.437 6.578 19.968 1.00 94.41
|
| 754 |
+
ATOM 754 CA SER A 105 1.394 7.441 19.286 1.00100.43
|
| 755 |
+
ATOM 755 C SER A 105 0.950 7.777 17.869 1.00101.67
|
| 756 |
+
ATOM 756 O SER A 105 1.264 8.861 17.364 1.00105.22
|
| 757 |
+
ATOM 757 CB SER A 105 2.773 6.781 19.265 1.00104.67
|
| 758 |
+
ATOM 758 OG SER A 105 2.725 5.521 18.617 1.00105.57
|
| 759 |
+
HETATM 759 N MSE A 106 0.226 6.876 17.214 1.00 85.09
|
| 760 |
+
HETATM 760 CA MSE A 106 -0.256 7.170 15.873 1.00 82.50
|
| 761 |
+
HETATM 761 C MSE A 106 -1.746 7.497 15.853 1.00 82.78
|
| 762 |
+
HETATM 762 O MSE A 106 -2.224 8.076 14.889 1.00 83.65
|
| 763 |
+
HETATM 763 CB MSE A 106 0.030 6.017 14.911 1.00 84.16
|
| 764 |
+
HETATM 764 CG MSE A 106 0.227 6.497 13.479 1.00 88.69
|
| 765 |
+
HETATM 765 SE MSE A 106 -0.360 5.252 12.101 0.50103.35
|
| 766 |
+
HETATM 766 CE MSE A 106 -0.051 6.384 10.541 1.00 92.57
|
| 767 |
+
ATOM 767 N VAL A 107 -2.482 7.120 16.902 1.00 83.27
|
| 768 |
+
ATOM 768 CA VAL A 107 -3.856 7.602 17.035 1.00 62.84
|
| 769 |
+
ATOM 769 C VAL A 107 -3.863 9.119 17.159 1.00 61.42
|
| 770 |
+
ATOM 770 O VAL A 107 -4.659 9.814 16.508 1.00 67.96
|
| 771 |
+
ATOM 771 CB VAL A 107 -4.555 6.931 18.233 1.00 59.59
|
| 772 |
+
ATOM 772 CG1 VAL A 107 -5.788 7.721 18.643 1.00 53.56
|
| 773 |
+
ATOM 773 CG2 VAL A 107 -4.942 5.504 17.888 1.00 56.59
|
| 774 |
+
ATOM 774 N SER A 108 -2.932 9.661 17.949 1.00 61.07
|
| 775 |
+
ATOM 775 CA SER A 108 -2.815 11.107 18.066 1.00 70.04
|
| 776 |
+
ATOM 776 C SER A 108 -2.393 11.758 16.756 1.00 77.79
|
| 777 |
+
ATOM 777 O SER A 108 -2.458 12.987 16.646 1.00 82.23
|
| 778 |
+
ATOM 778 CB SER A 108 -1.821 11.463 19.173 1.00 73.85
|
| 779 |
+
ATOM 779 OG SER A 108 -1.665 12.866 19.289 1.00 83.25
|
| 780 |
+
ATOM 780 N ARG A 109 -1.971 10.968 15.767 1.00 73.91
|
| 781 |
+
ATOM 781 CA ARG A 109 -1.668 11.478 14.439 1.00 69.56
|
| 782 |
+
ATOM 782 C ARG A 109 -2.801 11.246 13.449 1.00 75.79
|
| 783 |
+
ATOM 783 O ARG A 109 -2.907 11.990 12.468 1.00 87.81
|
| 784 |
+
ATOM 784 CB ARG A 109 -0.384 10.834 13.901 1.00 62.51
|
| 785 |
+
ATOM 785 N VAL A 110 -3.645 10.237 13.683 1.00 65.65
|
| 786 |
+
ATOM 786 CA VAL A 110 -4.866 10.092 12.899 1.00 59.73
|
| 787 |
+
ATOM 787 C VAL A 110 -5.850 11.188 13.272 1.00 59.64
|
| 788 |
+
ATOM 788 O VAL A 110 -6.687 11.586 12.453 1.00 65.22
|
| 789 |
+
ATOM 789 CB VAL A 110 -5.477 8.689 13.083 1.00 51.38
|
| 790 |
+
ATOM 790 CG1 VAL A 110 -6.678 8.506 12.169 1.00 49.58
|
| 791 |
+
ATOM 791 CG2 VAL A 110 -4.443 7.620 12.784 1.00 54.58
|
| 792 |
+
ATOM 792 N LEU A 111 -5.740 11.732 14.484 1.00 64.86
|
| 793 |
+
ATOM 793 CA LEU A 111 -6.528 12.898 14.860 1.00 77.30
|
| 794 |
+
ATOM 794 C LEU A 111 -5.722 14.185 14.738 1.00 77.71
|
| 795 |
+
ATOM 795 O LEU A 111 -6.111 15.215 15.299 1.00 71.30
|
| 796 |
+
ATOM 796 CB LEU A 111 -7.088 12.755 16.280 1.00 70.95
|
| 797 |
+
ATOM 797 CG LEU A 111 -8.146 11.706 16.666 1.00 58.32
|
| 798 |
+
ATOM 798 CD1 LEU A 111 -7.778 10.268 16.315 1.00 56.55
|
| 799 |
+
ATOM 799 CD2 LEU A 111 -8.475 11.824 18.150 1.00 54.39
|
| 800 |
+
ATOM 800 N SER A 112 -4.609 14.142 14.004 1.00 79.84
|
| 801 |
+
ATOM 801 CA SER A 112 -3.830 15.327 13.672 1.00 87.39
|
| 802 |
+
ATOM 802 C SER A 112 -3.383 15.262 12.217 1.00 91.07
|
| 803 |
+
ATOM 803 O SER A 112 -4.080 15.752 11.322 1.00 78.84
|
| 804 |
+
ATOM 804 CB SER A 112 -2.621 15.457 14.601 1.00 95.00
|
| 805 |
+
ATOM 805 OG SER A 112 -1.896 16.645 14.333 1.00105.50
|
| 806 |
+
ATOM 806 N GLY A 113 -2.227 14.651 11.973 1.00 94.52
|
| 807 |
+
ATOM 807 CA GLY A 113 -1.704 14.503 10.627 1.00 80.68
|
| 808 |
+
ATOM 808 C GLY A 113 -0.762 13.322 10.481 1.00 70.71
|
| 809 |
+
ATOM 809 O GLY A 113 -1.052 12.369 9.757 1.00 65.76
|
| 810 |
+
ATOM 810 N LEU A 117 -6.430 8.522 8.604 1.00 61.76
|
| 811 |
+
ATOM 811 CA LEU A 117 -7.553 7.593 8.572 1.00 65.61
|
| 812 |
+
ATOM 812 C LEU A 117 -7.638 6.931 7.199 1.00 57.36
|
| 813 |
+
ATOM 813 O LEU A 117 -7.924 7.591 6.199 1.00 52.03
|
| 814 |
+
ATOM 814 CB LEU A 117 -8.861 8.320 8.907 1.00 65.98
|
| 815 |
+
ATOM 815 CG LEU A 117 -9.964 7.566 9.660 1.00 50.08
|
| 816 |
+
ATOM 816 CD1 LEU A 117 -11.166 8.471 9.879 1.00 44.45
|
| 817 |
+
ATOM 817 CD2 LEU A 117 -10.388 6.290 8.945 1.00 48.64
|
| 818 |
+
ATOM 818 N THR A 118 -7.389 5.626 7.159 1.00 58.59
|
| 819 |
+
ATOM 819 CA THR A 118 -7.376 4.856 5.925 1.00 77.73
|
| 820 |
+
ATOM 820 C THR A 118 -8.631 3.998 5.821 1.00 82.60
|
| 821 |
+
ATOM 821 O THR A 118 -9.366 3.807 6.794 1.00 81.16
|
| 822 |
+
ATOM 822 CB THR A 118 -6.132 3.965 5.835 1.00 74.72
|
| 823 |
+
ATOM 823 OG1 THR A 118 -6.327 2.786 6.624 1.00 71.66
|
| 824 |
+
ATOM 824 CG2 THR A 118 -4.908 4.712 6.342 1.00 78.99
|
| 825 |
+
ATOM 825 N LEU A 119 -8.874 3.490 4.610 1.00 96.21
|
| 826 |
+
ATOM 826 CA LEU A 119 -10.038 2.640 4.378 1.00 93.89
|
| 827 |
+
ATOM 827 C LEU A 119 -9.985 1.369 5.216 1.00100.56
|
| 828 |
+
ATOM 828 O LEU A 119 -11.033 0.862 5.638 1.00103.44
|
| 829 |
+
ATOM 829 CB LEU A 119 -10.149 2.294 2.891 1.00 98.15
|
| 830 |
+
ATOM 830 CG LEU A 119 -8.916 1.711 2.192 1.00117.32
|
| 831 |
+
ATOM 831 CD1 LEU A 119 -9.337 0.748 1.095 1.00129.64
|
| 832 |
+
ATOM 832 CD2 LEU A 119 -8.035 2.814 1.614 1.00121.44
|
| 833 |
+
ATOM 833 N GLU A 120 -8.786 0.834 5.464 1.00 99.49
|
| 834 |
+
ATOM 834 CA GLU A 120 -8.675 -0.353 6.307 1.00 88.18
|
| 835 |
+
ATOM 835 C GLU A 120 -9.127 -0.052 7.730 1.00 92.24
|
| 836 |
+
ATOM 836 O GLU A 120 -9.786 -0.882 8.371 1.00101.63
|
| 837 |
+
ATOM 837 CB GLU A 120 -7.238 -0.874 6.295 1.00 89.04
|
| 838 |
+
ATOM 838 N HIS A 121 -8.775 1.130 8.242 1.00 89.99
|
| 839 |
+
ATOM 839 CA HIS A 121 -9.309 1.583 9.523 1.00 85.42
|
| 840 |
+
ATOM 840 C HIS A 121 -10.833 1.599 9.499 1.00 78.02
|
| 841 |
+
ATOM 841 O HIS A 121 -11.486 1.138 10.442 1.00 72.13
|
| 842 |
+
ATOM 842 CB HIS A 121 -8.760 2.971 9.863 1.00 92.75
|
| 843 |
+
ATOM 843 CG HIS A 121 -7.268 3.026 9.981 1.00 96.26
|
| 844 |
+
ATOM 844 ND1 HIS A 121 -6.420 2.692 8.947 1.00102.55
|
| 845 |
+
ATOM 845 CD2 HIS A 121 -6.472 3.387 11.015 1.00 92.08
|
| 846 |
+
ATOM 846 CE1 HIS A 121 -5.168 2.839 9.341 1.00101.24
|
| 847 |
+
ATOM 847 NE2 HIS A 121 -5.171 3.261 10.592 1.00 98.12
|
| 848 |
+
ATOM 848 N ALA A 122 -11.414 2.132 8.420 1.00 89.65
|
| 849 |
+
ATOM 849 CA ALA A 122 -12.867 2.227 8.321 1.00 84.82
|
| 850 |
+
ATOM 850 C ALA A 122 -13.514 0.850 8.351 1.00 81.64
|
| 851 |
+
ATOM 851 O ALA A 122 -14.520 0.643 9.040 1.00 78.48
|
| 852 |
+
ATOM 852 CB ALA A 122 -13.257 2.976 7.047 1.00 84.27
|
| 853 |
+
ATOM 853 N LYS A 123 -12.956 -0.106 7.603 1.00 81.52
|
| 854 |
+
ATOM 854 CA LYS A 123 -13.544 -1.440 7.563 1.00 80.14
|
| 855 |
+
ATOM 855 C LYS A 123 -13.353 -2.177 8.883 1.00 72.15
|
| 856 |
+
ATOM 856 O LYS A 123 -14.227 -2.948 9.294 1.00 69.02
|
| 857 |
+
ATOM 857 CB LYS A 123 -12.941 -2.246 6.412 1.00 74.71
|
| 858 |
+
ATOM 858 N LYS A 124 -12.222 -1.958 9.556 1.00 69.48
|
| 859 |
+
ATOM 859 CA LYS A 124 -11.946 -2.668 10.799 1.00 68.11
|
| 860 |
+
ATOM 860 C LYS A 124 -12.688 -2.055 11.983 1.00 66.49
|
| 861 |
+
ATOM 861 O LYS A 124 -13.217 -2.784 12.830 1.00 72.85
|
| 862 |
+
ATOM 862 CB LYS A 124 -10.440 -2.691 11.062 1.00 68.80
|
| 863 |
+
ATOM 863 CG LYS A 124 -10.012 -3.659 12.152 1.00 69.39
|
| 864 |
+
ATOM 864 CD LYS A 124 -9.034 -4.694 11.613 1.00 72.74
|
| 865 |
+
ATOM 865 CE LYS A 124 -7.920 -4.043 10.805 1.00 83.75
|
| 866 |
+
ATOM 866 NZ LYS A 124 -7.003 -3.242 11.661 1.00 91.66
|
| 867 |
+
ATOM 867 N LEU A 125 -12.731 -0.722 12.062 1.00 76.11
|
| 868 |
+
ATOM 868 CA LEU A 125 -13.491 -0.057 13.119 1.00 74.98
|
| 869 |
+
ATOM 869 C LEU A 125 -14.975 -0.397 13.046 1.00 72.10
|
| 870 |
+
ATOM 870 O LEU A 125 -15.639 -0.535 14.081 1.00 64.04
|
| 871 |
+
ATOM 871 CB LEU A 125 -13.287 1.456 13.041 1.00 65.70
|
| 872 |
+
ATOM 872 CG LEU A 125 -12.058 2.017 13.757 1.00 65.85
|
| 873 |
+
ATOM 873 CD1 LEU A 125 -11.740 3.418 13.258 1.00 67.29
|
| 874 |
+
ATOM 874 CD2 LEU A 125 -12.263 2.013 15.262 1.00 67.17
|
| 875 |
+
ATOM 875 N ALA A 126 -15.516 -0.523 11.832 1.00 65.97
|
| 876 |
+
ATOM 876 CA ALA A 126 -16.936 -0.826 11.675 1.00 66.18
|
| 877 |
+
ATOM 877 C ALA A 126 -17.305 -2.172 12.286 1.00 74.51
|
| 878 |
+
ATOM 878 O ALA A 126 -18.411 -2.329 12.817 1.00 75.07
|
| 879 |
+
ATOM 879 CB ALA A 126 -17.316 -0.799 10.196 1.00 67.82
|
| 880 |
+
ATOM 880 N THR A 127 -16.403 -3.153 12.219 1.00 70.73
|
| 881 |
+
ATOM 881 CA THR A 127 -16.691 -4.460 12.800 1.00 69.92
|
| 882 |
+
ATOM 882 C THR A 127 -16.688 -4.422 14.324 1.00 70.37
|
| 883 |
+
ATOM 883 O THR A 127 -17.458 -5.150 14.960 1.00 69.38
|
| 884 |
+
ATOM 884 CB THR A 127 -15.682 -5.493 12.298 1.00 75.67
|
| 885 |
+
ATOM 885 OG1 THR A 127 -14.356 -4.964 12.414 1.00 85.72
|
| 886 |
+
ATOM 886 CG2 THR A 127 -15.957 -5.838 10.842 1.00 75.85
|
| 887 |
+
ATOM 887 N ARG A 128 -15.836 -3.587 14.924 1.00 69.55
|
| 888 |
+
ATOM 888 CA ARG A 128 -15.751 -3.537 16.380 1.00 66.60
|
| 889 |
+
ATOM 889 C ARG A 128 -17.022 -2.969 16.999 1.00 65.18
|
| 890 |
+
ATOM 890 O ARG A 128 -17.475 -3.448 18.046 1.00 64.27
|
| 891 |
+
ATOM 891 CB ARG A 128 -14.535 -2.714 16.806 1.00 63.19
|
| 892 |
+
ATOM 892 N PHE A 129 -17.611 -1.951 16.376 1.00 73.77
|
| 893 |
+
ATOM 893 CA PHE A 129 -18.756 -1.252 16.942 1.00 74.45
|
| 894 |
+
ATOM 894 C PHE A 129 -20.077 -1.634 16.288 1.00 76.82
|
| 895 |
+
ATOM 895 O PHE A 129 -21.122 -1.107 16.683 1.00 77.86
|
| 896 |
+
ATOM 896 CB PHE A 129 -18.552 0.263 16.842 1.00 64.98
|
| 897 |
+
ATOM 897 CG PHE A 129 -17.381 0.770 17.637 1.00 66.59
|
| 898 |
+
ATOM 898 CD1 PHE A 129 -16.108 0.786 17.091 1.00 68.63
|
| 899 |
+
ATOM 899 CD2 PHE A 129 -17.553 1.224 18.933 1.00 62.22
|
| 900 |
+
ATOM 900 CE1 PHE A 129 -15.030 1.250 17.822 1.00 62.11
|
| 901 |
+
ATOM 901 CE2 PHE A 129 -16.480 1.689 19.669 1.00 61.83
|
| 902 |
+
ATOM 902 CZ PHE A 129 -15.217 1.702 19.113 1.00 61.78
|
| 903 |
+
ATOM 903 N GLY A 130 -20.061 -2.535 15.307 1.00 46.48
|
| 904 |
+
ATOM 904 CA GLY A 130 -21.295 -2.981 14.683 1.00 48.57
|
| 905 |
+
ATOM 905 C GLY A 130 -22.037 -1.897 13.934 1.00 61.17
|
| 906 |
+
ATOM 906 O GLY A 130 -23.270 -1.935 13.860 1.00 53.64
|
| 907 |
+
ATOM 907 N ILE A 131 -21.318 -0.926 13.375 1.00 68.87
|
| 908 |
+
ATOM 908 CA ILE A 131 -21.918 0.193 12.666 1.00 58.91
|
| 909 |
+
ATOM 909 C ILE A 131 -21.443 0.171 11.216 1.00 57.67
|
| 910 |
+
ATOM 910 O ILE A 131 -20.507 -0.542 10.854 1.00 61.54
|
| 911 |
+
ATOM 911 CB ILE A 131 -21.598 1.545 13.332 1.00 54.92
|
| 912 |
+
ATOM 912 CG1 ILE A 131 -20.087 1.779 13.365 1.00 49.74
|
| 913 |
+
ATOM 913 CG2 ILE A 131 -22.184 1.591 14.737 1.00 58.21
|
| 914 |
+
ATOM 914 CD1 ILE A 131 -19.662 2.903 14.286 1.00 47.65
|
| 915 |
+
ATOM 915 N SER A 132 -22.115 0.962 10.386 1.00 61.91
|
| 916 |
+
ATOM 916 CA SER A 132 -21.820 0.979 8.960 1.00 55.56
|
| 917 |
+
ATOM 917 C SER A 132 -20.410 1.509 8.711 1.00 55.87
|
| 918 |
+
ATOM 918 O SER A 132 -20.024 2.530 9.297 1.00 65.90
|
| 919 |
+
ATOM 919 CB SER A 132 -22.843 1.838 8.218 1.00 55.60
|
| 920 |
+
ATOM 920 OG SER A 132 -22.497 1.984 6.851 1.00 56.98
|
| 921 |
+
ATOM 921 N PRO A 133 -19.611 0.844 7.871 1.00 53.11
|
| 922 |
+
ATOM 922 CA PRO A 133 -18.290 1.396 7.521 1.00 54.22
|
| 923 |
+
ATOM 923 C PRO A 133 -18.357 2.772 6.884 1.00 59.24
|
| 924 |
+
ATOM 924 O PRO A 133 -17.407 3.554 7.019 1.00 53.70
|
| 925 |
+
ATOM 925 CB PRO A 133 -17.709 0.363 6.545 1.00 54.00
|
| 926 |
+
ATOM 926 CG PRO A 133 -18.551 -0.850 6.659 1.00 49.99
|
| 927 |
+
ATOM 927 CD PRO A 133 -19.835 -0.512 7.341 1.00 48.46
|
| 928 |
+
ATOM 928 N ALA A 134 -19.458 3.093 6.197 1.00 69.70
|
| 929 |
+
ATOM 929 CA ALA A 134 -19.586 4.383 5.528 1.00 51.98
|
| 930 |
+
ATOM 930 C ALA A 134 -19.443 5.556 6.488 1.00 49.31
|
| 931 |
+
ATOM 931 O ALA A 134 -19.131 6.669 6.049 1.00 48.54
|
| 932 |
+
ATOM 932 CB ALA A 134 -20.929 4.467 4.800 1.00 46.03
|
| 933 |
+
ATOM 933 N LEU A 135 -19.658 5.333 7.786 1.00 49.54
|
| 934 |
+
ATOM 934 CA LEU A 135 -19.500 6.396 8.769 1.00 53.49
|
| 935 |
+
ATOM 935 C LEU A 135 -18.057 6.869 8.898 1.00 46.93
|
| 936 |
+
ATOM 936 O LEU A 135 -17.823 7.954 9.439 1.00 40.45
|
| 937 |
+
ATOM 937 CB LEU A 135 -20.011 5.922 10.131 1.00 56.69
|
| 938 |
+
ATOM 938 CG LEU A 135 -21.472 6.232 10.464 1.00 46.89
|
| 939 |
+
ATOM 939 CD1 LEU A 135 -21.864 5.590 11.785 1.00 44.91
|
| 940 |
+
ATOM 940 CD2 LEU A 135 -21.707 7.734 10.503 1.00 55.38
|
| 941 |
+
ATOM 941 N PHE A 136 -17.088 6.088 8.421 1.00 40.45
|
| 942 |
+
ATOM 942 CA PHE A 136 -15.680 6.432 8.565 1.00 39.53
|
| 943 |
+
ATOM 943 C PHE A 136 -14.991 6.764 7.249 1.00 51.08
|
| 944 |
+
ATOM 944 O PHE A 136 -13.803 7.101 7.261 1.00 64.02
|
| 945 |
+
ATOM 945 CB PHE A 136 -14.923 5.297 9.265 1.00 39.32
|
| 946 |
+
ATOM 946 CG PHE A 136 -15.501 4.911 10.595 1.00 40.80
|
| 947 |
+
ATOM 947 CD1 PHE A 136 -16.542 4.002 10.679 1.00 40.24
|
| 948 |
+
ATOM 948 CD2 PHE A 136 -15.005 5.464 11.763 1.00 54.82
|
| 949 |
+
ATOM 949 CE1 PHE A 136 -17.074 3.647 11.904 1.00 40.49
|
| 950 |
+
ATOM 950 CE2 PHE A 136 -15.532 5.114 12.990 1.00 62.09
|
| 951 |
+
ATOM 951 CZ PHE A 136 -16.568 4.204 13.060 1.00 44.98
|
| 952 |
+
ATOM 952 N ILE A 137 -15.690 6.685 6.122 1.00 86.43
|
| 953 |
+
ATOM 953 CA ILE A 137 -15.106 6.985 4.821 1.00 75.65
|
| 954 |
+
ATOM 954 C ILE A 137 -15.577 8.369 4.391 1.00 74.16
|
| 955 |
+
ATOM 955 O ILE A 137 -16.782 8.649 4.357 1.00 87.23
|
| 956 |
+
ATOM 956 CB ILE A 137 -15.463 5.912 3.779 1.00 76.13
|
| 957 |
+
ATOM 957 CG1 ILE A 137 -16.976 5.716 3.693 1.00 79.79
|
| 958 |
+
ATOM 958 CG2 ILE A 137 -14.773 4.597 4.110 1.00 77.27
|
| 959 |
+
ATOM 959 CD1 ILE A 137 -17.520 5.703 2.292 1.00 77.24
|
| 960 |
+
ATOM 960 N ASP A 138 -14.623 9.239 4.090 1.00 71.72
|
| 961 |
+
ATOM 961 CA ASP A 138 -14.872 10.605 3.655 1.00 74.29
|
| 962 |
+
ATOM 962 C ASP A 138 -14.266 10.818 2.271 1.00 78.23
|
| 963 |
+
ATOM 963 O ASP A 138 -13.632 9.927 1.700 1.00 79.66
|
| 964 |
+
ATOM 964 CB ASP A 138 -14.307 11.604 4.668 1.00 81.20
|
| 965 |
+
ATOM 965 CG ASP A 138 -14.506 11.150 6.102 1.00 97.53
|
| 966 |
+
ATOM 966 OD1 ASP A 138 -13.820 10.195 6.524 1.00103.78
|
| 967 |
+
ATOM 967 OD2 ASP A 138 -15.349 11.746 6.805 1.00101.61
|
| 968 |
+
ATOM 968 N LEU A 139 -14.474 12.014 1.729 1.00 77.52
|
| 969 |
+
ATOM 969 CA LEU A 139 -13.944 12.360 0.417 1.00 80.28
|
| 970 |
+
ATOM 970 C LEU A 139 -12.422 12.484 0.498 1.00 86.41
|
| 971 |
+
ATOM 971 O LEU A 139 -11.795 12.203 1.524 1.00 84.47
|
| 972 |
+
ATOM 972 CB LEU A 139 -14.585 13.645 -0.098 1.00 76.63
|
| 973 |
+
ATOM 973 CG LEU A 139 -15.884 13.520 -0.898 1.00 77.56
|
| 974 |
+
ATOM 974 CD1 LEU A 139 -15.728 12.498 -2.015 1.00 67.89
|
| 975 |
+
ATOM 975 CD2 LEU A 139 -17.060 13.174 0.001 1.00 82.63
|
| 976 |
+
ATOM 976 N GLU A 140 -11.810 12.920 -0.599 1.00 85.02
|
| 977 |
+
ATOM 977 CA GLU A 140 -10.363 13.034 -0.684 1.00 87.23
|
| 978 |
+
ATOM 978 C GLU A 140 -10.024 14.344 -1.387 1.00 93.76
|
| 979 |
+
ATOM 979 O GLU A 140 -10.894 15.009 -1.956 1.00 99.35
|
| 980 |
+
ATOM 980 CB GLU A 140 -9.765 11.820 -1.413 1.00 91.36
|
| 981 |
+
ATOM 981 CG GLU A 140 -8.253 11.698 -1.341 1.00 98.80
|
| 982 |
+
ATOM 982 CD GLU A 140 -7.785 10.896 -0.143 1.00 89.13
|
| 983 |
+
ATOM 983 OE1 GLU A 140 -8.557 10.040 0.340 1.00 82.77
|
| 984 |
+
ATOM 984 OE2 GLU A 140 -6.644 11.118 0.313 1.00 88.14
|
| 985 |
+
ATOM 985 N HIS A 141 -8.748 14.722 -1.320 1.00 99.56
|
| 986 |
+
ATOM 986 CA HIS A 141 -8.233 15.926 -1.970 1.00 98.38
|
| 987 |
+
ATOM 987 C HIS A 141 -8.662 15.998 -3.435 1.00 90.54
|
| 988 |
+
ATOM 988 O HIS A 141 -7.833 15.924 -4.342 1.00 89.89
|
| 989 |
+
ATOM 989 CB HIS A 141 -6.704 15.964 -1.865 1.00105.22
|
| 990 |
+
ATOM 990 CG HIS A 141 -6.085 17.245 -2.338 1.00112.98
|
| 991 |
+
ATOM 991 ND1 HIS A 141 -6.816 18.267 -2.905 1.00116.44
|
| 992 |
+
ATOM 992 CD2 HIS A 141 -4.796 17.661 -2.339 1.00112.09
|
| 993 |
+
ATOM 993 CE1 HIS A 141 -6.006 19.260 -3.227 1.00112.02
|
| 994 |
+
ATOM 994 NE2 HIS A 141 -4.774 18.917 -2.894 1.00110.49
|
| 995 |
+
TER
|
| 996 |
+
HETATM 3527 O HOH A 201 -44.216 36.385 -2.042 1.00 23.46
|
| 997 |
+
TER
|