The different PDB MODELs are actually PyMol states. Thus:

fetch 1oei
set all_states,0
# The magic is done in the next line
split_states 1oei
# Now you should have separate objects for each state (MODEL)
# Remove the original multistate object
delete 1oei
# Color
util.color_objs('all')
# Beutify
as cartoon


> On Mon, Aug 11, 2008 at 11:37 AM, Robert Fenwick
> <robert.fenw...@irbbarcelona.org> wrote:
>> Hi,
>>
>> I would like to know if anyone has a quick fix for this. I have lots
>> of pdbs that contain a number of NMR models. I would like to colour
>> each model in the same way that I can if I would have multiple chains.
>> For example colour each model a different colour. Is there any way
>> that I can easily do this?
>>
>> Cheers,
>>
>> Bryn
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> PyMOL-users mailing list
>> PyMOL-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pymol-users
>>
>

Reply via email to