-
Hey, amazing effort! I have a quick question though.. can the code be modified to deal with different-sized proteins so that rmsd amongst different proteins can be found too? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi @ssunidhi, Unfortunately, the rotation matrix can only be defined for equal elements, same order & the same number of atoms. You'll have to define the atomic subsets of the two proteins you want to compare. If the two proteins are not at all the same, I will suggest looking at the RMSD of the alpha-carbons using QML atoms-reordering (see tests/ for example usage). It still requires the same number of carbon-alpha to work though. Did that help answer your question? |
Beta Was this translation helpful? Give feedback.
-
Hi @ssunidhi,
if your are on the way to compare the spatial arrangement of proteins
with each other, you might be better off with a program like PyMol.
Complementary to calculate_rmsd.py, Pymol allows you to compare
proteins with different atom connectivity, too and report a RMSD of
the fit determined.
Depending on the sequence similarity of the two proteins to be
compared with each other align, cealign, or super may be suitable
for you:
https://pymolwiki.org/index.php/Align
https://pymolwiki.org/index.php/Cealign
https://pymolwiki.org/index.php/Super
|
Beta Was this translation helpful? Give feedback.
-
Actually it's quite often that we need to compare structure with different ligands, i.e. different atom count. |
Beta Was this translation helpful? Give feedback.
Hi @ssunidhi, Unfortunately, the rotation matrix can only be defined for equal elements, same order & the same number of atoms. You'll have to define the atomic subsets of the two proteins you want to compare.
If the two proteins are not at all the same, I will suggest looking at the RMSD of the alpha-carbons using QML atoms-reordering (see tests/ for example usage). It still requires the same number of carbon-alpha to work though.
Did that help answer your question?