PyMOLWiki:Community Portal: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 7: Line 7:
* Importing the email list content:  We have (lots) of email to sift through, extract data from and import into the Wiki
* Importing the email list content:  We have (lots) of email to sift through, extract data from and import into the Wiki
* If you feel you have the time to help import data into the PyMol wiki, please email [[User:Tree|Tree]].
* If you feel you have the time to help import data into the PyMol wiki, please email [[User:Tree|Tree]].
=== Layout Schema ===
# [[:Category:News|News]]
## [[:Category:News Discussion|Discussion]]
## [[:Category:News PyMol Beta|PyMol Beta]]
# [[:Category:Technical Issues|Technical Issues]]
## [[:Category:Technical Issues Installation|Installation]]
### [[:Category:Technical Issues Installation OS Dependent|OS Dependent]]
#### [[:Category:Technical Issues Installation OS Dependent Linux|Linux]]
#### [[:Category:Technical Issues Installation OS Dependent MAC|MAC]]
#### [[:Category:Technical Issues Installation OS Dependent Windows|Windows]]
# [[:Category:Launching PyMOL|Launching PyMOL]]
## [[:Category:Launching PyMOL Command Line Options| Command Line Options]]
## [[:Category:Launching PyMOL Launching From a Script|Launching From a Script]]
# [[:Category:Using Pymol|Using PyMol]]
## [[:Category:Using Pymol Mouse Controls|Mouse Controls]]
## [[:Category:Using Pymol Objects and Selections|Objects and Selections]]
### [[:Category:Using Pymol Objects and Selections Working with Objects|Working with Objects]]
### [[:Category:Using Pymol Objects and Selections Working with Selections|Working with Selections]]
### [[:Category:Using Pymol Objects and Selections Selector Quick Reference|Selector Quick Reference]]
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Single-word Selectors|Single-word Selectors]]
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Property Selectors|Property Selectors]]
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Selection Algebra|Selection Algebra]]
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Selection Macros|Selection Macros]]
### [[:Category:Using Pymol Objects and Selections Representations|Representations]]
#### [[:Category:Using Pymol Objects and Selections Representations Lines|Lines]]
#### [[:Category:Using Pymol Objects and Selections Representations Sticks|Sticks]]
#### [[:Category:Using Pymol Objects and Selections Representations Cartoon|Cartoon]]
#### [[:Category:Using Pymol Objects and Selections Representations Surface|Surface]]
#### [[:Category:Using Pymol Objects and Selections Representations Mesh|Mesh]]
#### [[:Category:Using Pymol Objects and Selections Representations Spheres|Spheres]]
#### [[:Category:Using Pymol Objects and Selections Representations Dots|Dots]]
### [[:Category:Using Pymol Objects and Selections Color|Color]]
### [[:Category:Using Pymol Objects and Selections Displaying Biochemical Properties|Displaying biochemical properties]]
## [[:Category:Using Pymol Display Settings|Display Settings]]
## [[:Category:Using Pymol Stereo 3D Display|Stereo 3D Display]] -- wrong place
### [[:Category:Using Pymol Hardware Options|Hardware Options]] -- wrong place?
### [[Linux XFree86 Configuration]] -- wrong place
## [[:Category:Using Pymol Scenes|Scenes]]
## [[:Category:Using Pymol Mouse Settings|Mouse Settings]]
## [[:Category:Using Pymol Wizards|Wizards]]
## [[:Category:Using Pymol Plugins |Plugins]] -- wrong place?
## [[:Category:Using Pymol Ray-tracing|Ray-tracing]]
## [[:Category:Using Pymol Settings Reference|Settings Reference]]
## [[:Category:Using Pymol Movies and Animations|Movies and Animations]]
## [[:Category:Using Pymol Structure Alignment|Structure Alignment]]
## [[:Category:Using Pymol Structure Alignment Editor|Structure Alignment Editor]]
# [[:Category:Commands|Command Language]]
## [[:Category:Commands PyMOL Command Script|PyMOL Command Script]]
## [[:Category:Commands PyMOL Python API|PyMOL Python API]]
# [[:Category:Advanced Issues|Advanced Issues]]
## [[:Category:Advanced Issues Modeling and Editing Structures|Modeling and editing structures]]
### [[:Category:Advanced Issues Modeling and Editing Structures Editing atoms|Editing Atoms]]
### [[:Category:Advanced Issues Modeling and Editing Structures Molecular Sculpting|Molecular sculpting]]
### [[:Category:Advanced Issues Modeling and Editing Structures Homology Modeling|Homology modeling]]
## [[:Category:Advanced Issues Image Manipulation|Image Manipulation]]
### [[:Category:Advanced Issues Image Manipulation labels|labels]]
### [[:Category:Advanced Issues Image Manipulation Photoshop and GIMP|Photoshop/GIMP]]
### [[:Category:Advanced Issues Image Manipulation Stereo Figures|Stereo Figures]]
### [[:Category:Advanced Issues Image Manipulation Publication Quatlity Images|Publication-quality images]]
# [[:Category:Scripting|Scripting]]
## [[:Category:Scripting Example Scripts|Example Scripts]]
## [[:Category:Scripting Script Library|Script Library]]
# [[:Category:Plugins|Plugins]]
## [[:Category:Plugins Electrostatics and Energy Minimization| How to do electrostatics and energy minimization.]]
### [[:Category:Plugins Electrostatics and Energy Minimization APBS| APBS Plugin]]
## [[:Category:Plugins rtools | rtools]]
## [[:Category:Plugins Tutorial|Tutorial on writing plugins]]
## [[:Category:Plugins Others| Others]]
# [[:Category:High-Level Applications|High-Level Applications]]
## [[:Category:High-Level Applications Crystallography Applications|Crystallography Applications]]
### [[:Category:High-Level Applications Symmetry|Symmetry]]
### [[:Category:High-Level Applications Electron Density|Electron Density]]
## [[:Category:High-Level Applications NMR Applications|NMR Applications]]
### [[:Category:High-Level Applications NMR Applications Working with a Family of Structures|Working with Structure Families]]
### [[:Category:High-Level Applications NMR Applications Superimposition and RMSD|Superimposition and RMSD]]
### [[:Category:High-Level Applications NMR Applications NMR Restraints Analysis|NMR Restraints and Analysis]]
# [[:Category:Third Party Software|Third Party Software]]
## [[:Category:Third Party Software Movies|Movies]]
## [[:Category:Third Party Software Codecs|Codecs]]
# [[:Category:Python Integration|Python Integration]]
# [[:Category:Using PyMol For Unintended Uses|Unintended Uses]] (OpenGL Object Renderer)
## [[:Category:Using PyMol For Unintended Uses Arbitrary Graphics Objects| Arbitrary Graphics Objects]]
# [[:Category:Uncategorized|Uncategorized]] For new pages, misplaced pages, etc.
----
[[User:Tree|Tree]] 02:09, 16 Feb 2005 (CST)
----
=== New! GeShi: Syntax Highlighting for Python & More ===
We now have a syntax highlighter installed.  It now supports something like 28 programming languages!  When you paste your code simply wrap it in
<language_name> ... code here ... </language_name>. 
Here's an example:
<pre>
&lt;python&gt;
  # axes.py
