Select sites

From PyMOLWiki
Revision as of 09:39, 14 July 2012 by Tlinnet (talk | contribs) (Created page with "{{Infobox script-repo |type = script |filename = select_sites.py |author = Thomas Holder |license = BSD-2-Clause }} select_sites make named sele...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Type Python Script
Download select_sites.py
Author(s) Thomas Holder
License BSD-2-Clause
This code has been put under version control in the project Pymol-script-repo

select_sites make named selections from SITE records.

http://www.wwpdb.org/procedure.html#toc_10

For instance, trypsin (http://www.rcsb.org/pdb/files/1SGT.pdb?headerOnly=YES):

SITE 1 CAT 3 HIS A 57 ASP A 102 SER A 195 SITE 1 AC1 6 ASP A 165 ALA A 177A GLU A 180 GLU A 230 SITE 2 AC1 6 HOH A 259 HOH A 261

This requires that the authors actually perform the annotation.

Usage

import select_sites
select_sites [ selection [, filename [, prefix [, nice [, quiet ]]]]]

nice = 0 or 1: make colored sticks representation for sites {default :1}

See Also