openmolecules.org

 
Home » DataWarrior » Bug Reports » Unable to diaplay zwitterion structure correctly in both + and - sperately (Display structure issues)
Re: Unable to diaplay zwitterion structure correctly in both + and - sperately [message #1912 is a reply to message #1910] Sun, 04 June 2023 21:14 Go to previous message
thomas is currently offline  thomas
Messages: 684
Registered: June 2014
Senior Member
When DataWarrior creates a new window from structures converted from an external format (typically SMILES or molfiles; from file or clipboard) then DataWarrior converts these structures into a normalized and canonical form (idcode), which is then stored in a dwar file. Part of the normalization is moving protons in order to remove charges. The canonicalization then classifies all atoms after detecting ring and stereo features for a unique numbering, which allows to create a compact and canonical molecule encoding.

The idea of this is that input structures, which just differ because different atoms are (de-)protonated, are recognized as the same thing.

Admittedly, there are applications, where one needs to dinstinguish different protonation states or zwitter ions from the neutral molecule. If you edit an existing structure within DataWarrior, then the normalization is not done, because DataWarrior assumes that you know what you are doing and that you really intended the drawn protonation state. It just writes the canonicalized drawn structure into the cell. The same happens, if you paste one or multiple structures or SMILES into a structure column: protonation states are retained. (right mouse click on a structure within the table and 'Paste Into Table')

Thus, a solution to you problem is: If you have one or multiple SMILES in the clibboard, then do 'File-Paste'. A new window is created with normalized structures. Press the right mouse button in the first structure cell and choose 'Paste Into Table'. The normalized structure(s) are now replaced by the non-normalized ones retaining the original protonation state.

[Updated on: Sun, 04 June 2023 21:14]

Report message to a moderator

 
Read Message icon4.gif
Read Message
Previous Topic: add calculated values
Next Topic: conformer generation sometimes skips isomer generation
Goto Forum:
  


Current Time: Tue Jul 23 21:28:40 CEST 2024

Total time taken to generate the page: 0.03544 seconds