PyMol-Demo Kurzanleitung
Dies ist eine kurze Beschreibung der in PyMol eingebauten Skriptsprache. Diese Demo unterstützt
nur einen Teil dieser sehr mächtigen Befehle. Alle Beispiele basieren auf dem Protein
Hämoglobin.
Liste der Befehle:
show view
rotate axis,angle
turn axis,angle
move axis,distance
set property,value
set_color name,[red,green,blue]
color name
zoom
show view
- der Parameter view kann folgende Werte annehmen:
show lines
|
show sticks
|
show spheres
|
show dots
|
show cartoon
|
show ribbon
|
show surface
|
show mesh
|
|
Spezielle Skripts:
Skript: Cartoon (color)
|
Skript: Transparency
|
rotate axis,angle
- Drehung um eine Raum-Achse: Der Parameter axis steht für x,y und
z, die drei Achsen des Raumes. angle gibt
den Drehungswinkel in Grad an.
show sticks rotate x,45
|
show sticks rotate y,45
|
show sticks rotate z,45
|
turn axis,angle
- Drehung der Kamera um eine Raumachse: Der Parameter axis steht für x,y und
z, die drei Achsen des Raumes. angle gibt
den Drehungswinkel in Grad an.
move axis,distance
- Bewegung der Kamera entlang einer Raumachse: Der Parameter axis steht für x,y und
z, die drei Achsen des Raumes. distance gibt
die Verschiebung an.
show sticks move x,10
|
show sticks move z,50
|
set property,value
- Setzt eine PyMol-Statusvariable
set_color name,[red,green,blue]
- Definition einer Farbe: name vom Benutzer vergebener Farbname.
red,green,blue Fließkommawerte im Bereich von 0.0-1.0, die für den
Rot, Grün und Blauanteil der selbstdefinierten Farbe stehen.
Beispiel:
set_color rot,[1.0,0.0,0.0]
color name
- Setzen einer Farbe: name existierender Farbname.
Tabelle mit vordefiniereten Farben
white | |
black | |
blue | |
green | |
red | |
cyan | |
yellow | |
magenta | |
salmon | |
lime | |
slate | |
hotpink | |
orange | |
yellowgreen | |
bluegreen | |
blueviolet | |
marine | |
olive | |
purple | |
teal | |
ruby | |
forest | |
deep | |
grey | |
carbon | |
nitrogen | |
oxygen | |
hydrogen | |
brightorange | |
pink | |
firebrick | |
chocolate | |
wheat | |
violet | |
density | |
color yellow
show ribbon
|
set_color water,[0.72,0.67,0.94]
color water
show ribbon
|
zoom
- Passt das Molekül an die Größe der Grafik an.
PyMOL Copyright Notice
The PyMOL source code is copyrighted, but you can freely use and copy
it as long as you don't change or remove any of the copyright notices.
----------------------------------------------------------------------
PyMOL is Copyright 1998-2003 by Warren L. DeLano of
DeLano Scientific LLC, San Carlos, CA, USA (
www.delanoscientific.com).
All Rights Reserved
Permission to use, copy, modify, distribute, and distribute modified
versions of this software and its documentation for any purpose and
without fee is hereby granted, provided that the above copyright
notice appear in all copies and that both the copyright notice and
this permission notice appear in supporting documentation, and that
the names of Warren L. DeLano or DeLano Scientific LLC not be used in
advertising or publicity pertaining to distribution of the software
without specific, written prior permission.
WARREN LYFORD DELANO AND DELANO SCIENTIFIC LLC DISCLAIM ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL WARREN LYFORD DELANO
OR DELANO SCIENTIFIC LLC BE LIABLE FOR ANY SPECIAL, INDIRECT OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
USE OR PERFORMANCE OF THIS SOFTWARE.
----------------------------------------------------------------------
Where indicated, portions of the PyMOL system are instead protected
under the copyrights of the respective authors. However, all code in
the PyMOL system is released as non-restrictive open-source software
under the above license or an equivalent license.
PyMOL Trademark Notice
======================
PyMOL(TM) is a trademark of DeLano Scientific LLC. Derivate software
which contains PyMOL source code must be plainly distinguished from
the PyMOL package distributed by DeLano Scientific LLC in all publicity,
advertising, and documentation.
The slogans, "Includes PyMOL(TM).", "Based on PyMOL(TM) technology.",
"Contains PyMOL(TM) source code.", and "Built using PyMOL(TM).", may
be used in advertising, publicity, and documentation of derivate
software provided that the notice, "PyMOL is a trademark of DeLano
Scientific LLC.", is included in a footnote or at the end of the
document.
All other endorsements employing the PyMOL trademark require specific,
written prior permission.
--
e-mail:
warren@delanoscientific.com
Warren L. DeLano, Ph.D.
Principal Scientist
DeLano Scientific LLC
Voice (650)-346-1154