User e779d19ce5
26-07-2012 16:06:45
HItDisplayTool seems to ignore the ALIGNMENT_OFF option when using the SIMILARITY search option. It always aligns to the query molecule. Is there any way to force similarity to not align the result molecule?
Molecule molecule = null;
String alignTo = "CN1C2=C(N=CN2)C(=O)N(C)C1=O";
HitColoringAndAlignmentOptions hco = new HitColoringAndAlignmentOptions();
hco.setAlignmentMode(HitColoringAndAlignmentOptions.ALIGNMENT_OFF);
MolHandler mh = new MolHandler(alignTo.getBytes());
Molecule query = mh.getMolecule();
MolHandler mh2 = new MolHandler(input); // input is the target Molecule object
Molecule target = mh2.getMolecule();
MolSearchOptions mso = new MolSearchOptions(SearchConstants.SIMILARITY);
HitDisplayTool hdt = new HitDisplayTool(hco, mso, null, query);
molecule = hdt.getHit(target);
ChemAxon 712bc8fcf4
27-07-2012 07:42:15
Hi John!
I have moved your issue to the JChem forum, because the HitdisplayTool belongs to the JChem.
My colleagues will answer for you soon.
Regards,
Mate
ChemAxon a3d59b832c
30-07-2012 11:22:54
Hi John,
We could reproduce this issue. It seems to be a bug, the alignment parameter is indeed ignored.
We will fix it in an upcoming release.
Best regards,
Szabolcs
ChemAxon 1b9e90b2e7
24-08-2012 14:36:22
Hi John,
thank you for reporting this issue. The fix will be delivered in version 5.11 expected to be released around 7th September 2012.
Kind regards,
Adrian
ChemAxon 60613ab728
24-08-2012 15:45:37
Hi John,
I am wondering, if there is any specific reason not to align the result molecules? Do you have any suggestions that would be favorable to similarity functionalities?
Thank you,
Miklos