VMD-L Mailing List
From: Vlad Cojocaru (Vlad.Cojocaru_at_eml-r.villa-bosch.de)
Date: Thu Jan 24 2008 - 04:44:40 CST
- Next message: Irene Newhouse: "problems with a script"
- Previous message: Sourmaidou, Damiani: "minimization command"
- Next in thread: John Stone: "Re: preserving atom index or hexadecimal residue numbers after writepdb"
- Reply: John Stone: "Re: preserving atom index or hexadecimal residue numbers after writepdb"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dear VMD users,
I have a pdb structure with a periodic box created by VMD from an amber
topology and coordinates. The waters after 9999 are numbered with
hexadecimal numbers ...
Now I run the following ....
mol new orig.pdb type pdb
set sel [atomselect 0 "same residue as {resname WAT and within 4 of
resid 411 423}"]
$sel writepdb test.pdb
Is there a way to make VMD preserve either the atom index or the
hexadecimal residue number from the orig.pdb to the test.pdb files ?
Thanks a lot for answering
Vlad
P.S. The three lines script is just an example .. the file test.pdb
contains a much larger number of ATOMs than suggested by this example ...
-- ---------------------------------------------------------------------------- Dr. Vlad Cojocaru EML Research gGmbH Schloss-Wolfsbrunnenweg 33 69118 Heidelberg Tel: ++49-6221-533266 Fax: ++49-6221-533298 e-mail:Vlad.Cojocaru[at]eml-r.villa-bosch.de http://projects.villa-bosch.de/mcm/people/cojocaru/ ---------------------------------------------------------------------------- EML Research gGmbH Amtgericht Mannheim / HRB 337446 Managing Partner: Dr. h.c. Klaus Tschira Scientific and Managing Director: Prof. Dr.-Ing. Andreas Reuter http://www.eml-r.org ----------------------------------------------------------------------------
- Next message: Irene Newhouse: "problems with a script"
- Previous message: Sourmaidou, Damiani: "minimization command"
- Next in thread: John Stone: "Re: preserving atom index or hexadecimal residue numbers after writepdb"
- Reply: John Stone: "Re: preserving atom index or hexadecimal residue numbers after writepdb"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]