Calculate fraction of sp3 atoms

Skip to first unread message

Andrew Orry

Sep 22, 2020, 11:46:51 AM9/22/20
to MolSoft ICM Knowledge Base
Q. How to calculate the fraction of the saturated (sp3) parts of a chemical (as opposed to aromatic)?

You can calculate fraction of sp3 atoms in command line for a table 't'

add column t Rarray(Nof(t.mol,"[!H;^3]")) / Nof( t.mol, "[!H]" ) name="sp3_fract"

In GUI you can do this in few steps:

  • Add column with number of sp3 atoms (right click -> Insert Column Dialog -> Chemistry -> Nof_Atoms ->paste [!H;^3] into atom smarts)
  • Add column with total number of heavy atoms in similar way
  • Add ratio using 'Insert Column Dialog -> Arithmetic -> / )

Reply all
Reply to author
0 new messages