User 5a88369158
10-03-2010 15:10:29
I am trying to calculate the lowest energy conformation for a series of compounds and i am using the command line to do this.
I have a text file with compound name followed by the smiles string (attached).
I can calculate the lowest energy conformation for just one compound and the result is shown in the command line but I cannot output this information to an output file and I cannot calculate ithe lowest energy conformation for a series of compounds.
I am using the following command
cxcalc test.txt lowestenergyconformer -f outputtest.sdf
When I try to input a text file with multiple compounds, i get an error saying
C:\Program Files\ChemAxon\JChem\bin>cxcalc conformers.txt lowestenergyconformer
Exception in thread "main" chemaxon.formats.MolFormatException: conformers.txt:
Cannot recognize format (?)
at chemaxon.formats.recognizer.RecognitionSubsystem.getFormat(Recognitio
nSubsystem.java:185)
at chemaxon.formats.MolInputStream.initTextFormat(MolInputStream.java:23
4)
at chemaxon.formats.MolInputStream.init(MolInputStream.java:134)
at chemaxon.formats.MolInputStream.<init>(MolInputStream.java:116)
at chemaxon.formats.MolImporter.init(MolImporter.java:469)
at chemaxon.formats.MolImporter.init(MolImporter.java:425)
at chemaxon.formats.MolImporter.<init>(MolImporter.java:258)
at chemaxon.formats.MolImporter.<init>(MolImporter.java:227)
at chemaxon.marvin.Calculator.run(Calculator.java:1026)
at chemaxon.marvin.Calculator.main(Calculator.java:1506)
C:\Program Files\ChemAxon\JChem\bin>
When I try a single compound, I get an output in the command line but I want to save the energy result to an output file, i get an error.