Copyright © 2020, Molsoft LLC Nov 24 2024
|
[ cavity | charge | clipping plane | coil | column | Collection | current map | current object | Current | command | comp_matrix | conf | cpk ]
is the free space inside a molecule. Here we use a limited definition of a cavity as a fully enclosed space inside a molecule. See the icmCavityFinder macro which identifies and characterizes cavities. To generate a cavity an skin is generated and converted into grob . We then split this grob into individual connected entities.
is an electric charge in electron units. You may redefine charges with the set charge and formal charges with set charge formal commands. Formal charges in functional groups can be changed in chemical arrays with the modify command. The following variables and commands are related to charges in 3D objects or chemical arrays:
An invisible graphical plane which truncates the view. There two clippings planes: the front one and the back one. The front clipping plane determines the beginning of the visible part of your object, while the back clipping plane is where the visible parts ends. The planes can be moved independently, or in concert (so called "slicing"). In the "FOG" mode the image gradually disappears between the front and the back planes.
is an irregular conformation ("_" in one-character notation). It is displayed as spaghetti when the ribbon type of representation is used. To assign a residue fragment to coil, do something like this: assign sstructure a_/13:40 "_".
indicates a layout format of several arrays ( iarrays, rarrays, sarrays) with the same number of elements as side-by-side columns. The column format look like this: #> a b c 1. 15 "alpha" 2. 18 "beta" 5. 10 "gamma"It is also useful to show arrays of a table (see also database).
Collection is composed of a array of unique keys and a array of values, where each key is associated with one value. Each value can either be of basic type or other collection or array of collections. A collection can be created in different ways:
Examples: c = Collection( "firstName", "John", "lastName", "Snith", "age" 25 ) # from key/value pairs c = Collection( "{ 'firstName': 'John', 'lastName': 'Smith', 'age': 25 }" ) # from JSON string c = Collection( "<firstName>John</firstName><lastName>Smith</lastName><age>25</age>" ) # from XML string c["age"] c["firstName"] write xml c "c.xml" Elements can be added, modified and removed dynamically
c = Collection() # empty collection c["count"] += 1 # accumulates count (when used the first time, creates a new key c["name"] = "John" # creates a new element c["name"] = "Jack" # overwrites an existing element c["addressBook"] = Array() c["addressBook",1] = Collection( "name" "Jack" "tel" "858-3452238" "cell" "858-8872676" ) c["addressBook",2] = Collection( "name" "John" "tel" "858-7878795" "cell" "858-6373913" ) # index access c["addressBook",1] # first entry of the addressbook c["addressBook",1:2] # first two entries of the addressbook c["addressBook",1:2,"tel"] # first two 'tel' fields # deletion delete c["addressBook",2] # deletes second element of the adderssbook delete c["addressBook"]
See: Collection read xml , read json , write-xml, String(
an instruction one can execute in the ICM-shell interactively or from
an ICM script file. Typically a command consists of a verb (like
read or delete ) and a bunch of arguments.
The word order in the argument list is not important,
if arguments have different types. For example:
If two or more argument of the same type are present the order becomes important, e.g.
Redefining global preferences and parameters temporarily for one command.
Sometimes you want to run a command with different values of global
preference and global shell variables of the following type: integer, real, string and logical .
Their values will be automatically restored after the completion
of the command.
E.g.
See also:
Individual properties, such as energies, number of visits and the total
numbers of visits can be re-set with the set stack command.
The stack can also be stored in the object it is associated with. It enables multiple object sessions, each object with its own stack, and ability to save the object with multiple conformations to a file. To store the stack in the object use the store conf a_ command.
If cpk and xstick are displayed simultaneously the cpk sphere becomes transparent. Undisplay xstick to
make the spk solid again.
The spheres sliced by a clipping plane can be displayed in several ways, see
GRAPHICS.cpkClipCaps .
|
Copyright© 1989-2024, Molsoft,LLC - All Rights Reserved. Copyright© 1989-2024, Molsoft,LLC - All Rights Reserved. This document contains proprietary and confidential information of Molsoft, LLC. The content of this document may not be disclosed to third parties, copied or duplicated in any form, in whole or in part, without the prior written permission from Molsoft, LLC. |