VMD-L Mailing List
From: L. Michel Espinoza-Fonseca (mef_at_ddt.biochem.umn.edu)
Date: Thu Apr 10 2008 - 17:02:13 CDT
- Next message: Peter Freddolino: "Re: Using namdenergy in batch mode to compute dihedral energies"
- Previous message: Irene Newhouse: "Using namdenergy in batch mode to compute dihedral energies"
- Next in thread: Axel Kohlmeyer: "Re: change residue name and write a trajectory file"
- Reply: Axel Kohlmeyer: "Re: change residue name and write a trajectory file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi all,
I want to create a new trajectory from a pdb-formatted trajectory
using VMD. The problem I'm facing is that I'm trying to write the new
trajectory with one residue having a different name (i.e., THR by
FOO). I was trying to do the following:
set all [atomselect top all frame all]
set res [atomselect top "resid 10" frame all]
$res set resname FOO
animate write pdb new_trajectory.pdb $all
However, every time I run these lines I get the following error: ERROR
> Invalid molecule id 0
Do you have any ideas on how to solve this issue?
Thanks!
Michel
- Next message: Peter Freddolino: "Re: Using namdenergy in batch mode to compute dihedral energies"
- Previous message: Irene Newhouse: "Using namdenergy in batch mode to compute dihedral energies"
- Next in thread: Axel Kohlmeyer: "Re: change residue name and write a trajectory file"
- Reply: Axel Kohlmeyer: "Re: change residue name and write a trajectory file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]