Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Invert the geometry of selected atoms in a molecule
ResourceFunction["InvertAtom"][mol, atom] inverts the geometry of atom in molecule mol. | |
ResourceFunction["InvertAtom"][mol,{atom1,atom2,…}] inverts the geometry of several atomi in molecule mol. |
Show 2-butanol:
| In[1]:= |
| Out[1]= | ![]() |
Invert it:
| In[2]:= |
| Out[2]= | ![]() |
Check the chirality:
| In[3]:= |
| Out[3]= |
Invert one of the carbinol atoms of cis-cyclohexan-1,3-diol:
| In[4]:= |
| Out[4]= | ![]() |
| In[5]:= |
| Out[5]= | ![]() |
Check the chirality:
| In[6]:= |
| Out[6]= |
Several atoms can be inverted at once. Show (-)-menthol:
| In[7]:= |
| In[8]:= |
| Out[8]= | ![]() |
Invert atoms 2 (bearing the hydroxyl group) and 9 (bearing the methyl group) to make (+)-neoisomenthol:
| In[9]:= |
| Out[9]= | ![]() |
Check the chirality:
| In[10]:= |
| Out[10]= |
| In[11]:= |
| Out[11]= |
Amines can be inverted:
| In[12]:= |
| Out[12]= | ![]() |
| In[13]:= |
| Out[13]= | ![]() |
Check the out-of-plane angle:
| In[14]:= |
| Out[14]= |
Atoms in rings can be inverted:
| In[15]:= |
| Out[15]= | ![]() |
| In[16]:= |
| Out[16]= | ![]() |
Check the chirality:
| In[17]:= |
| Out[17]= |
Spiro centers can be inverted:
| In[18]:= |
| Out[18]= | ![]() |
| In[19]:= |
| Out[19]= | ![]() |
Check the chirality:
| In[20]:= |
| Out[20]= |
Ring fusion atoms with sufficiently large rings can be inverted:
| In[21]:= |
| Out[21]= | ![]() |
| In[22]:= |
| Out[22]= | ![]() |
Check the chirality:
| In[23]:= |
| Out[23]= |
Bridgehead atoms with sufficiently large rings can be inverted:
| In[24]:= |
| Out[24]= | ![]() |
| In[25]:= |
| Out[25]= | ![]() |
Invert the anomeric carbon of α-D-glucose:
| In[26]:= | ![]() |
| Out[26]= | ![]() |
| In[27]:= |
| Out[27]= | ![]() |
Check that the stereochemistry at only atom 2 has changed:
| In[28]:= |
| Out[28]= |
Ring fusion atoms with small rings are not inverted:
| In[29]:= |
| Out[29]= | ![]() |
| In[30]:= |
| Out[30]= | ![]() |
| In[31]:= |
| Out[31]= | ![]() |
| In[32]:= |
| Out[32]= | ![]() |
Bridgehead atoms with small rings are not inverted:
| In[33]:= |
| Out[33]= | ![]() |
| In[34]:= |
| Out[34]= | ![]() |
Bridgehead atoms in tricyclic and larger ring systems are not inverted:
| In[35]:= |
| Out[35]= | ![]() |
| In[36]:= |
| Out[36]= | ![]() |
| In[37]:= |
| Out[37]= | ![]() |
| In[38]:= |
| Out[38]= | ![]() |
Pentacoordinate atoms cannot be inverted:
| In[39]:= |
| Out[39]= | ![]() |
| In[40]:= |
| Out[40]= | ![]() |
Wolfram Language 13.0 (December 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License