Class HpoTermSanitizer

java.lang.Object
org.monarchinitiative.lirical.core.service.HpoTermSanitizer

public class HpoTermSanitizer extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    HpoTermSanitizer(org.monarchinitiative.phenol.ontology.data.MinimalOntology hpo)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<org.monarchinitiative.phenol.ontology.data.TermId>
    replaceIfObsolete(org.monarchinitiative.phenol.ontology.data.TermId termId)
    The method performs 2 things: drops termId if it's absent from current HPO, and replaces the termId with current term if termId is obsolete.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HpoTermSanitizer

      public HpoTermSanitizer(org.monarchinitiative.phenol.ontology.data.MinimalOntology hpo)
  • Method Details

    • replaceIfObsolete

      public Optional<org.monarchinitiative.phenol.ontology.data.TermId> replaceIfObsolete(org.monarchinitiative.phenol.ontology.data.TermId termId)
      The method performs 2 things:
      • drops termId if it's absent from current HPO, and
      • replaces the termId with current term if termId is obsolete.