Post by timothy driscollPost by MiguelWe should output both the coordinates of the corners and the lengths
of the sides.
can you output values in Angstroms?
Yes. All coordinates in the scripting language are measured in Angstroms.
Post by timothy driscollcorner coordinates relative to center of molecule?
corner coordinates are x,y,z tuples
Post by timothy driscollwhat are your thoughts?
Post by MiguelPlease recommend an output format.
# height width depth c1 c2 c3 c4 c5 c6 c7 c8
is that ok?
The boundbox works relative to the cartesian axes. So for the lengths,
lets say
{length-along-the-x-axis} {length-along-the-y-axis} {length-along-the-z-axis}
Now each of the corners is an x,y,z triple. They should certainly be comma
separated. There should not be spaces after the commas ... so that one can
easily parse out the individual components.
Q: Do we want to put the triples in parentheses or not?
x0,y0,z0
OR
(x0,y0,z0)
Lets consider the case where input coordinates are _balanced_ such that
the center of the molecule is at 0,0,0.
We need to choose what the order of the corners is. I suggest that we
order it such that, if the box were centered at 0,0,0, then the
coordinates would be:
x,y,z
x,y,-z
x,-y,z
x,-y,-z
-x,y,z
-x,y,-z
-x,-y,z
-x,-y,-z
And, in this case the lengths reported would be 2x 2y 2z
So, we have a lot of data. the entire line would be
2x 2y 2z x,y,z x,y,-z x,-y,z x,-y,-z -x,y,z -x,y,-z -x,-y,z -x,-y,-z
That is a total of 3+3*8 = 27 numbers. Each one will have
- 1 space or comma
- 1 decimal point
- 1 or more digits (typically 3) to the left of the decimal point
- 3 digits to the right of the decimal point
- typically half will have minus signs
- if we put the triples in parentheses then add 16.
So, we have a absolute minimum of 6 * 27 = 162 chars. For macromolecules a
typical number will be more like 8.5 * 27 = 229.5 chars
So, we are talking between 200 and 250 chars.
I don't think we want to return all this on one line.
Perhaps we should put the lengths on one line and then each of the corners
on a line by itself.
Q: What do you think?
Q: Do you want the triples in (parentheses) ?
Miguel