VMD-L Mailing List
From: Mohamed Osman (osman_at_eecs.wsu.edu)
Date: Fri Dec 15 2006 - 12:05:43 CST
- Next message: Kenley Barrett: "Re: "cartoon" failing to show secondary structure--more info"
- Previous message: Kenley Barrett: "Re: "cartoon" failing to show secondary structure"
- In reply to: John Stone: "Re: moveby command in vmd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
I retyped the script and oddly enough it works now. Thanks for everyone
Mohamed
On 12/15/06, John Stone <johns_at_ks.uiuc.edu> wrote:
>
>
> Hi,
> That's odd, that sequence of operations certainly works for me.
> The error you're getting is the one you'd get if there was a carriage
> return between the "$all" and the "moveby". If you had typed an incorrect
> atomselect subcommand, I would have expected VMD to print the usage info
> for
> the atomselect commands. Can you double-check and make sure you didn't
> accidentally break up that command in your script file, or when typing
> in the console?
>
> John Stone
> vmd_at_ks.uiuc.edu
>
> On Fri, Dec 15, 2006 at 09:36:43AM -0600, Mohamed Osman wrote:
> > I am using moveby command to shift coordinates of all atoms in pdb file.
> > Here is how I use it in a tcl file
> >
> > set all [atomselect top all]
> > $all moveby {0 0 10}
> > $all writepdb outfile.pdb
> >
> > I get an error message: invalid command name "moveby"
> >
> > Info) Analyzing structure ...
> > Info) Atoms: 2685
> > Info) Bonds: 2764
> > Info) Residues: 345
> > Info) Waters: 2
> > Info) Segments: 6
> > Info) Fragments: 9 Protein: 4 Nucleic: 0
> > 0
> > atomselect0
> > invalid command name "moveby"
> >
> > Thanks
> > Mohamed Osman
>
> --
> NIH Resource for Macromolecular Modeling and Bioinformatics
> Beckman Institute for Advanced Science and Technology
> University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
> Email: johns_at_ks.uiuc.edu Phone: 217-244-3349
> WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
>
- Next message: Kenley Barrett: "Re: "cartoon" failing to show secondary structure--more info"
- Previous message: Kenley Barrett: "Re: "cartoon" failing to show secondary structure"
- In reply to: John Stone: "Re: moveby command in vmd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]