Strip salts

A program that removes all but the largest molecule from molecules that contain more than one part. If the molecule contains two or more parts that are equal in size it keeps the larger.

Example

prompt> StripSalts dbase.oeb.gz output.oeb.gz

Code

Download code

StripSalts.java