VMD-L Mailing List
From: Thomas C. Bishop (bishop_at_latech.edu)
Date: Mon Aug 11 2014 - 12:39:26 CDT
- Next message: Ryan McGreevy: "Re: MDFF simulations"
- Previous message: Thomas C. Bishop: "mol new [from memory]"
- In reply to: Axel Kohlmeyer: "Re: mol new [from memory]"
- Next in thread: Maxim Belkin: "Re: mol new [from memory]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
I had no frames in my molec so could not add coords.
an animate dup is needed. e.g.
set molid [mol new atoms 2]
animate dup $molid
set all [atomselect top "all"]
$all set x [list -5.0 5.0]
On 08/11/2014 12:36 PM, Axel Kohlmeyer
wrote:
On Mon, Aug 11, 2014 at 12:59 PM, Thomas C. Bishop <bishop@latech.edu> wrote:Greetings VMD, I have a program that generates coordinate information. What's the recommended means of initializing a new molecule from memory rather than file? Below is my initial attempt/ideas. Thanks TOm a quick read of the html suggests (something like) the following is possible but it I"m missing something w/ the set commandyou are missing coordinate frame storage. if you watch closely, you should see that you create a molecule with no frames. for that you need to insert. animate dup top axel.vmd > mol new atoms 2 0 vmd > set all [atomselect top "all" ] atomselect0 vmd > $all set { x } { { 1.0 } { 2.0} } vmd > $all get { x} 0.0 0.0 vmd > $all get { x y z } {0.0 0.0 0.0} {0.0 0.0 0.0} vmd > $all get name X X vmd > $all set name { CA } vmd > $all get name CA CA vmd > $all set x { 1 } vmd > $all get x 0.0 0.0 vmd > -- ******************************* Thomas C. Bishop Tel: 318-257-5209 Fax: 318-257-3823 www.latech.edu/~bishop ********************************
- Next message: Ryan McGreevy: "Re: MDFF simulations"
- Previous message: Thomas C. Bishop: "mol new [from memory]"
- In reply to: Axel Kohlmeyer: "Re: mol new [from memory]"
- Next in thread: Maxim Belkin: "Re: mol new [from memory]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]