Skip to content

Sulfonamide N(1-) charge wrong but only with MOZYME #239

@aizvorski

Description

@aizvorski

Describe the bug

This is apparently different behavior for ionized sulfonamides depending on whether MOZYME is used or not. This is any groups with smiles string S(=O)(=O)[NH-].

With MOZYME, if the correct -1 charge is given as an input, there is an error; without MOZYME it works.

To Reproduce

Input:

MOZYME XYZ PM6-D3H4X EPS=78.5  1SCF  CHARGE=-1 THREADS=64


C -5.005000 1 3.851000 1 15.504000 1
N -5.426000 1 1.038000 1 15.914000 1
O -4.902000 1 2.759000 1 17.839001 1
C -3.857000 1 3.699000 1 14.733000 1
H -3.319528 1 2.750854 1 14.748594 1
O -7.069000 1 2.673000 1 16.502001 1
C -3.383000 1 4.751000 1 13.936000 1
H -2.488679 1 4.609419 1 13.329168 1
C -4.049000 1 5.980000 1 13.914000 1
H -3.661553 1 6.813045 1 13.327466 1
C -5.231000 1 6.118000 1 14.666000 1
H -5.786553 1 7.055192 1 14.632366 1
C -5.698000 1 5.064000 1 15.455000 1
H -6.610806 1 5.188556 1 16.037554 1
S -5.599000 1 2.556000 1 16.565001 1
H -4.490000 1 0.633000 1 16.278999 1

Result:

COMPUTED CHARGE ON SYSTEM: +1, THIS IS NOT THE SAME AS THE CHARGE DEFINED IN THE DATA-SET: "CHARGE=-1"
CHARGE SPECIFIED IS INCORRECT. CORRECT THE ERROR BEFORE CONTINUING

Expected behavior

Without MOZYME, the calculation works

JOB ENDED NORMALLY

However it may not be quite correct. Still without MOZYME but adding CHARGES, with the first line being "XYZ PM6-D3H4X EPS=78.5 1SCF CHARGE=-1 THREADS=64 CHARGES", the result is:

   Ion Atom No.  Type    Charge
    1       2      N       +1
CHARGE SPECIFIED IN DATA SET:  -1 IS INCORRECT.

Operating system

MOPAC v23.0.2 from conda-forge, Ubuntu 22.04.4 LTS

Additional context

Happens every time; appars to happen whenever the system contains an ionized sulfonamide, it can be part of a larger molecule.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions