Wrapper tool for automated clustering procedure.