Dear Pymol Users!
My Pymol batch script loads all pdb filles from the output directory
split states and saves the pse session
pymol "${output}"/*.pdb -c -d "
from pymol import cmd
#cmd.load('${output}/*.pdb')
cmd.set('grid_mode','1')
cmd.orient()
cmd.bg_color('white')
cmd.show('sticks', 'not polymer')
cmd.show('spheres', 'not polymer')
cmd.set('stick_radius', '0.12', 'not polymer')
cmd.set('sphere_scale', '0.20', 'not polymer')
cmd.save('${output_pse}/${project}.pse')
"
1) As you may see I load the filles using bash syntax as *.pdb. Is it
possible to do it directly in the pymol script e.g. using glob ? Could
you please show me the example of such syntax?
e.g. I''e already tried #cmd.load('${output}/*.pdb')
but it did not recognize the pattern.
2) is it possible to print the name of each separate pdb in the
splitted grid display?
Many thanks in advance!
Cheers
Enrico
_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/[email protected]
Unsubscribe:
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe