Dear all,
I know that if you want to visualize b facotor of a objector in pymol, you can
use A>Present>b factor putty. However, how can show the b factor putty on a
certain selection of the object? Is there any command line to do this or do I
have to create a new object for the selection and st
Hi sunyeping,
You are right; there is a way via the command line:
preset.b_factor_putty(selection='all')
Replace "all" with your selection.
Best regards,
Blaine
Blaine Mooers, Ph.D.
Associate Professor
Department of Biochemistry and Molecular Biology
College of Medicine
University of Oklahoma
I am sorry. I am wrong. I should have tested by suggestion.
Irregardless of the selection that I specify, the entire chain is changed.
I would go with your plan B and create a new object for the selection.
create test, resi 100:150
preset.b_factor_putty("test")
The above worked with pdb file 4d
Hi, Blaine,
Thank you, that's helpful. But a problem with creating a new object is that the
conformation of the newly created object for the selection is sightly different
from its counterpart in the original object. If the original object is shown as
cartoon, then both the putty presentation
Dear all,
I am running pymol in Python (jupyter notebook) using Mac IOS10.15.
After importing pymol, I wonder why can't cmd be imported?
import __main__
__main__.pymol_argv = [ 'pymol', '-qc'] # Quiet and no GUI
import cgi
import pickle
import pymol
import sys
from pymol import cmd
ImportError:
Hi Jason,
Did you create a kernel for the python interpreter that is used by PyMOL?
Best regards,
Blaine
Blaine Mooers, Ph.D.
Associate Professor
Department of Biochemistry and Molecular Biology
College of Medicine
University of Oklahoma Health Sciences Center
S.L. Young Biomedical Research Cen
Hi,
How to detect if we are in the library mode or on the GUI mode?
--
Pedro Sousa Lacerda
Laboratório de Bioinformática e Modelagem Molecular / UFBA
Mestrando em Ciências Farmácias / UEFS
@pslacerda
+55 71 9 9981-1856
http://lattes.cnpq.br/8338596525330907