[Chimera-users] examples of python scripts

Eric Pettersen pett at cgl.ucsf.edu
Wed Feb 11 11:00:00 PST 2009


Hi Bala,
	I've attached 5 scripts I've written over the last few months.  Their  
functions are:

1) show anisotropic ellipsoids on selected atoms
2) print cis peptides to reply log
3) measure atom distance or atom-atom angle to a plane
4) drive the chi angles of a selected residue in 10 degree increments  
and write the clashes to files
5) measure the minimum distance of single-character chain residues  
(i.e. no het, water) to a selection (typically a ligand)

Which ones are which should be obvious from the file names I think.

--Eric

On Feb 11, 2009, at 8:25 AM, Bala subramanian wrote:

> Dear Chimerians,
>
> Can someone help me by providing examples of python scripts written  
> for analyzing structures inside chimera. I have seen the chimera  
> programmers guide but i need some more scripts written for different  
> tasks to understand the way of accessing certain residues or atoms  
> in a structure and extracting its attributes etc.
>
> Cheers,
> Bala

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cisTrans.py
Type: text/x-python-script
Size: 251 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20090211/8f61e448/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: planeMeasure.py
Type: text/x-python-script
Size: 592 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20090211/8f61e448/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aniso.py
Type: text/x-python-script
Size: 1028 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20090211/8f61e448/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changeChis.py
Type: text/x-python-script
Size: 1496 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20090211/8f61e448/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minResDist.py
Type: text/x-python-script
Size: 434 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20090211/8f61e448/attachment-0004.bin>


More information about the Chimera-users mailing list