molconvert -I

User bf27213fcf

16-02-2010 23:08:43

Hello,


When I try to give a molconvert command like: molconvert -I 1-100 -o file.sdf library.sdf


I get an error Unknow option -I.  Am I using this worng?  I found the option on the MolConvert web page: http://www.chemaxon.com/marvin/help/applications/molconvert.html


Thanks,


Ben

ChemAxon fb166edcbd

17-02-2010 13:22:47

You did not specify the output format ("sdf" after molconvert).
This should work:


molconvert sdf -I 1-100 -o file.sdf library.sdf

However, it is suspicious that if I omit the "sdf" then I get a different error message:


Cannot export in "file.sdf" format.


So if you still get the "Unknown option" error message then you may be using Marvin 5.2.x (instead of Marvin 5.3) which does not contain this option.