Hi –
I don’t know; have you asked on the PyMOL mailing list as well?
Kyle, have you looked at Python control of PyMOL at all?
Sorry I don’t have more information,
--
Nathan Baker
Laboratory Fellow and Technical Group Manager
Applied Statistics and Computational Modeling
Pacific Northwest National Laboratory
the APBS Tools PyMOL Plugin doesn't provide command line access. However, the "psico" python module for PyMOL provides the commands "apbs_surface" and "map_new_apbs", maybe those work for you? You can download the module from http://pymolwiki.org/index.php/Psico
Cheers,
Thomas
--
Thomas Holder
PyMOL Developer
Schrödinger, Inc.
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
apbs-users mailing list
apbs-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apbs-users
Thanks for your module, it's great. Now I can put it on the script so
that I can save images automatically.
I have some more questions.
1. Why is the potential from -4.587 to 4.587 kT/e? Is there any way to
manipulate it, say from -1 to 1 kT/e?
2. If I have already run APBS for my protein and have a potential map,
can I load it and see the surface without running it again?
3. I'm not really sure what the map_new_apbs command do. Is it save a
potential map? I couldn't see where it saves.
Thank you so much for a great tool.
1. the range is picked automatically. You can pass maximum and minimum to the apbs_surface function if you want:
PyMOL> apbs_surface yoursele, 1, -1
2. If you already have the dx map file, then you can use core PyMOL commands to do everything:
PyMOL> load yourstructre.pdb
PyMOL> load yourmap.dx
PyMOL> ramp_new yourramp, yourmap, [-5, 0, 5], [red, white, blue]
PyMOL> set surface_color, yourramp, yourstructure
PyMOL> set surface_ramp_above_mode
See also:
http://pymolwiki.org/index.php/Ramp_new
http://pymolwiki.org/index.php/Surface_ramp_above_mode
3. "map_new_apbs" is used by "apbs_surface", it's the low level command which runs apbs to create the map. The dx map file is deleted instantly by default, but you can pass the preserve=1 argument to keep it. Learn about available command arguments by calling the command with a question mark:
PyMOL> map_new_apbs ?
Hope that helps.
Cheers,
Thomas
You missed
PyMOL> show surface
to show it. Thanks for your help :D
Ooker.
unfortunately, no documentation has been written for the apbs features in PSICO. Also it's long overdue to include those as core commands into PyMOL to not depend on additional module installations. It's on my plate...
Best,
Thomas
I'm the author of PSICO.
--Thomas
Oops, I mean the author of APBS Tool, sorry.
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/