refactoring of GeneProfileComparator