Hello Eric,

many thanks for your help. But i use small molecules like sugars from ab-initio calculations (imported using SEQCROW: i will check if the ground state result has the right configuration on each carbon). And, if i understand ideal_chirality correctly, this use mmCIF informations from PDB. But such informations are not available in my case. And the scipt produces errors.

Steffen

Am 26.07.2023 19:43:52 schrieb Eric Pettersen <pett@cgl.ucsf.edu>:

Hi Steffen,
The answer is sort of. :-)  If the file is a an mmCIF file from the PDB, then the chirality information will be present in the file.  If you selected atoms of interest, then running this Python code would print the chirality information in the log:

from chimerax.atomic import selected_atoms
for a in selected_atoms(session):
    print(a, a.residue.ideal_chirality(a.name))

For convenience, I have put the above code into the attached file, which if you put the file in your home folder you could then run with "open ~/chirality.py".

--Eric

Eric Pettersen
UCSF Computer Graphics Lab