openmolecules.org

 
Home » DataWarrior » Functionality » tautomer & protomer display
tautomer & protomer display [message #793] Mon, 02 March 2020 01:02 Go to next message
sbembenek18 is currently offline  sbembenek18
Messages: 60
Registered: April 2019
Member
I notice that sometimes DW will display a given tautomer/protomer different than what was written to the SDF file.

For example, I have the canonical smiles:

Nc1nc([O-])c2[nH]c[nH+]c2n1

which DW will display as:

Nc(nc1O)nc2c1[nH]cn2

I seem to be able to prevent this by adding explicit Hs when writing the SDF. I'd just like to have a clearer picture of what it is doing.

thanks!




Re: tautomer & protomer display [message #796 is a reply to message #793] Mon, 02 March 2020 18:34 Go to previous message
thomas is currently offline  thomas
Messages: 715
Registered: June 2014
Senior Member
DataWarrior stores chemical structures in memory and within its native files as very compact canonical string representation, so-called idcodes. SD-Files and SMILES are converted to idcodes, when they are read as input file (or from the clipboard). After reading the original, DataWarrior performs some structure normalization before creating the canonical idcode. One example is to unify the nitro group as -N(+)(=O)-O(-), which in some input SMILES or SD-files comes as -N(=O)=O. Part of the normalization is also to neutralize charged atoms as your example:
index.php?t=getfile&id=153&private=0
Because of these normalization rules DataWarrior considers these both structures to be equivalent and, thus, creates the same idcode for them, which actually represents the second form of the structure.

Note that you can manually change this structure again within DataWarrior by adding charges and implicitly adding/removing hydrogen atoms to come back to the first structure. If you save the file and reopen, the bipolar structure is retained. The idea behind that is that structure files from different sources may use different conventions for representing the same thing. DataWarrior does its best to normalize. When a chemist, however, directly within DataWarrior edits a structure, then he probably means exactly what he is drawing.
  • Attachment: t.png
    (Size: 16.56KB, Downloaded 547 times)

[Updated on: Mon, 02 March 2020 18:36]

Report message to a moderator

Previous Topic: Postgresql connection
Next Topic: Hyperlinks
Goto Forum:
  


Current Time: Sun Nov 24 05:18:54 CET 2024

Total time taken to generate the page: 0.03656 seconds