Clean 2D

User 9852713200

25-06-2008 15:15:04

Hi,





When I paste in O=C(NC1=CC=CC=C1N1CCNCC1)NC1=CC=CC=C1C1=CC=CC=C1 smiles into MarvinSketch 5.0.3, it looks ugly.





Can this be cleaned?





thanks,

ChemAxon 25dcd765a3

26-06-2008 07:12:14

Thanks for the report.


I agree that it is ugly, but I'll fix it ASAP.


Marvin 5.1 is in testing phase so the fix will appear in 5.1.1.





Andras

User 9852713200

26-06-2008 14:34:12

Thanks! Do you have an estimate release date for 5.1.1?

ChemAxon 7c2d26e5cf

27-06-2008 11:16:24

One month later than 5.1.

User 9852713200

20-08-2008 14:50:14

Hi,





Is this still on track?





Also, when I pasted CCCN1CCC2=C(C1)SC(NC(=O)CCS(=O)(=O)C1=CC=C(C)C=C1)=C2C(N)=O into MarvinSketch 5.1.0, the two carbonyls are most touching. Can this be cleaned?





thanks,

ChemAxon 990acf0dec

21-08-2008 09:40:57

Hi,





The original molecule is cleaned properly in 5.1.1, which is going to be released these days. On the other hand, in your last example the two carbonyls are still very closed to each other; Andras is on holiday now, but he will investigate this problem as soon as he is back.





Best regards,





Akos

User 9852713200

21-08-2008 14:05:49

Thanks!





One thing I want to mention is that sometimes when you tried to improve "clean 2D" algorithm, the "old clean" molecules looked ugly when new algorithm is applied. So I think regression testing is very important.

ChemAxon 25dcd765a3

25-08-2008 12:18:55

Hi,





It was just a luck that some modification in the clean 2D algorithm is solved one problematic molecule you have mentioned. Actually the fix is due in Marvin 5.1.1.


Thank you for calling our attention to regression tests. Actually we are continuously collecting molecules from the forum to the test set, which is checked before each release.





Andras

User 9852713200

03-09-2008 18:06:12

Hi,





I just tried Marvin 5.1.1. It cleaned the original molecule/smiles very well (Thanks!), but for CCCN1CCC2=C(C1)SC(NC(=O)CCS(=O)(=O)C1=CC=C(C)C=C1)=C2C(N)=O, the two carbonyls are still very close...





Will the fix be included in version 5.1.2?





Thanks,

ChemAxon 25dcd765a3

04-09-2008 08:49:54

Hi,





The problem is the selection of the allowed minimum distance between two atoms (collision_distance). Actually, if the distance is smaller than this given value, then the algorithm tries to find an other solution by rearranging bonds.


In case of this molecule it is obvious that there exists a better solution (even if this collision_distance is larger). But this is not always the case. So I think the solution would be to allow the user to set this collision_distance by giving it as parameter for the algorithm.





What do you think?





Andras

User 9852713200

04-09-2008 14:51:23

I think it should be adjusted by the clean algorithm automatically. If the user sets collision_distance, it might break other molecule's display.





Attached is the comparison result between Marvin 5.1.1 and Chemdraw.





Thanks!

ChemAxon 25dcd765a3

05-09-2008 10:35:14

Thank you for the attachment.


We will improve it by 5.1.2.


Andras

User 9852713200

05-09-2008 14:18:33

Great! Thanks!

ChemAxon 25dcd765a3

06-10-2008 20:38:53

Marvin 5.1.2 is out.


I hope the result as you needed.

User 9852713200

10-10-2008 18:21:19

It looks great!





Many thanks!