script to calculate best assembly from a list of contig/scaffold files

In sandbox/ only.  Review of basic logic would be welcome :)