Thanks! That works. I kept trying to avoid writing a script, figuring
that it should just be an option in 'create'. That is, if the selection
old_obj has a wild card, then
create new_obj, old_obj*,1,-1
should work. Clearly not; could this be a future feature?
Jed
On 1/16/2014 10:56 AM, Jason Vertrees wrote:
Jed,
You are correct in that you should be using the "create" command:
# creates new_obj from old_obj1 by copying old_obj1
# in state 1 to new_obj in state 1
create new_obj, old_obj1, 1, 1
# creates new_obj from old_obj2 by copying old_obj2
# in state 1 to new_obj in state 2
create new_obj, old_obj2, 1, 2
# creates new_obj from old_obj3 by copying old_obj3
# in state 1 to new_obj in state 3
create new_obj, old_obj3, 1, 3
If you have any empty session, this will automate the process:
python
for x in cmd.get_names():
cmd.create("combined_models", x, 1, -1)
python end
Cheers,
-- Jason
On Thu, Jan 16, 2014 at 9:28 AM, Jed Goldstone <jgoldst...@whoi.edu
<mailto:jgoldst...@whoi.edu>> wrote:
I know this seems silly, but I can't figure out how to combine
multiple
separate objects into one multistate object. I have a set of Modeler
models loaded from a single pdb file, automagically separated into
separate objects that have been aligned, and I want to combine
them into
one object in order to run Robert Cambell's rmsf_states script (and,
also since it's just easier to compare and manipulate).
I've searched the manual, the sourceforge list, and the wiki. Somehow
the command 'create' with 'target_state=-1' and 'discrete=1' seems
like
it should do this, but all the objects end up in the first state (and
the cartoon representation is a subset of what it should be (other
representations are fine).
I'm using incentive v1.6.0.0 on Windows 7.
Jed
--
------------------------
Jed Goldstone, PhD
Research Specialist
Woods Hole Oceanographic Institution
Redfield 3-52 MS#32
Woods Hole, MA 02543
http://www.whoi.edu/hpb/Site.do?id=481
Phone: 508-289-4823 <tel:508-289-4823>
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net
<mailto: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
--
Jason Vertrees, PhD
Director of Core Modeling Products
Schrödinger, Inc.
(e) jason.vertr...@schrodinger.com <mailto:jason.vertr...@schrodinger.com>
(o) +1 (603) 374-7120
--
------------------------
Jed Goldstone, PhD
Research Specialist
Woods Hole Oceanographic Institution
Redfield 3-52 MS#32
Woods Hole, MA 02543
http://www.whoi.edu/hpb/Site.do?id=481
Phone: 508-289-4823
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
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