from pymol.cgo import *
from pymol import cmd
from pymol.vfont import plain
# create the axes object, draw axes with cylinders coloured red, green,
#blue for X, Y and Z
obj = [
  CYLINDER, 0., 0., 0., 50., 0., 0., 0.2, 1.0, 1.0, 1.0, 1.0, 0.0, 0.,
  CYLINDER, 0., 0., 0., 0., 50., 0., 0.2, 1.0, 1.0, 1.0, 0., 1.0, 0.,
  CYLINDER, 0., 0., 0., 0., 0., 50., 0.2, 1.0, 1.0, 1.0, 0., 0.0, 1.0,
  ]
# add labels to axes object (requires pymol version 0.8 or greater, I
# believe
cyl_text(obj,plain,[-5.,-5.,-1],'Origin',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])
cyl_text(obj,plain,[50.,0.,0.],'X',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])
cyl_text(obj,plain,[0.,50.,0.],'Y',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])
cyl_text(obj,plain,[0.,0.,50.],'Z',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])
# then we load it into PyMOL
cmd.load_cgo(obj,'axes')
&lt;python&gt;
</pre>
gives us the code
<source lang="python">
# axes.py
from pymol.cgo import *
from pymol import cmd
from pymol.vfont import plain
# create the axes object, draw axes with cylinders coloured red, green,
#blue for X, Y and Z
obj = [
  CYLINDER, 0., 0., 0., 50., 0., 0., 0.2, 1.0, 1.0, 1.0, 1.0, 0.0, 0.,
  CYLINDER, 0., 0., 0., 0., 50., 0., 0.2, 1.0, 1.0, 1.0, 0., 1.0, 0.,
  CYLINDER, 0., 0., 0., 0., 0., 50., 0.2, 1.0, 1.0, 1.0, 0., 0.0, 1.0,
  ]
