Skip to content

Methods and checksMethods

How every result is reached and what it was checked against, app by app.

Methods and checks pages

Hydrogen-bond acceptor sites (RDKit NumHBA); historical Lipinski N/O counts are separate, version 1.0.0

molecule.hba@1.0.0: this version's equations with their symbols, each constant's value, their sources and whether each was read, a worked example where the record holds one, its level and what it was checked against, the number of cases, and what was not checked. This version's record is not rewritten; a correction is added under Changes.

What this page can and cannot show

Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.

Not fully recorded, and not independently reviewed. Items marked "Not recorded" are missing from this project's records for the version named. Apart from any worked example shown, the cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed these methods or checks.

Every version of this method · Every method · What the levels mean

Version 1.0.0

Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page. molecule.hba@1.0.0

What this page can and cannot show

What was checked

Cases: no case set is linked to molecule.hba@1.0.0.

What was not checked

An amide N is not an acceptor under this pattern; Lipinski's N/O count (molecule.lipinski-hba) counts it. The published cases check RDKit's value against the same library (Python RDKit): not an independent check (this project's ruling of 11 November 2026, section S9). No published case set names molecule.hba@1.0.0. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.

Equations

Hydrogen-bond acceptor sites: atoms matching RDKit's NumHBA pattern [$([O,S;H1;v2]-[!$(*=[O,N,P,S])]),$([O,S;H0;v2]),$([O,S;-]),$([N;v3;!$(N-*=!@[O,N,P,S])]),$([nH0X2,o,s;+0])], counted once each.

Source: RDKit: Open-source cheminformatics, Release_2026_03_6, Code/GraphMol/Descriptors/Lipinski.cpp. BSD-3-Clause., section calcNumHBA (SMARTSCOUNTFUNC NumHBA), source at the release tag Release_2026_03_6 (the engine runs @rdkit/rdkit 2026.3.6, from the lockfile); read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person.

Constants

Constants: none used.

Worked example

Worked example: one case of molecule.hba@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.

Inputs

  • smiles = CC(=O)Nc1ccc(O)cc1

Steps

  1. O9: [O,S;H1;v2]-[!$(*=[O,N,P,S])] = hydroxyl O bound to ring C8, which carries no double bond to O, N, P or S: matches.
  2. O3: [O,S;H0;v2] = carbonyl O: no H, valence 2: matches.
  3. N4: [N;v3;!$(N-*=!@[O,N,P,S])] = amide N is bound to C2, which has a non-ring double bond to O3: excluded.
  4. count: sum = 2, gives result.descriptors.hbaSites.

The working, as the case writes it:

Count atoms matching any alternative.

Answer

  • result.descriptors.hbaSites = 2

Where these values came from: our own exact-arithmetic script and a hand-worked case; RDKit Release_2026_03_6, Code/GraphMol/Descriptors/Lipinski.cpp, NumHBA: [$([O,S;H1;v2]-[!$(*=[O,N,P,S])]),$([O,S;H0;v2]),$([O,S;-]),$([N;v3;!$(N-*=!@[O,N,P,S])]),$([nH0X2,o,s;+0])].

The build has not run this example through the tool.

Worked by an AI session on 2026-11-11. No person has yet worked this case.

Changes

No correction is logged for molecule.hba@1.0.0.

Tools that use it

Cite this version

Hydrogen-bond acceptor sites (RDKit NumHBA); historical Lipinski N/O counts are separate. Drybench; molecule.hba@1.0.0; https://www.drybench.com/methods/m/molecule.hba/1.0.0 (accessed [date]).