Hi Oscar,
> Usually, calculation softwares demand chemical structures be uploaded
> in individual files (one molecule per file). I´d like to know if
> OpenBabel can export this way from a file containing all structures.
If you type "babel -H" (help), you'll find this:
-m Produces multiple output files, to allow:
Splitting: e.g. babel infile.mol new.smi -m
puts each molecule into new1.smi new2.smi etc
Alternatively, if you are using SDF files, and you have access to Perl on a command line, I can send you a fairly simple Perl program that will split an SDF file into individual records. It has the advantage that it doesn't alter the SDF records at all.
Craig
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
OpenBabel-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss