cdk / nodes4knime Goto Github PK
View Code? Open in Web Editor NEWKNIMES nodes using the CDK 1.5 library.
KNIMES nodes using the CDK 1.5 library.
The plugin specifies the max version is 4.0 and needs to be changed to 5.0.
I can submit a pull request for this if you'd like?
Reported on https://forum.knime.com/t/substructure-node-cannot-deal-with-explicit-hydrogens/45155:
I would like to use your substructure search node.
Unfortunately it cannot deal with explicit hydrogens. But that is really crucial to my search, as I need to limit in which direction my molecule is “growing”.
here examples for query and molecule:
[H]OC(=O)c1ccccc1
O=C(O)c1c(cccc1)C(=O)C
is this a bug or a missing feature? :slight_smile:
@sithmein, can you have a look at this too?
Checks needed:
CdkTestConnectivity test workflow appears to be failing
Node 'SDF Reader 0:3' has unexpected warning message: Cannot access 'knime://knime.workflow/../CdkTestData/Connectivity.sdf%20': /var/lib/jenkins/jobs/org.openscience.cdk.knime.update-3.6/workspace/tmp/knime_temp/KNIME Testflow63081/Testflows/3.6/CDK/CdkTestConnectivity/../CdkTestData/Connectivity.sdf (No such file or directory)
Having issues loading the SDF from the relative directory.
junit.framework.AssertionFailedError: Node 'Table Difference Checker 0:41' is not executed. Error message is: Execute failed: Wrong value in row 'Row0' and column 'Molecule': expected '[Na+]', got '[C@H]1(C(N2[C@@]1(SC([C@@H]2C([O-])=O)(C)C)[H])=O)NC(=O)[C@@H](c3ccc(cc3)O)N.[Na+]' in line 1 (using checker 'Strings')
at org.knime.testing.core.ng.WorkflowExecuteTest.checkExecutionStatus(WorkflowExecuteTest.java:218)
at org.knime.testing.core.ng.WorkflowExecuteTest.run(WorkflowExecuteTest.java:170)
at org.knime.testing.core.ng.WorkflowTestSuite.run(WorkflowTestSuite.java:238)
at org.knime.testing.core.ng.WorkflowTestSuite.runTest(WorkflowTestSuite.java:305)
at org.knime.testing.core.ng.TestflowRunnerApplication.runAllTests(TestflowRunnerApplication.java:254)
at org.knime.testing.core.ng.TestflowRunnerApplication.access$1(TestflowRunnerApplication.java:227)
at org.knime.testing.core.ng.TestflowRunnerApplication$1.call(TestflowRunnerApplication.java:172)
at org.knime.testing.core.ng.TestflowRunnerApplication$1.call(TestflowRunnerApplication.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
This turns out to be a bit harder than expected, as it simultaneously needs updating of JChemPaint and AMBIT ...
... including how to develop the plugins, but also where to find, download and run the test workflows.
Raising here for visibility.
KNIME community builds now have OWASP dependency checker run against them and fail on critical security issues.
Legacy CDK fails on:
The KNIME plugin has a bundled jar for CDK 1.5.13 so it's not possible to simply replace the libs provided.
For the reaction decoder tool integration I updated the dependencies (CDK 2.4 -> 2.7) and then had to update some of the CDK dependencies to work around security issues.
I'll try submit a fix for this, will need to make sure CDK 1.5 tests pass with updated JENA deps
CDK Substructure Search node: when a flow variable is used one cannot open the configuration dialogue again because of a null pointer exception (see attached KNIME workflow
CDK_Substructure_bug.knwf.zip
).
Hi,
I suppose the issue is with the URLs in the getMoleculeFromCAS(String cas) method in InsertTextPanel.java. As NCBI switched to HTTPS, this method now returns null
. I could get the method working with the following changes:
Edit 1:
String firstURL = "http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=pccompound&term=" + cas;
(change to https)
Edit 2:
Pattern pattern = Pattern.compile("http://pubchem.ncbi.nlm.nih.gov/summary/summary.cgi\\?cid=(\\d*)");
(change the regex string to https://pubchem.ncbi.nlm.nih.gov/compound/(\\d*)
)
Edit 3:
String secondURL = "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?tool=jcppubchem&db=pccompound&id=" + cid;
(change to https)
Edit 4:
pattern = Pattern.compile("<Item Name=\"CanonicalSmile\" Type=\"String\">([^\\s]*?)</Item>");
(change CanonicalSmile
to CanonicalSmiles
)
Is it possible to release a new version of jchempaint-hotfix-3.4.jar? I would like to use the sketcher panel in the development of a new KNIME node.
Thank you,
Vishal
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.