I regret I didn't follow the normal mode of operations...

Search the web, pymol wiki, .pymolrc

On Thu, 4 Sep 2008, David Shin wrote:

Hi -

Basically I have a bunch of .pdb's with the same name, but with different
coordinates, that all reside in different directories.

I want to put a script in my personal bin directory such that I can run
pymol and open that set of .pdb's, but then also run a pymol script to set
up the session.

ie. combine something like this:

#!/bin/sh
pymol mol1.pdb mol2.pdb mol3.pdb


with something like this:
cmd.hide("everything","all")
cmd.show("ribbon"    ,"all")
cmd.spectrum("count",selection="all",byres=1)
cmd.set('''seq_view''','''1''',quiet=0)


Thanks,
Dave

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