Re: [PyMOL] visualise NOEs

2012-10-29 Thread Thomas Holder
Hi Krisztina, in PyMOL version 1.2 you cannot install this script as a "Plugin" (in version 1.5 you can!). Instead, use the "run" command to load it. PyMOL> run path/to/plot_noe.py PyMOL> plot_noe path/to/restraints.file See also: http://pymolwiki.org/index.php/Run Cheers, Thomas On 28.10.

Re: [PyMOL] visualise NOEs

2012-10-29 Thread Krisztina Feher
Hi Thomas, thanks a lot for your reply! Now I was running the script from command line and executed it: it did not display anything on the structure. I inserted a couple of print statements into the script (attached), but it seems that the "noe_regex" is not being found in the variable "line"

Re: [PyMOL] visualise NOEs

2012-10-29 Thread Thomas Holder
Hi Krisztina, I slightly modified the script, see attachment. The regular expression is modified and I replaced "search" by "match". The script could be further optimized (exception handling etc.) but with your example file it works fine now. Cheers, Thomas On 10/29/2012 04:06 PM, Kriszt

Re: [PyMOL] visualise NOEs

2012-10-29 Thread Abdullah Kahraman
Dear Krisztina, alternatively you could use Xwalk for visualizing distance constraints on PDB structures. Please have a look at the webserver (www.xwalk.org) or download the software if you find it useful (http://www.xwalk.org/cgi-bin/download.cgi). With Xwalk you can calculate surface distance

[PyMOL] red_white_blue palette color bar

2012-10-29 Thread Yamei Yu
Hi all, Do any know how to generate a color bar for red_white_blue? Thank you very much! yamei -- The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.s

Re: [PyMOL] red_white_blue palette color bar

2012-10-29 Thread Thomas Holder
Hi Yamei, you can create a dummy color ramp: PyMOL> ramp_new colorbar, none, [-5, 0, 5], [red, white, blue] There is also the spectrumbar script: http://pymolwiki.org/index.php/Spectrumbar Cheers, Thomas Yamei Yu wrote, On 10/29/12 16:46: > Hi all, > > Do any know how to generate a color ba