VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Thu Jan 27 2011 - 14:49:19 CST
- Next message: Germain Salvato Vallverdu: "RE: How can I add bonds ?"
- Previous message: Germain Salvato Vallverdu: "RE: How can I add bonds ?"
- In reply to: Germain Salvato Vallverdu: "RE: How can I add bonds ?"
- Next in thread: Germain Salvato Vallverdu: "RE: How can I add bonds ?"
- Reply: Germain Salvato Vallverdu: "RE: How can I add bonds ?"
- Reply: Germain Salvato Vallverdu: "RE: How can I add bonds ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Thu, 2011-01-27 at 21:31 +0100, Germain Salvato Vallverdu wrote:
> Hi
hi germain,
> I did what you said about topo plugins. It works perfectly. I opened the
> tk console and type topo addbond num1 num2 ect ... . I understand that
> step. After that in the main window I saved the state, but topology
> information are not in that file.
that is correct. the state saved is only "visualization state".
modifications to the molecule "data" needs to be written to
an new "molecular" file.
> Actually, I thought that I could have do a specific view, then save the
> state of that view in a .vmd file and then modified a little bit that
> file with a script in order to get, each time I open vmd, the same view
> with right bonds. Is it a way to do that ?
there are ways to have certain actions happen automatically
after loading a new file, but in this case a different strategy
might be better.
> In previous mail you speak about a .psf file which contains topology
> information. I look at the .psf files in the protein folder which comes
> with vmd. It seems to be easy to write a .pdf or .xyz file and a .psf
> file for my system and to load both of them in vmd with a right command.
> Do you think that doing this may be a solution ?
yes. psf is one file format that contains topology information like
bonds, angles, dihedrals and thus you can use it to override the
automatic guess that VMD uses in case of file formats that do not
contain bonding information.
if you type on the vmd command prompt:
animate write psf myfile.psf
you'll generate such a file with the updated information.
the nice thing about a .psf file is that it does not
contain any coordinate data, so you only need to create
it once for the same system and can use it in combination
with many different coordinate files of the same system.
next time you can launch vmd with:
vmd myfile.psf myfile.pdb
and you should see the recorded bonds.
if you also want to record the "view" and
visualizations, you can use a vmd "state"
in combination with this after to have
created the visualization and used "save state".
salut,
axel.
>
> Thanks again
>
> Germain
-- Dr. Axel Kohlmeyer akohlmey_at_gmail.com http://goo.gl/1wk0 Institute for Computational Molecular Science Temple University, Philadelphia PA, USA.
- Next message: Germain Salvato Vallverdu: "RE: How can I add bonds ?"
- Previous message: Germain Salvato Vallverdu: "RE: How can I add bonds ?"
- In reply to: Germain Salvato Vallverdu: "RE: How can I add bonds ?"
- Next in thread: Germain Salvato Vallverdu: "RE: How can I add bonds ?"
- Reply: Germain Salvato Vallverdu: "RE: How can I add bonds ?"
- Reply: Germain Salvato Vallverdu: "RE: How can I add bonds ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]