Skip to content

What if two pdbs of different atom numbers are to be comapred and rmsd is to be calculated? #288

Answered by padix-key
ssunidhi asked this question in Q&A
Discussion options

You must be logged in to vote

The problem is that superimpose() needs to unambiguously know, which atoms to superimpose onto each other, which does not work for different lengths of atom arrays. How to solve this issue depends on the similarity of both structures:

If both structures are conformations of the same protein, but one misses side chains, some residues, etc. , you can filter the atoms that appear in both structures via biotite.structure.filter_intersection(). An example of this can be found in https://www.biotite-python.org/examples/gallery/structure/ku_superimposition.html.

If however your proteins are merely homologous to each other, it is not that simple. In this case my approach would be a sequence align…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by padix-key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants