Class DefaultExactNucleicAcidComparator


  • public class DefaultExactNucleicAcidComparator
    extends Object
    Default exact nucleic acids comparator. It will first use DefaultExactInteractorBaseComparator to compare the basic interactor properties. If the basic interactor properties are the same, It will look for DDBJ/EMBL/Genbank identifier if both are set. If the DDBJ/EMBL/Genbank identifiers are not both set, it will look at the Refseq identifiers. If at least one Refseq identifiers is not set, it will look at the sequence/organism.
    Since:
    17/01/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultExactNucleicAcidComparator

        public DefaultExactNucleicAcidComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(NucleicAcid nucleicAcid1,
                                        NucleicAcid nucleicAcid2)
        Use DefaultNucleicAcidComparator to know if two nucleic acids are equals.
        Parameters:
        nucleicAcid1 - a NucleicAcid object.
        nucleicAcid2 - a NucleicAcid object.
        Returns:
        true if the two nucleic acids are equal