NMRLipids / MATCH

GNU General Public License v2.0
4 stars 14 forks source link

periodic boundary conditions in the new order parameter code #12

Closed ohsOllila closed 6 years ago

ohsOllila commented 6 years ago

Should the jumps over periodic boundaries be removed also for the new order parameter calculation code https://github.com/NMRLipids/MATCH/blob/master/scripts/calcOrderParameters.py or does it take them into account?

hsantila commented 6 years ago

Yes, bonds spanning over boundaries should be removed beforehand. Otherwise an error is raised at line 116.

I'll add a note to the header for now.

ohsOllila commented 6 years ago

Thanks. How about removing the water, which was done before, is it still required?

hsantila commented 6 years ago

I think that was done to save space and/or speed up the analysis, but it is not necessary to get the right results

2018-04-17 17:25 GMT+02:00 ohsOllila notifications@github.com:

Thanks. How about removing the water, which was done before, is it still required?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/NMRLipids/MATCH/issues/12#issuecomment-382033811, or mute the thread https://github.com/notifications/unsubscribe-auth/AMFkip2h7oOM9-xsmhy3k5KbK38z2KgBks5tpglZgaJpZM4TYQ88 .

jmelcr commented 6 years ago

PBC has to be checked before the use of the script -- there is only a small check for a common bond-length, which would stop the script from running if the bond length is too large (e.g. C - H split by PBC).

You can remove water molecules to save space, but it is not necessary.

jmelcr commented 6 years ago

Jumping of molecules over PBC is not a problem, the molecules only have to be "whole" (or at least the studied moieties).

ohsOllila commented 6 years ago

I removed the water removal from the shell script calculating order parameter in commit https://github.com/NMRLipids/MATCH/commit/88228f5a0f858663d2b03a85906f72e8e91b6144. This makes it more simply and it requires less input files.