{"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/learning-to-engineer-protein-flexibility","title":"Learning to engineer protein flexibility","arxiv_id":"2412.18275","date":"2024-12-24","proceeding":null,"authors":["Petr Kouba","Joan Planas-Iglesias","Jiri Damborsky","Jiri Sedlar","Stanislav Mazurenko","Josef Sivic"],"abstract":"Generative machine learning models are increasingly being used to design novel proteins for therapeutic and biotechnological applications. However, the current methods mostly focus on the design of proteins with a fixed backbone structure, which leads to their limited ability to account for protein flexibility, one of the crucial properties for protein function. Learning to engineer protein flexibility is problematic because the available data are scarce, heterogeneous, and costly to obtain using computational as well as experimental methods. Our contributions to address this problem are three-fold. First, we comprehensively compare methods for quantifying protein flexibility and identify data relevant to learning. Second, we design and train flexibility predictors utilizing sequential or both sequential and structural information on the input. We overcome the data scarcity issue by leveraging a pre-trained protein language model. Third, we introduce a method for fine-tuning a protein inverse folding model to steer it toward desired flexibility in specified regions. We demonstrate that our method Flexpert-Design enables guidance of inverse folding models toward increased flexibility. This opens up new possibilities for protein flexibility engineering and the development of proteins with enhanced biological activities.","url_abs":"https://arxiv.org/abs/2412.18275v2","url_pdf":"https://arxiv.org/pdf/2412.18275v2.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":"learning-to-engineer-protein-flexibility","repo_url":"https://github.com/KoubaPetr/Flexpert","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"language-modeling","task_name":"Language Modeling"},{"task_slug":"language-modelling","task_name":"Language Modelling"},{"task_slug":"protein-language-model","task_name":"Protein Language Model"}],"methods":[{"method_slug":"focus","method_name":"Focus"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2412.18275","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2412.18275"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/KoubaPetr/Flexpert","reach":null}],"summary":{"ran_fixture":6,"ran_draft_wrong":3,"unverified":2},"by_repo_kind":{"official":{"samples":11,"ran":9,"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":0,"samples":[{"code_sha256_prefix":"af3beed9f1e84878","entry":"_dihedrals","repo":"KoubaPetr/Flexpert","repo_kind":"official","path":"Flexpert-Design/src/models/pifold_model.py","file_url":"https://github.com/KoubaPetr/Flexpert/blob/HEAD/Flexpert-Design/src/models/pifold_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"af3beed9f1e84878"}},{"code_sha256_prefix":"fdbddecae670c752","entry":"_get_rbf","repo":"KoubaPetr/Flexpert","repo_kind":"official","path":"Flexpert-Design/src/models/pifold_model.py","file_url":"https://github.com/KoubaPetr/Flexpert/blob/HEAD/Flexpert-Design/src/models/pifold_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fdbddecae670c752"}},{"code_sha256_prefix":"5e780a2c65bd8fa2","entry":"_normalize","repo":"KoubaPetr/Flexpert","repo_kind":"official","path":"Flexpert-Design/src/models/pifold_model.py","file_url":"https://github.com/KoubaPetr/Flexpert/blob/HEAD/Flexpert-Design/src/models/pifold_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5e780a2c65bd8fa2"}},{"code_sha256_prefix":"253736ca102872e4","entry":"_orientations_coarse_gl_tuple","repo":"KoubaPetr/Flexpert","repo_kind":"official","path":"Flexpert-Design/src/models/pifold_model.py","file_url":"https://github.com/KoubaPetr/Flexpert/blob/HEAD/Flexpert-Design/src/models/pifold_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"253736ca102872e4"}},{"code_sha256_prefix":"afae488bda159fe3","entry":"_quaternions","repo":"KoubaPetr/Flexpert","repo_kind":"official","path":"Flexpert-Design/src/models/pifold_model.py","file_url":"https://github.com/KoubaPetr/Flexpert/blob/HEAD/Flexpert-Design/src/models/pifold_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"afae488bda159fe3"}},{"code_sha256_prefix":"459bd6692cfde12a","entry":"_rbf","repo":"KoubaPetr/Flexpert","repo_kind":"official","path":"Flexpert-Design/src/models/pifold_model.py","file_url":"https://github.com/KoubaPetr/Flexpert/blob/HEAD/Flexpert-Design/src/models/pifold_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"459bd6692cfde12a"}},{"code_sha256_prefix":"64ff3a8d5e550e4e","entry":"cal_dihedral","repo":"KoubaPetr/Flexpert","repo_kind":"official","path":"Flexpert-Design/src/models/pifold_model.py","file_url":"https://github.com/KoubaPetr/Flexpert/blob/HEAD/Flexpert-Design/src/models/pifold_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"64ff3a8d5e550e4e"}},{"code_sha256_prefix":"d1c36b6577e46ad5","entry":"gather_nodes","repo":"KoubaPetr/Flexpert","repo_kind":"official","path":"Flexpert-Design/src/models/pifold_model.py","file_url":"https://github.com/KoubaPetr/Flexpert/blob/HEAD/Flexpert-Design/src/models/pifold_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d1c36b6577e46ad5"}},{"code_sha256_prefix":"79545090ec5f8fe4","entry":"nan_to_num","repo":"KoubaPetr/Flexpert","repo_kind":"official","path":"Flexpert-Design/src/models/pifold_model.py","file_url":"https://github.com/KoubaPetr/Flexpert/blob/HEAD/Flexpert-Design/src/models/pifold_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"79545090ec5f8fe4"}},{"code_sha256_prefix":"1120084014594842","entry":"PiFold_Model","repo":"KoubaPetr/Flexpert","repo_kind":"official","path":"Flexpert-Design/src/models/pifold_model.py","file_url":"https://github.com/KoubaPetr/Flexpert/blob/HEAD/Flexpert-Design/src/models/pifold_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1120084014594842"}},{"code_sha256_prefix":"69de587d81783208","entry":"gather_edges","repo":"KoubaPetr/Flexpert","repo_kind":"official","path":"Flexpert-Design/src/models/pifold_model.py","file_url":"https://github.com/KoubaPetr/Flexpert/blob/HEAD/Flexpert-Design/src/models/pifold_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"69de587d81783208"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}