Comments (5)
OK, @philippba89, I think I got it. The molecular geometry you find in the dg_10.sdf shows some very wrong bond lengths and angles. This is because SerConverter is only meant to convert the serialized file containing a DENOPTIMGraph (i.e., the content of dg_10.ser) into and SDF file containing the same DENOPTIMGraph (i.e., the content of dg_10.sdf). This conversion is completely unrelated to how a DENOPTIMGraph (whether hosted in a serialized *.ser file or in a *.sdf file) is converted into a molecular geometry. In practice, the molecular geometry you see in the dg_10.sdf file is only the sum of the molecular geometries of all the fragments that are part of the graph.
That said, I agree it would be best to get the unrefined 3D geometry, i.e., a geometry where the 3D fragments are aligned according to their attachment point vectors. Therefore, I've added a new keyword, SERCONV-MAKE3DTREE, that asks SerConverted to produce SDF files that contain such unrefined geometry. Note that I say "unrefined" because there is no molecular modeling done on such geometry, so, while it is good enough for starting a conformational search, it is not an optimized geometry.
You find this fix in the latest release: https://github.com/denoptim-project/DENOPTIM/releases/tag/v2.2.4
Your suggestion was a very good, thanks!
from denoptim.
@philippba89 Thanks for reporting. I'm looking into this, but I want to be sure I understand what is the problem you have experienced. Could you give me an example of a "messed up" sdf file? The best would be to make me able to reproduce the issue with the PtCOLX2_FSE test case.
from denoptim.
Hey marco-foscato, sorry for the misunderstanding. In let the test "PtCOLX2_FSE" run. Generally one obtains the resulting .sdf files in the Folder FSENUMBER...those are all fine. What I tried to do is to convert a .ser file in one of the sub-filders, e.g. "FSE-level_0" to a .sdf file.
As mentioned before, using the SerConverter to try this at the graph dg_10.ser. Therefor I added the following lines to the "input-parameters" file (which i copied to "PtCOLX2_FSE/FSE_run_13/FSE24022021030255/FSE-Level_0"):
#SERCONVERTER
SERCONV-WORKDIR=./
SERCONV-INPFILE=dg_10.ser
SERCONV-OUTFORMAT=SDF
SERCONV-OUTFILE=dg_10.sdf
I simple run the script via" java -jar SerConverter.jar input-parameters"
The resulting dg_10.sdf is somehow not reasonable. If I directly open the dg_10.ser file with the GUI, the structure shown there is reasonable. I hope you can reproduce this error, or maybe I am doing something wrong...pls let me know :)
from denoptim.
closed with https://github.com/denoptim-project/DENOPTIM/releases/tag/v2.2.4
from denoptim.
Thank you so much, this was exactly what I was looking for!
from denoptim.
Related Issues (20)
- Add option to not add dummy atoms un fragmentation
- Make unit test use its own folder not /tmp HOT 1
- upgrade github workflow for conda package
- Challenges with Nomenclature and Compatibility Matrix in Molecule Building Blocks HOT 6
- Problems when Reading in SDF Files with More than 99 Bonds
- version number is log
- MDLV3000Reader
- default values in GUI
- descriptors other than CDK's
- Finding fitness files whe run results are moved
- Load Library of Vertexes HOT 1
- Load Library of Vertexes HOT 1
- Load Library of Vertexes HOT 1
- Shortcuts
- GUI: file name in card name
- Add "Open graph" in vertex inspector
- GitHub workflow to public conda packages HOT 1
- Running tests on W10 HOT 2
- Errors in code snippets and variable names HOT 1
- Add button to save cutting rules
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from denoptim.