User 73531e86ff
18-03-2009 10:45:26
Hi,
We have come across an interesting case of a nitrogen with valence 5 which is being dealt with differently between our current vendor and ChemAxon.
The simplest case is C#NC which we're trying to match with the smarts [#7v5]. Our current vendor recognises that the nitrogen has an implicit hydrogen and the match is positive.
However, when we load this smiles into ChemAxon it does not match the smarts. We found out that the mol.isValenceError() was giving true for this example. When we changed the smiles to C#[NH]C the match is positive again.
So, my question is: Is there a way to have the implicit hydrogen added automatically in this example?
Having taken a look at the Daylight page for the smiles definition it says:
From this explanation it implies that as the Nitrogen in my example already has 4 bonds then the lowest normal valence is 5, therefore you should assume it has an implicit hydrogen.
We have come across an interesting case of a nitrogen with valence 5 which is being dealt with differently between our current vendor and ChemAxon.
The simplest case is C#NC which we're trying to match with the smarts [#7v5]. Our current vendor recognises that the nitrogen has an implicit hydrogen and the match is positive.
However, when we load this smiles into ChemAxon it does not match the smarts. We found out that the mol.isValenceError() was giving true for this example. When we changed the smiles to C#[NH]C the match is positive again.
So, my question is: Is there a way to have the implicit hydrogen added automatically in this example?
Having taken a look at the Daylight page for the smiles definition it says:
Quote: |
Elements in the "organic subset" B, C, N, O, P, S, F, Cl, Br, and I may be written without brackets if the number of attached hydrogens conforms to the lowest normal valence consistent with explicit bonds. "Lowest normal valences" are B (3), C (4), N (3,5), O (2), P (3,5), S (2,4,6), and 1 for the halogens. |