Skip to content

Commit

Permalink
disambiguate assembly chains by appending assembly id
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-hh committed Nov 10, 2024
1 parent d9f0c13 commit af068cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/biotite/structure/io/pdbx/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -1624,6 +1624,9 @@ def get_assembly(
sub_assembly = _apply_transformations(
sub_structure, transformations, operations
)
sub_assembly.set_annotation(
"chain_id", sub_assembly.chain_id + ("-" + id if id != "1" else "")
)
# Merge the chains with asym IDs for this operation
# with chains from other operations
if assembly is None:
Expand Down

0 comments on commit af068cd

Please sign in to comment.