Converting mol files to SMILES

User 5efe442094

23-07-2004 15:48:03

I have tried converting a SMILES to a molfile, which is why I thought it would be useful to be able to convert a molfile to SMILES.





If the mol file is inserted into a table and then specified as the query parameter of the jc_molconvert function, would the result be a SMILES. I have tried this with JChem version 23pre1, I ran the query:





select id, molfile-column, jc_molconvert(molfile-column, 'smiles') from test_molfile_table





I did not get any errors, but there were no results returned for the conversion, i.e:





id molfile-column jc_molconvert(molfile-column, 'smiles')


1 (LONG)








Is this currently possible? Does the molfile-column need to be a different data type?





Many Thanks,


Gemma

ChemAxon aa7c50abf8

23-07-2004 17:33:03

A simple example with a LONG column as 'molfile_column' worked for me. See the log of the sqlplus session in the attachment.





Peter

User 5efe442094

26-07-2004 09:14:33

If I follow your example I get the same result, but this is not what I was asking about.





In your example you insert a SMILES into the LONG column (molfile_column), I was suggesting that this column contains an actual mol file and that the jc_molconvert would convert the mol file into a SMILES.





Is this possible?





Thanks,


Gemma

ChemAxon aa7c50abf8

27-07-2004 10:19:24

The column containing the MOL files should be of type VARCHAR2.





Peter

User 5efe442094

27-07-2004 16:11:24

The conversion of molfile to SMILES works using a varchar2 column containing the molfile.





Thanks for your help Peter.

User 0a1d360021

05-02-2005 05:59:01

pkovacs wrote:
A simple example with a LONG column as 'molfile_column' worked for me. See the log of the sqlplus session in the attachment.





Peter