You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding support for triclinic simulation boxes with SOMD I needed to modify DCDFile.py. In the file I noticed that periodic boxes are written to file with:
According the specification described at this MDAnalysis page, the format should be [A, gamma, B, beta, alpha, C], where A, B, C are the magnitudes of the cell vectors, and alpha, beta, and gamma are the angles between the axes: BC, AC, and AB. If correct, should the Python code above not read:
(I used the specification described by MDAnalysis when writing out triclinic cell information.)
Perhaps this doesn't matter for the purposes for which you are using DCD files, or perhaps it is assumed that the space is orthorhombic when alpha, beta, and gamma are all zero.
The text was updated successfully, but these errors were encountered:
I honestly don't know. We mostly visualise the DCD files in VMD, or process them via tools like MDTraj. There is some code in Nautilus.py that updates a Sire system from info read in a DCD file, but the angles are ignored. I haven't noticed something odd in the past. Could you verify that DCD files generated after updating the code to match MDAnalysis specs and see whether that affects visualisation in VMD ? The issue reported here doesn't fill me with confidence as it looks like different conventions are used by different codes...
When adding support for triclinic simulation boxes with SOMD I needed to modify DCDFile.py. In the file I noticed that periodic boxes are written to file with:
According the specification described at this MDAnalysis page, the format should be
[A, gamma, B, beta, alpha, C]
, whereA
,B
,C
are the magnitudes of the cell vectors, andalpha
,beta
, andgamma
are the angles between the axes:BC
,AC
, andAB
. If correct, should the Python code above not read:(I used the specification described by MDAnalysis when writing out triclinic cell information.)
Perhaps this doesn't matter for the purposes for which you are using DCD files, or perhaps it is assumed that the space is orthorhombic when
alpha
,beta
, andgamma
are all zero.The text was updated successfully, but these errors were encountered: