Skip to content

A question about pytraj.align() #1590

Answered by hainm
1heman asked this question in Q&A
Dec 10, 2021 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

hi @1heman: I am sorry for my delay reply (I normally check github notification via my email but github did not seem to send this thread to my email).

I am particularly not sure how accurate this function is. I have been simulating protein-ligand systems. In many cases, in a > visualizer, I have found the ligand to be all over the place but the RMSD of the ligand and the protein speak otherwise.

To make sure the code correct, please specify a protein segment, saying residue :1-12, write the aligned trajectory and visualize it.

pt.align(traj_load, ref=0, mask=':1-12')

Note that I have not given any mask assuming that this would align the trajectory w.r.t. all atoms of the initial frame.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@1heman
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by 1heman
Comment options

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