Some of these commands are functionally similar to 'normal' WHAT IF commands. This redundancy was built in as a form of user-friendliness.
The ALLFIL command can be preceded by the SIMPLE command. This ensures that WHAT IF will for up to eight MOL-items not prompt you for anything. Give SIMPLE again to disable the simple graphics mode.
WARNING. Be aware that if one of these options requires N input parameters anything else than exactly N parameters will lead to errors. In other words there is virtually no error checking done on ALLFIL files.
And, please do not forget the END statement at the end.
DOT 2 2 2 RED DOT 2.1 2 2 RED DOT 2 2.1 2 RED DOT 2 2 2.1 RED DOT 2.1 2.1 2 RED DOT 2.1 2 2.1 RED DOT 2 2.1 2.1 RED DOT 2.1 2.1 2.1 RED DOT 8 2 2 RED DOT 2 2 10 BLUE DOT 7 2 10 BLUE DOT 2 7 2 RED DOT 7 7 2 RED DOT 2 7 9 BLUE DOT 7 7 9 BLUE DOT ITEM CROSS 1.2 2.2 3.6 BLUE CROSS 2.2 2.2 3.6 RED CROSS 3.2 2.2 3.6 GREEN CROSS 4.2 2.2 3.6 YELLOW CROSS 5.2 2.2 3.6 PURPLE CROSS 6.2 2.2 3.6 CYAN CROSS 7.2 2.2 3.6 MAGENTA CROSS 8.2 2.2 3.6 ORANGE CROSS ITEM COMMENT This line is just comment and thus is skipped DASH 1 1 1 8 1 1 10 DASH 1 1 1 1 1 10 10 DASH 8 1 1 8 1 10 BLUE DASH 1 1 10 8 1 10 BLUE LINE 1 1 1 1 7 1 GREEN LINE 8 1 1 8 7 1 GREEN LINE 1 7 1 8 7 1 120 LINE 1 7 1 1 7 10 120 LINE 1 1 10 1 7 10 GREEN LINE 1 7 10 8 7 10 GREEN LINE 8 7 1 8 7 10 RED LINE 8 1 10 8 7 10 RED LINE ITEM TEXT 8 1 10 CYAN one corner point TEXT 8 7 1 CYAN another corner AARROW 1.3 1.2 1.8 3.0 5 -6.1 RED AARROW ITEM PLANE 1 1 1 2 2 2 3 3 3 4 4 4 purple CIRCLE -6 0 0 0 0 1 3 GREEN WHEEL -6 0 0 0 0 2 3.5 3.7 260 RESIDUE 1 2 RESIDUE 4 5 CALPHA 6 10 RESIDUE ITEM LINATOM 6 O 10 N red BALL 6 CA BALL 7 CA BALL 8 CA BALL ITEM CONE 1 1 1 4 4 4 30 YELLOW CONE ITEM HAT 1 1 1 4 4 4 30 8 YELLOW HAT 1 1 1 4.2 4.2 4.2 30 12 ORANGE HAT ITEM TRICONE 0 0 0 1 0 0 0 1 0 0 0 1 1.5 12 RED TRICONE ITEM CENTER 1 1 1 SCALE 0.6 END
CROSS 7.2 2.2 3.6 MAGENTA DASH 1 1 1 8 1 1 10 DASH 1 1 1 1 1 10 10 LINE 8 1 10 8 7 10 RED AARROW 1.3 1.2 1.8 3.0 5 -6.1 RED CALPHA 6 10 RESIDUE ITEM DOT 2 2 10 BLUE DOT 7 2 10 BLUE BALL 7 CA BALL 8 CA BALL ITEMThe following groups of commands are allowed to reside in one ITEM:
MOLLAB LINE DASH AARROW CROSS CONE HAT PLANE RESIDUE CALPHA CIRCLE WHEEL TRICONE BALL DOTI.e. You can have LINE and CIRCLE in one ITEM, but not LINE and BALL, nor WHEEL and MOLLAB, etc.
The following commands are independent commands that do not sit in ITEMs:
CENTER LABEL/TEXT SCALE
LINE 7 numbers (or 6 numbers and a colour)
The first six numbers are X,Y,Z of the begin and end point of the line. There should either be a seventh number that corresponds to the colour in the usual manner (colour is number from 1 till 360), or one of the normal colours is written out in full.
A set of LINE commands should be closed with the LINE ITEM command.
LINE 7 numbers (or 6 numbers and a colour)
The first six numbers are X,Y,Z of the begin and end point of the arrow. There should either be a seventh number that corresponds to the colour in the usual manner (colour is number from 1 till 360), or one of the normal colours is written out in full.
A set of AARROW commands should be closed with the AARROW ITEM command.
The ALLFIL keyword for drawing an arrow is called AARROW with double A to distinguish it from the normal WHAT IF command ARROW in the GRAEXT menu.
LINE 8 numbers (or 7 numbers and a colour)
The first three numbers are X,Y,Z of the center of the circle. The second three numbers for a vector orthogonal to the circle. Make sure that these first two vectors do not fall on one line with the origin! The seventh number is the radius of the circle. There should either be a eighth number that corresponds to the colour in the usual manner (colour is number from 1 till 360), or one of the normal colours is written out in full.
A set of CIRCLE commands should be closed with the CIRCLE ITEM command.
LINE 9 numbers (or 8 numbers and a colour)
The first three numbers are X,Y,Z of the center of the inner circle. The second three numbers for a vector orthogonal to the wheel. Make sure that these first two vectors do not fall on one line with the origin! The seventh number is the radius of the inner circle. The eight number is the radius of the outer circle There should either be a nine-th number that corresponds to the colour in the usual manner (colour is number from 1 till 360), or one of the normal colours is written out in full.
A set of WHEEL commands should be closed with the WHEEL ITEM command.
LINE 14 numbers (or 13 numbers and a colour)
The first three numbers are X,Y,Z of the lower-left corner of the plane. The second three are for lower-right, the next three for upper-right, and the next three for upper-left. The 13-th number is the line-density in the plane. There should either be a 14-th number that corresponds to the colour in the usual manner (colour is number from 1 till 360), or one of the normal colours is written out in full.
A set of PLANE commands should be closed with the PLANE ITEM command.
DASH 7 numbers (or 6 numbers and a colour)
The first six numbers are X,Y,Z of the begin and end point of the line. There should either be a seventh number that corresponds to the colour in the usual manner (colour is number from 1 till 360), or one of the normal colours is written out in full.
A set of DASH commands should be closed with the DASH ITEM command.
CENTER 3 numbers
The three numbers are X,Y,Z of the new center of the screen The center command should preferably be used as the first, or the second to last command in the file (END should be the last one).
Be aware that there also exists a normal command CENTER in the GRAFIC menu that does exactly the same as the ALLFIL command with that name.
DOT 4 numbers (or 3 numbers and a colour)
The first three numbers are X,Y,Z of the dot. There should either be a fourth number that corresponds to the colour in the usual manner (colour is number from 1 till 360), or one of the normal colours is written out in full.
A set of DOT commands should be closed with the DOT ITEM command.
CROSS 4 numbers (or 3 numbers and a colour)
The first three numbers are X,Y,Z of the center of the cross. There should either be a fourth number that corresponds to the colour in the usual manner (colour is number from 1 till 360), or one of the normal colours is written out in full.
A set of CROSS commands should be closed with the CROSS ITEM command.
CROS45 4 numbers (or 3 numbers and a colour)
The first three numbers are X,Y,Z of the center of the cross. There should either be a fourth number that corresponds to the colour in the usual manner (colour is number from 1 till 360), or one of the normal colours is written out in full.
A set of CROS45 commands should be closed with the CROS45 ITEM command.
SIZE 1 number
CONE 8 numbers (or 7 numbers and a colour)
The first three numbers are X,Y,Z of the sharp point of the cone. The second three numbers are X,Y,Z of the center of the blunt end of the cone. The seventh number is half of the opening angle of the cone in degrees (or in other words the angle between the central axis and the side of the cone). There should either be an eight number that corresponds to the colour in the usual manner (colour is number from 1 till 360), or one of the normal colours is written out in full.
A set of CONE commands should be closed with the CONE ITEM command. This will make WHAT IF create a MOL-item, and store it in a MOL-object.
The HAT command has the format:
HAT 9 numbers (or 8 numbers and a colour)
The first three numbers are X,Y,Z of the sharp point of a cone, just like in the CONE command. The second three numbers are X,Y,Z of the center of the blunt end of a cone, just like in the CONE command. The seventh number is half of the opening angle of a cone in degrees (or in other words the angle between the central axis and the side of the cone). The eight number gives the dot density for the dotted surface. Good values range from 8 to 12. Higher numbers are allowed, but somewhere near 20 WHAT IF will no longer treat you as a friend. There should either be an nine-th number that corresponds to the colour in the usual manner (colour is number from 1 till 360), or one of the normal colours is written out in full.
A set of HAT commands should be closed with the HAT ITEM command. This will make WHAT IF create a MOL-item, and store it in a MOL-object.
The TRICONE command has the format:
TRICONE 15 numbers (or 14 numbers and a colour)
The first three numbers are the coordinates of the center C of the sphere. The next 9 numbers are coordinates of 3 points (X, Y, Z). The planes X,Y,C Y,Z,C and Z,X,C cut a sphere with radius R and center C along three curved lines. The 'triangle' formed by these three lines on the sphere will be filled with dots. The 13-th number is the radius R of the sphere. The 14-th number is the dot density for which good values range from 8 to 12. There should either be an 15-th number that corresponds to the colour in the usual manner (colour is number from 1 till 360), or one of the normal colours is written out in full. A series of TRICONE commands should be closed with a TRICONE ITEM command.
The FOURC command has the format:
FOURC 18 numbers (or 17 numbers and a colour)
The first three numbers are the coordinates of the center C of the sphere. The next 12 numbers are coordinates of 4 points (X, Y, Z). The planes W,X,C, X,Y,C Y,Z,C and Z,W,C cut a sphere with radius R and center C along four curved lines. The 'quadrangle' formed by these three lines on the sphere will be filled with dots. The 16-th number is the radius R of the sphere. The 17-th number is the dot density for which good values range from 8 to 12. There should either be an 18-th number that corresponds to the colour in the usual manner (colour is number from 1 till 360), or one of the normal colours is written out in full. A series of FOURC commands should be closed with a TRICONE ITEM command.
The format is simply:
EVPLOT
And the EVPLOT command can be closed with:
EVPLOT ITEM
but, as EVPLOT only produces lines, you can combine EVPLOT with other line-producing options.
TEXT 4 numbers (or 4 numbers and a colour)
The first three numbers are X,Y,Z of the origin of the text label. There should either be a fourth number that corresponds to the colour in the usual manner (colour is number from 1 till 360), or one of the normal colours is written out in full.
The line immediately after the TEXT should hold the actual text to be used as label.
Instead of TEXT you can also use LABEL.
MOLLAB 4 numbers
The first three numbers are X,Y,Z of the origin of the text label. The fourth number is the MOL-object in which this label should be stored.
The line immediately after the MOLLAB should hold the actual text to be used as label.
PCKLAB 3 numbers TEXT
The three numbers are X,Y,Z of the origin of the text label. TEXT is the text that should show up when the point X,Y,Z is picked with the mouse.
PCKPNT 3 numbers
The three numbers are X,Y,Z of a point in space. In contrast to PCKLAB, picking this point with the mouse does not bring up a label, but the points can be used to pick in screen options like DIST, LINE, etc.
SCALE 1 numbers
The number will be the new scale factor at the screen. Reasonable values when working with proteins are 0.1 - 1.0.
The END command should be the last command in the file.