Hi Afonso,

PyMOL allows for Python scripting so in principle you could do something
like:

import math
alter structure, b=math.log(b, 10)

Just make sure not to have 0.0 bfactors in there!

Cheers,

João


2013/7/4 Afonso Duarte <afonsomdua...@gmail.com>

> Dear All,
>
>
> I have a pdb file composed by several chains where the b-factor column was
> replaced by a physical property of the proteins. I am now trying to color
> according to b-factor and to obtain a better representation of the
> properties described. i.e. I am interested in calculating the log of the
> b-factor and place that value in the b-factor column.
>
> I tried to export this column form the pdb, process it and then import it
> back, but due to the presence of different chains the b-factors got messed
> up.
>
> Would it be possible to do this kind of math  operation directly in Pymol?
>
>
> Best
>
>
> Afonso
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to