{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/predicting-a-protein-s-stability-under-a","title":"Predicting a Protein's Stability under a Million Mutations","arxiv_id":"2310.12979","date":"2023-10-19","proceeding":"NeurIPS 2023 11","authors":["Jeffrey Ouyang-Zhang","Daniel J. Diaz","Adam R. Klivans","Philipp Krähenbühl"],"abstract":"Stabilizing proteins is a foundational step in protein engineering. However, the evolutionary pressure of all extant proteins makes identifying the scarce number of mutations that will improve thermodynamic stability challenging. Deep learning has recently emerged as a powerful tool for identifying promising mutations. Existing approaches, however, are computationally expensive, as the number of model inferences scales with the number of mutations queried. Our main contribution is a simple, parallel decoding algorithm. Our Mutate Everything is capable of predicting the effect of all single and double mutations in one forward pass. It is even versatile enough to predict higher-order mutations with minimal computational overhead. We build Mutate Everything on top of ESM2 and AlphaFold, neither of which were trained to predict thermodynamic stability. We trained on the Mega-Scale cDNA proteolysis dataset and achieved state-of-the-art performance on single and higher-order mutations on S669, ProTherm, and ProteinGym datasets. Code is available at https://github.com/jozhang97/MutateEverything","url_abs":"https://arxiv.org/abs/2310.12979v2","url_pdf":"https://arxiv.org/pdf/2310.12979v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"predicting-a-protein-s-stability-under-a","repo_url":"https://github.com/jozhang97/mutateeverything","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok"}}],"tasks":[{"task_slug":"protein-stability-prediction","task_name":"Protein Stability Prediction"}],"methods":[{"method_slug":"alphafold","method_name":"AlphaFold"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2310.12979","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2310.12979"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/jozhang97/MutateEverything","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jozhang97/mutateeverything","reach":{"status":"ok"}}],"summary":{"ran":9,"ran_draft_wrong":2,"ran_honours":1,"unverified":3},"by_repo_kind":{"official":{"samples":15,"ran":12,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":15,"samples":[{"code_sha256_prefix":"d18eb63dd60cdd71","entry":"combine_protein_mutations","repo":"jozhang97/MutateEverything","repo_kind":"official","path":"data.py","file_url":"https://github.com/jozhang97/MutateEverything/blob/HEAD/data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d18eb63dd60cdd71"}},{"code_sha256_prefix":"a8086695f5317970","entry":"compute_detection_metrics","repo":"jozhang97/MutateEverything","repo_kind":"official","path":"metrics.py","file_url":"https://github.com/jozhang97/MutateEverything/blob/HEAD/metrics.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a8086695f5317970"}},{"code_sha256_prefix":"ef845b16cb85c032","entry":"compute_precision","repo":"jozhang97/MutateEverything","repo_kind":"official","path":"metrics.py","file_url":"https://github.com/jozhang97/MutateEverything/blob/HEAD/metrics.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ef845b16cb85c032"}},{"code_sha256_prefix":"05e41e1d1ff57ce1","entry":"create_single_decoder","repo":"jozhang97/MutateEverything","repo_kind":"official","path":"modeling/module.py","file_url":"https://github.com/jozhang97/MutateEverything/blob/HEAD/modeling/module.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"05e41e1d1ff57ce1"}},{"code_sha256_prefix":"d8e2abb7b254aa8e","entry":"eval_ddg","repo":"jozhang97/MutateEverything","repo_kind":"official","path":"metrics.py","file_url":"https://github.com/jozhang97/MutateEverything/blob/HEAD/metrics.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d8e2abb7b254aa8e"}},{"code_sha256_prefix":"716fcf713ec08ee7","entry":"gather_dict_keys_on_main","repo":"jozhang97/MutateEverything","repo_kind":"official","path":"misc.py","file_url":"https://github.com/jozhang97/MutateEverything/blob/HEAD/misc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"716fcf713ec08ee7"}},{"code_sha256_prefix":"a5453661c33b0217","entry":"get_dense_mut_infos","repo":"jozhang97/MutateEverything","repo_kind":"official","path":"data.py","file_url":"https://github.com/jozhang97/MutateEverything/blob/HEAD/data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a5453661c33b0217"}},{"code_sha256_prefix":"10aab5b5d2c1b350","entry":"list_files_with_extensions","repo":"jozhang97/MutateEverything","repo_kind":"official","path":"openfold/run_pretrained_openfold.py","file_url":"https://github.com/jozhang97/MutateEverything/blob/HEAD/openfold/run_pretrained_openfold.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"10aab5b5d2c1b350"}},{"code_sha256_prefix":"0fe7465592f4a854","entry":"mem_inputs_to_device","repo":"jozhang97/MutateEverything","repo_kind":"official","path":"modeling/utils.py","file_url":"https://github.com/jozhang97/MutateEverything/blob/HEAD/modeling/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0fe7465592f4a854"}},{"code_sha256_prefix":"88f4962784e09b88","entry":"param_groups_weight_decay","repo":"jozhang97/MutateEverything","repo_kind":"official","path":"misc.py","file_url":"https://github.com/jozhang97/MutateEverything/blob/HEAD/misc.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"88f4962784e09b88"}},{"code_sha256_prefix":"e6ad4baf9c137fd5","entry":"protein_collate_fn","repo":"jozhang97/MutateEverything","repo_kind":"official","path":"data.py","file_url":"https://github.com/jozhang97/MutateEverything/blob/HEAD/data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e6ad4baf9c137fd5"}},{"code_sha256_prefix":"c4680c7b2b56f872","entry":"round_up_seqlen","repo":"jozhang97/MutateEverything","repo_kind":"official","path":"openfold/run_pretrained_openfold.py","file_url":"https://github.com/jozhang97/MutateEverything/blob/HEAD/openfold/run_pretrained_openfold.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c4680c7b2b56f872"}},{"code_sha256_prefix":"febc89fdbe15fd45","entry":"generate_feature_dict","repo":"jozhang97/MutateEverything","repo_kind":"official","path":"openfold/run_pretrained_openfold.py","file_url":"https://github.com/jozhang97/MutateEverything/blob/HEAD/openfold/run_pretrained_openfold.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"febc89fdbe15fd45"}},{"code_sha256_prefix":"ba1356e8ceb654d2","entry":"get_grad_norm_","repo":"jozhang97/MutateEverything","repo_kind":"official","path":"misc.py","file_url":"https://github.com/jozhang97/MutateEverything/blob/HEAD/misc.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ba1356e8ceb654d2"}},{"code_sha256_prefix":"a077b806c09e66a4","entry":"loss_single_double","repo":"jozhang97/MutateEverything","repo_kind":"official","path":"modeling/criterion.py","file_url":"https://github.com/jozhang97/MutateEverything/blob/HEAD/modeling/criterion.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a077b806c09e66a4"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}