>Dear all,
>
>i have multiple conformations files (multi pdb) and would like to
>compute for each one, the rmsd for each snapshot against the first
>snapshot.
>Is it possible with pymol to do such a task ?
>
>thank you in advance for the gain of time ... :-)
>
>nicolas floquet

Yes, using a short Python loop:

# .pml example PyMOL script

# load structure into "input" object

fetch 1nmr, input, async=0

# choose the reference state

create ref, input, 1, 1

# now iterate using Python

python

for i in range(cmd.count_states("input")):
    cmd.create("tmp", "input", i+1, 1)
    print 1, i+1, cmd.fit("tmp", "ref")
    cmd.delete("tmp")

python end

# end example

Cheers,
Warren



------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to