Splitting multicomponent molecules

A program that splits multicomponent molecules into their constituent parts. The program will output the molecules to stdout as SMILES if no output file is set. The program will print the number of input and output molecules to stderr.

Example

prompt> Parts2Mols -i file1.oeb.gz file2.oeb.gz -o output.oeb.gz

Code

Download code

Parts2Mols.java