Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extracting f, v , u vectors #6

Open
arianabrenner opened this issue Aug 11, 2021 · 1 comment
Open

Extracting f, v , u vectors #6

arianabrenner opened this issue Aug 11, 2021 · 1 comment

Comments

@arianabrenner
Copy link

How do I extract the f, v, and u vectors (as defined in the 1CPN publication) for each bead? Specifically, I am most interested in the orthonormal (or f) vector of each nucleosome. Are these the c_q[x] values in the traj.dump file (where 1<=x<=4)? If so, is there a script to extract these values in a format similar to the traj_1cpn.xyz format? Thanks!

@lequieu
Copy link
Owner

lequieu commented Aug 13, 2021

c_q[x] in traj.dump is the quaternion that rotates f0,v0,u0 vectors into the instantaneous f,v,u vectors of a given site. There's a trajectory parsing tool located in src/include/trajectory_iterator.h where this calculation is performed. Take a look at the many scripts in src/analysis/ for how to use it. Its been a while since I've used these tools myself but src/analysis/calc_fvu_angle.cpp looks like a reasonable place to start.

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

No branches or pull requests

2 participants