Dear Pymol Users,
I am looking for a possibility to display names of the objects in the
pymol session. For example I loaded 4 objects corresponded to 2
different positions of the same ligand as well as 2 positions of its
centres of masses. How would it be possible to display the names of
each of t
Hi Jeff,
The name of an object is stored in the model attribute.
Select an atom in the object and use this command:
label sele, model
If you want to automate this over all your PyMOL objects, you can use this
script, this will put a label at the centre of each object but it has to create
a p
Thank you, Ali!
One question - is there any command which would allow to change
position of the text of the label produced by the label sele, model ?
In fact as I noticed, it produces correctly label text just above the
object, while I need to move it a litle bit in one of the directions
...
Cheers
No worries Jeff,
Use editing mode and you can move it with mouse. See around 3:30 in this video,
https://m.youtube.com/watch?v=yBFzJ3ql4qU&ab_channel=MolecularMemory.
You can move all labels with this command:
set label_position (x,y,z)
This will move the labels as needed in the x, y and z dir
pardon, just one additional question, which might be alitle bit custom
issue, however..
Imagine, that I have 2 groups of the pdbs objects loaded into same
pymol session: 2 pdbs with the prefix COG_*.pdb, and 2 pdbs with the
prefix AA_*.pdb. Would it be possible to subtract the both prefixes
from t
Dear Colleagues,
We are pleased to announce the virtual annual CCP4/APS crystallographic school
"From data collection to structure refinement and beyond" will be held on June
14-25, 2021 at the Advanced Photon Source (APS), Argonne National Laboratory
(ANL), near Chicago, Illinois, USA. All det
Resending since I forgot to copy the PyMOL mailing list
On 23/2/21, 7:17 am, "Ali Saad Kusay" wrote:
Hi Jeff,
There is several ways you can do this with string function in python
https://www.w3schools.com/python/python_ref_string.asp.
This is an easy one liner which replace "COG