there is a "join_states" command in PSICO.

http://pymolwiki.org/index.php/psico

Cheers,
  Thomas

On 16 Jan 2014, at 11:15, Jason Vertrees <jason.vertr...@schrodinger.com> wrote:

> Jed,
> 
> Yes, the create command should more intelligently handle the wildcard. In 
> fact, I started out trying the same thing you did. I'll add this as a feature 
> request.
> 
> Cheers,
> 
> -- Jason
> 
> 
> On Thu, Jan 16, 2014 at 10:06 AM, Jed Goldstone <jgoldst...@whoi.edu> wrote:
> 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> 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


-- 
Thomas Holder
PyMOL Developer


------------------------------------------------------------------------------
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

Reply via email to