Skip to content

Rendering of MDL functional groups (from MOLFile) #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tomyan112 opened this issue Feb 16, 2020 · 4 comments
Open

Rendering of MDL functional groups (from MOLFile) #16

tomyan112 opened this issue Feb 16, 2020 · 4 comments
Labels
Bug Something isn't working

Comments

@tomyan112
Copy link

The structure in my .mol file
image
After import, the COO⁻ cannot be displayed
image

@MikeWilliams-UK
Copy link
Contributor

At present we don't support input of functional groups from molfiles.

Can you post the MOLfile so that we can examine it to evaluate the possibility of doing so.

@tomyan112
Copy link
Author

tomyan112 commented Feb 16, 2020

Alanine.zip

Alanine.mol
  ChemDraw02162014592D

  7  6  0  0  0  0  0  0  0  0999 V2000
    0.0000   -0.2055    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   -0.8250   -0.2055    0.0000 N   0  3  0  0  0  0  0  0  0  0  0  0
    0.0000   -1.0305    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
    0.8250   -0.2055    0.0000 H   0  0  0  0  0  0  0  0  0  0  0  0
    0.0000    0.6195    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   -0.7120    1.0305    0.0000 O   0  0  0  0  0  0  0  0  0  0  0  0
    0.7120    1.0305    0.0000 O   0  5  0  0  0  0  0  0  0  0  0  0
  5  6  2  0      
  5  7  1  0      
  1  5  1  0      
  1  2  1  0      
  1  3  1  0      
  1  4  1  0      
M  CHG  2   2   1   7  -1
M  STY  1   1 SUP
M  SLB  1   1   1
M  SAL   1  3   5   6   7
M  SBL   1  1   3
M  SMT   1 COO-
M  SBV   1   3    0.0000   -0.8250
M  END

@MikeWilliams-UK
Copy link
Contributor

@deadlyvices what's your take on this?

@MikeWilliams-UK
Copy link
Contributor

I have had a quick look at the CTAB of the MOLfile and the two O atoms are clearly present. Without reference to the MDL spec I can't tell for certain (as on my phone) but I think the line with the COO at the end may be the function group.
The problem we may have is if we do not have a definition for "COO" which from memory we don't how would we arbitrarily translate such groups!

@MikeWilliams-UK MikeWilliams-UK changed the title Problem of rendering of imported .mol file Rendering of MDL functional groups from imported .mol file Mar 28, 2020
@MikeWilliams-UK MikeWilliams-UK changed the title Rendering of MDL functional groups from imported .mol file Rendering of MDL functional groups (from MOLFile) Mar 28, 2020
@MikeWilliams-UK MikeWilliams-UK transferred this issue from Chem4Word/Version3-1 Feb 28, 2022
@MikeWilliams-UK MikeWilliams-UK transferred this issue from Chem4Word/Version3-2 Oct 8, 2024
@MikeWilliams-UK MikeWilliams-UK added the Bug Something isn't working label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Development

No branches or pull requests

2 participants