Class DefaultExactGeneComparator


  • public class DefaultExactGeneComparator
    extends Object
    Default exact gene comparator. It will first use DefaultExactInteractorBaseComparator to compare the basic interactor properties If the basic interactor properties are the same, It will look at ensembl identifier if both are set. If the ensembl identifiers are not both set or are identical, it will look at the ensemblGenome identifiers. If at least one ensemblGemome identifiers is not set or both are identical, it will look at the entrez/gene id. If at least one entrez/gene id is not set or both are identical, it will look at the refseq identifiers.
    Since:
    17/01/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultExactGeneComparator

        public DefaultExactGeneComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(Gene gene1,
                                        Gene gene2)
        Use DefaultGeneComparator to know if two genes are equals.
        Parameters:
        gene1 - a Gene object.
        gene2 - a Gene object.
        Returns:
        true if the two genes are equal