Hi Aaron,

* Aaron New <[email protected]> [2006-02-09 09:36] wrote:
> I have selected atoms near an object of interest, and extended this via
> byres to a selection of the other atoms that are part of the same residue.
> Is there any way to output a file that would have the coordinates of the
> atoms I have selected and the residues they comprise?  Any tips appreciated.

Let's say that your selection is called "near", then you could then type:

  save near.pdb, near

or if you have not created an actual named selection, you could do it
as:

  save near.pdb, byres object_name within <cutoff distance> of <object of 
interest selection here>

If you just wanted to see a list of those residues, you could type:

  iterate near & name ca, print chain,resn,resi

to get a list of those residues.

Hope that helps.

Cheers,
Rob
-- 
Robert L. Campbell, Ph.D.                         <[email protected]>
Senior Research Associate                            phone: 613-533-6821
Dept. of Biochemistry, Queen's University,             fax: 613-533-2497
Kingston, ON K7L 3N6  Canada       http://adelie.biochem.queensu.ca/~rlc
    PGP Fingerprint: 9B49 3D3F A489 05DC B35C  8E33 F238 A8F5 F635 C0E2

Reply via email to