# add labels to axes object (requires pymol version 0.8 or greater, I
# believe
cyl_text(obj,plain,[-5.,-5.,-1],'Origin',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])
cyl_text(obj,plain,[50.,0.,0.],'X',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])
cyl_text(obj,plain,[0.,50.,0.],'Y',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])
cyl_text(obj,plain,[0.,0.,50.],'Z',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])
# then we load it into PyMOL
cmd.load_cgo(obj,'axes')
</source>
See [http://qbnz.com/highlighter/index.php The Geshi Home Page]
[[User:Tree|Tree]]

Revision as of 21:46, 19 February 2005

CP

Look here for ways to get involved in the PyMolWiki!

Helping

  • A wiki edit/user policy is needed.
  • Graphic design and CSS layout: We need logos, BG images and CSS layout
  • Importing the email list content: We have (lots) of email to sift through, extract data from and import into the Wiki
  • If you feel you have the time to help import data into the PyMol wiki, please email Tree.

Layout Schema

  1. News
    1. Discussion
    2. PyMol Beta
  2. Technical Issues
    1. Installation
      1. OS Dependent
        1. Linux
        2. MAC
        3. Windows
  3. Launching PyMOL
    1. Command Line Options
    2. Launching From a Script
  4. Using PyMol
    1. Mouse Controls
    2. Objects and Selections
      1. Working with Objects
      2. Working with Selections
      3. Selector Quick Reference
        1. Single-word Selectors
        2. Property Selectors
        3. Selection Algebra
        4. Selection Macros
      4. Representations
        1. Lines
        2. Sticks
        3. Cartoon
        4. Surface
        5. Mesh
        6. Spheres
        7. Dots
      5. Color
      6. Displaying biochemical properties
    3. Display Settings
    4. Stereo 3D Display -- wrong place
      1. Hardware Options -- wrong place?
      2. Linux XFree86 Configuration -- wrong place
    5. Scenes
    6. Mouse Settings
    7. Wizards
    8. Plugins -- wrong place?
    9. Ray-tracing
    10. Settings Reference
    11. Movies and Animations
    12. Structure Alignment
    13. Structure Alignment Editor
  5. Command Language
    1. PyMOL Command Script
    2. PyMOL Python API
  6. Advanced Issues
    1. Modeling and editing structures
      1. Editing Atoms
      2. Molecular sculpting
      3. Homology modeling
    2. Image Manipulation
      1. labels
      2. Photoshop/GIMP
      3. Stereo Figures
      4. Publication-quality images
  7. Scripting
    1. Example Scripts
    2. Script Library
  8. Plugins
    1. How to do electrostatics and energy minimization.
      1. APBS Plugin
    2. rtools
    3. Tutorial on writing plugins
    4. Others
  9. High-Level Applications
    1. Crystallography Applications
      1. Symmetry
      2. Electron Density
    2. NMR Applications
      1. Working with Structure Families
      2. Superimposition and RMSD
      3. NMR Restraints and Analysis
  10. Third Party Software
    1. Movies
    2. Codecs
  11. Python Integration
  12. Unintended Uses (OpenGL Object Renderer)
    1. Arbitrary Graphics Objects
  13. Uncategorized For new pages, misplaced pages, etc.

Tree 02:09, 16 Feb 2005 (CST)



New! GeShi: Syntax Highlighting for Python & More

We now have a syntax highlighter installed. It now supports something like 28 programming languages! When you paste your code simply wrap it in <language_name> ... code here ... </language_name>.

Here's an example:

<python>
  # axes.py
from pymol.cgo import *
from pymol import cmd
from pymol.vfont import plain

# create the axes object, draw axes with cylinders coloured red, green,
#blue for X, Y and Z

obj = [
   CYLINDER, 0., 0., 0., 50., 0., 0., 0.2, 1.0, 1.0, 1.0, 1.0, 0.0, 0.,
   CYLINDER, 0., 0., 0., 0., 50., 0., 0.2, 1.0, 1.0, 1.0, 0., 1.0, 0.,
   CYLINDER, 0., 0., 0., 0., 0., 50., 0.2, 1.0, 1.0, 1.0, 0., 0.0, 1.0,
   ]

# add labels to axes object (requires pymol version 0.8 or greater, I
# believe

cyl_text(obj,plain,[-5.,-5.,-1],'Origin',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])
cyl_text(obj,plain,[50.,0.,0.],'X',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])
cyl_text(obj,plain,[0.,50.,0.],'Y',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])
cyl_text(obj,plain,[0.,0.,50.],'Z',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])

# then we load it into PyMOL
cmd.load_cgo(obj,'axes')

<python>

gives us the code

 # axes.py
from pymol.cgo import *
from pymol import cmd
from pymol.vfont import plain

# create the axes object, draw axes with cylinders coloured red, green,
#blue for X, Y and Z

obj = [
   CYLINDER, 0., 0., 0., 50., 0., 0., 0.2, 1.0, 1.0, 1.0, 1.0, 0.0, 0.,
   CYLINDER, 0., 0., 0., 0., 50., 0., 0.2, 1.0, 1.0, 1.0, 0., 1.0, 0.,
   CYLINDER, 0., 0., 0., 0., 0., 50., 0.2, 1.0, 1.0, 1.0, 0., 0.0, 1.0,
   ]

# add labels to axes object (requires pymol version 0.8 or greater, I
# believe

cyl_text(obj,plain,[-5.,-5.,-1],'Origin',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])
cyl_text(obj,plain,[50.,0.,0.],'X',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])
cyl_text(obj,plain,[0.,50.,0.],'Y',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])
cyl_text(obj,plain,[0.,0.,50.],'Z',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])

# then we load it into PyMOL
cmd.load_cgo(obj,'axes')

See The Geshi Home Page

Tree