From 9dd1275b78c4ffbc878ef916a2ccb855460c56f9 Mon Sep 17 00:00:00 2001 From: Stefan Bienert <stefan.bienert@unibas.ch> Date: Thu, 12 Dec 2024 11:02:10 +0100 Subject: [PATCH] Add audit_author, change src of ejtities --- projects/2024-12-ma-denv/translate2modelcif.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/projects/2024-12-ma-denv/translate2modelcif.py b/projects/2024-12-ma-denv/translate2modelcif.py index 9fca2a7..5215a10 100644 --- a/projects/2024-12-ma-denv/translate2modelcif.py +++ b/projects/2024-12-ma-denv/translate2modelcif.py @@ -201,6 +201,21 @@ def _update_modelcif(mdl_file, mdl_info, unp_json_file, out_dir, compress): pdbx_description=mdl_info["protein_desc"], match=("id", target["entity_id"]), ) + block.add_to_category( + "entity", + src_method="nat", + match=("id", target["entity_id"]), + ) + block.add_category( + "audit_author", + name=[ + "Guarnetti Prandi, Ingrid", + "Chillemi, Giovanni", + "Talarico, Carmine", + ], + pdbx_ordinal=[1, 2, 3], + after="ma_software_group", + ) # Update ModelCIF files with UniProtKB info struct_ref_id = "1" block.add_category( -- GitLab