Hi Gwen,
You should really read the manual. Many of these basic questions can be answered by a few minutes of careful reading.

One way of doing what you want to do is to make a small script (we will call it script.pml) that loads your PDB and then creates a selection containing all your residues of interest.

This is script.pml:

load your.pdb, foo
create interestingstuff, ((/foo//A/27,28,141,144,148)
show sticks, interestingstuff


read this into PyMOL by typing:
@script.pml

this would display residues 27,28,141,144, and 148 of chain A of your molecule foo. You need to become familiar with the various atom selection schemas available in PyMOL to put this to best use for yuor particular PDB.

Ciao,
Scott

On Dec 3, 2003, at 12:52 PM, Gwendowlyn S. Knapp wrote:

Hello everyone:
Please excuse this question if it is answered elsewhere. 

I have a structure that I would like to highlight a lot of residues with  a different color and have in a spacefilling mode.  These residues are listed in another (text) file.  I've been doing the selection manually, but was wondering if there was anyway to automate this process at all, ie, using the text file and some sort of import control. 

Any ideas/directions would be appreciated.

Thanks in advacne,
Gwen

__________________________________________
Gwendowlyn S. Knapp
Department of Biochemistry and Biophysics
Texas A&M University
College Station, TX 77843-2128
g...@tamu.edu
http://www.gwenknapp.com
__________________________________________

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Scott Classen, Ph.D.
  ACS Postdoctoral Fellow
  Department of Molecular & Cell Biology
  University of California, Berkeley
  237 Hildebrand Hall #3206
  Berkeley, CA 94720-3206
  LAB 510.643.9491
  FAX 510.643.9290
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to