Changes between Version 17 and Version 18 of ChimeraAnimationTasks


Ignore:
Timestamp:
Dec 21, 2010, 2:16:35 PM (15 years ago)
Author:
Darren Weber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ChimeraAnimationTasks

    v17 v18  
    3838 * atomsMap: dict of {atom-name: [list of atoms]}
    3939 * isHelix / isStrand: in helix / strand
     40
     41=== Atoms ===
     42
     43 * name: name
     44 * coord() / xformCoord(): untransformed / transformed coordinates
     45 * residue / molecule: parent Residue / Molecule
     46 * bonds: list of bonds
     47 * neighbors: list of bonded atoms
     48 * primaryBonds() / primaryNeighbors(): same as above but only primary altlocs
     49 * bondsMap: dict of {bonded-atom: bond}
     50 * color: Color
     51 * display: True if shown
     52 * drawMode: one of chimera.Atom.X with X being Dot, Sphere, EndCap, or Ball
     53 * element: chemical element (type chimera.Element, settable with string or number)
     54 * label: label shown in graphics window
     55 * radius: VdW radius
     56
     57=== Bonds ===
     58
     59 * atoms: 2-tuple of atoms
     60 * otherAtom(a): [a is one of the bond's atoms] other atom in bond
     61 * drawMode: one of chimera.Bond.X with X being Wire or Stick
     62 * label: label shown in graphics window
     63 * molecule: parent Molecule
     64 * length(): length
     65
     66=== Molecular Measurements ===
     67
     68chimera module functions use Points, which are returned by Atom's coord() or xformCoord() methods
     69 * distance / sqdistance
     70 * also: a1.coord().[sq]distance(a2.coord()) [similar for xformCoord]
     71 * angle (in degrees)
     72 * dihedral (in degrees)
     73
     74=== Molecular Editing ===
     75
     76Look in {{{$CHIMERA/share/BuildStructure/__init__.py}}} for examples of creating new molecules and residues.
     77
     78Using the {{{chimera.molEdit}}} module:
     79 * addAtom
     80    * if adding in bulk, make sure to specify optional serialNumber keyword
     81 * addBond
     82 * addDihedralAtom -- add atom given a bond length / angle / dihedral
     83
     84=== Setting or Querying Selections ===
     85
     86Using the {{{chimera.selection}}} module:
     87 * currentAtoms / currentBonds / currentResidues / currentMolecules: currently selected Atoms / Bonds / Residues / Molecules
     88 * setCurrent: set current selection to given items
     89 * addCurrent / addImpliedCurrent: add given items to current selection
     90 * the "implied" version also selects endpoint Atoms of added Bonds and connecting Bonds of added Atoms
     91 * removeCurrent: remove items from current selection, if present
     92
     93=== Miscellaneous ===
     94
     95 * chimera.runCommand: execute any command-line command (arg is a string)
     96    * direct Python equivalent usually in Midas module
     97 * chimera.colorTable module:
     98    * getColorByName: get a Color by name
     99 * !OpenSave module:
     100    * osOpen: open a file or HTTP URL, with or without compression
     101 * chimera.extension module
     102    * manager.instances: running dialogs listed at end of Tools menu
     103
    40104
    41105