Class HpoPhenotypeValidators.Primary
java.lang.Object
org.phenopackets.phenopackettools.validator.core.phenotype.HpoPhenotypeValidators.Primary
- Enclosing class:
- HpoPhenotypeValidators
A static factory class for providing
PhenopacketValidator
s
that check if HPO terms of the Phenopacket schema elements are present in
a given Ontology
and if the terms are non-obsolete.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PhenopacketValidator<org.phenopackets.schema.v2.CohortOrBuilder>
cohortHpoPhenotypeValidator
(org.monarchinitiative.phenol.ontology.data.Ontology hpo) GetPhenopacketValidator
for performing primary validationCohort
using providedOntology
, as described inAbstractHpoPhenotypeValidator
.static PhenopacketValidator<org.phenopackets.schema.v2.FamilyOrBuilder>
familyHpoPhenotypeValidator
(org.monarchinitiative.phenol.ontology.data.Ontology hpo) static PhenopacketValidator<org.phenopackets.schema.v2.PhenopacketOrBuilder>
phenopacketHpoPhenotypeValidator
(org.monarchinitiative.phenol.ontology.data.Ontology hpo)
-
Constructor Details
-
Primary
public Primary()
-
-
Method Details
-
phenopacketHpoPhenotypeValidator
public static PhenopacketValidator<org.phenopackets.schema.v2.PhenopacketOrBuilder> phenopacketHpoPhenotypeValidator(org.monarchinitiative.phenol.ontology.data.Ontology hpo) - Parameters:
hpo
- HPO ontology
-
familyHpoPhenotypeValidator
public static PhenopacketValidator<org.phenopackets.schema.v2.FamilyOrBuilder> familyHpoPhenotypeValidator(org.monarchinitiative.phenol.ontology.data.Ontology hpo) - Parameters:
hpo
- HPO ontology
-
cohortHpoPhenotypeValidator
public static PhenopacketValidator<org.phenopackets.schema.v2.CohortOrBuilder> cohortHpoPhenotypeValidator(org.monarchinitiative.phenol.ontology.data.Ontology hpo) GetPhenopacketValidator
for performing primary validationCohort
using providedOntology
, as described inAbstractHpoPhenotypeValidator
.- Parameters:
hpo
- HPO ontology
-