[Chimera-users] Script

Damien Larivière damien.lariviere at fourmentinguilbert.org
Wed Aug 19 06:44:00 PDT 2009


Dear all,

Sorry for this simple question : Is there an example of how to use a 
command in a script ? For example, the command "open" is described in 
the documentation but I confess (i'm not a programmer) that I do not 
understand how to use it for opening a pdb file in a specific directory 
: C:\Users\damien\Fondation\LifeExplorer\3D 
models\FtsZ_ring\Bond_Set\Docking_Hex\Results_190809\dock0001.pdb

I would like to create a script that does :

1/ Open a PDB file (dock0001.pdb)
2/ open Tools - Structure analysis - Sequence
3/ select residues 203 to 227 chain A
4/ Actions Color Red
5/ open Tools - Structure analysis - Sequence
6/ select residues 54 to 87 chain A
7/ Actions Color Magenta

Many thanks for your help

Damien








More information about the Chimera-users mailing list