[Chimera-users] Assigning pre-calculated attribute to B-factor column of pdb
Oliver Clarke
olibclarke at gmail.com
Tue Aug 26 11:52:04 PDT 2014
Thanks Eric, that works perfectly! Now I use the following alias in my startup file:
alias ^rama2bfac ramachandran assign $1 ; setattr r ramaProb 1.0 :/^ramaProb ; open ~/Dropbox/chimera_startup/b_fac2rama.py
and it does exactly what I want.
Thanks!
OIiver
On Aug 26, 2014, at 2:39 PM, Eric Pettersen <pett at cgl.ucsf.edu> wrote:
> from chimera import openModels, Molecule
> for m in openModels.list(modelTypes=[Molecule]):
> for a in m.atoms:
> a.bfactor = a.residue.ramaProb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20140826/7d2e86f0/attachment.html>
More information about the Chimera-users
mailing list