openmolecules.org

 
Home » DataWarrior » Functionality » suggest: adjustment .sdf export
suggest: adjustment .sdf export [message #908] Fri, 15 May 2020 17:59 Go to next message
nbehrnd is currently offline  nbehrnd
Messages: 208
Registered: June 2019
Senior Member
Prior to further analysis of a library,[1] its entries were deduplicated by Data ->
merge equivalent rows, using content of the structure column as sole criterion. The
work with the .sdf subsequently generated by DataWarrior worked fine if the compound
name column used the row number.

Yet, retaining the information of the molecules' name -- here, a PubChem identifier
-- may be useful as a structure may be attributed more than one.[2] The corresponding
choice of compound name column to equate automatic may then yield a .sdf which is not
understood, e.g. by openbabel (version 3.0.0, April 2020).

index.php?t=getfile&id=199&private=0

The suggestion for this type of .sdf export by DW is to report the molecules names
in the data's header / footer on one line, separated only by a blank space.

The archived .dwar equally contains cells with more then one multiple occurrence of
the same PubChem number (e.g. cell #46 about PBCHM2982, PBCHM47354, and PBCHM40585).
The desideratum for cases like this one is to retain only one occurence of each
PubChem number per cell.


[1] https://github.com/IanAWatson/Lilly-Medchem-Rules/blob/maste r/test/example_molecules.smi, revision Apr 26, 2020
[2] E.g., https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4702940/
Re: suggest: adjustment .sdf export [message #915 is a reply to message #908] Sat, 23 May 2020 12:48 Go to previous message
thomas is currently offline  thomas
Messages: 648
Registered: June 2014
Senior Member
Thank you very much for the detailed description of the problem. I have fixed the issue and in the next update it will be included. The behaviour is now to replace any NEWLINE characters by a '; ' string when writing the content of an associated compound name column into the first line of the molfile. When DataWarrior reads an SD-File with these entries again, it recognizes the names as separate ones again, because for DataWarrior the '; ' is a natural separator.
Previous Topic: suggest: native .pdf export
Next Topic: Feature Request: Templates in Recents
Goto Forum:
  


Current Time: Fri Apr 19 04:14:40 CEST 2024

Total time taken to generate the page: 0.03944 seconds