Class DefaultExactProteinComparator


  • public class DefaultExactProteinComparator
    extends Object
    Default exact proteins comparator. It will first use DefaultExactPolymerComparator to compare the basic interactor properties If the basic interactor properties are the same, It will look for uniprotkb identifier if both are set. If the uniprotkb identifiers are not both set or are identical, it will look at the Refseq identifiers. If at least one Refseq/uniprot identifiers is not set, it will look at the rogids. If at least one rogid is not set or both are identical, it will look at the gene names.
    Since:
    17/01/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultExactProteinComparator

        public DefaultExactProteinComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(Protein protein1,
                                        Protein protein2)
        Use DefaultExactProteinComparator to know if two proteins are equals.
        Parameters:
        protein1 - a Protein object.
        protein2 - a Protein object.
        Returns:
        true if the two proteins are equal