PyBILT icon indicating copy to clipboard operation
PyBILT copied to clipboard

Improvements to unwrapping/wrapping for trajectory processing in the BilayerAnalyzer class.

Open blakeaw opened this issue 6 years ago • 3 comments

The BilayerAnalyzer class assumes that the coordinates of the input trajectory are wrapped by atom and therefore automatically unwraps the coordinates by atom. This can fail when the first frame is not a good reference for unwrapping. This needs to be upgraded to allow for more options of processing the trajectory, such as the opposite scenario where the input trajectory is unwrapped and needs to be wrapped. It would also be good to allow the user to be able to turn off wrapping/unwrapping. For the currently assumed case (atom-wise wrapped coordinates), it would probably be good to add in a separate input setting for a reference structure; this could default to the first frame when unwrapping used.

A possible long term solution might be to add a transformations protocol (e.g wrapping/unwrapping, structure alignment) that can be set by the user (with proper defaults and conflict resolution based on the analyses being implemented) that is similar to the suggestion in https://github.com/MDAnalysis/mdanalysis/issues/786

blakeaw avatar Mar 12 '18 23:03 blakeaw

Hi

A GSoC Student is implementing an on-the-fly transformation protocol in MDAnalysis directly this summer. His own use case are membrane simulations as well. You can find more information on our blog or drop us a line on the mdanalysis devel mailing list.

kain88-de avatar May 03 '18 12:05 kain88-de

@kain88-de Okay, cool. Thanks for the heads up.

blakeaw avatar May 21 '18 15:05 blakeaw

The first PR of the project is here

https://github.com/MDAnalysis/mdanalysis/pull/1902

kain88-de avatar May 21 '18 16:05 kain88-de