Skip to content

Chain and numbering letter codes for SingleIrregularity class.#1

Merged
janikkokot merged 1 commit intoliedllab:mainfrom
exs-dcutting:irregularity_chain_id
Feb 8, 2023
Merged

Chain and numbering letter codes for SingleIrregularity class.#1
janikkokot merged 1 commit intoliedllab:mainfrom
exs-dcutting:irregularity_chain_id

Conversation

@exs-dcutting
Copy link
Copy Markdown
Contributor

Added chain id to SingleIrregularity class. As residue ids are not unique in a structure, the previous behaviour lead to a bug when selecting residues in pymol. For each irregularity all atoms in all chains with the residue id present would be selected, instead of just those in the chain with the irregularity present.
It's also useful to be able to know which chain or chains a clash or amide bond belongs to.

Also added the letter code in the resid to the SingleIrregulatrity class so that the correct residue is selected in numbering schemes like Chothia or imgt.

… As residue ids are not unique in a structure, the previous behaviour lead to a bug when selecting residues in pymol where irregularities would be selected in all chains with the residue id present.
@janikkokot janikkokot merged commit 73dc861 into liedllab:main Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants