Consolidated similarity with and without homology