Uses of Interface
org.phenopackets.phenopackettools.validator.core.PhenopacketValidator
Package
Description
The package provides APIs and default implementations of phenopacket validation.
The package provides
PhenopacketValidator
s
for metadata validation - checking that MetaData
of
the top-level elements of the Phenopacket schema contains a Resource
for all OntologyClass
es of the element.Package with off-the-shelf validators that work with Human Phenotype Ontology (HPO).
-
Uses of PhenopacketValidator in org.phenopackets.phenopackettools.validator.core
Modifier and TypeFieldDescriptionprotected final List<PhenopacketValidator<T>>
ValidationWorkflowRunnerBuilder.semanticValidators
Deprecated, for removal: This API element is subject to removal in a future version.protected final List<PhenopacketValidator<T>>
ValidationWorkflowRunnerBuilder.syntaxValidators
Deprecated, for removal: This API element is subject to removal in a future version.useValidationWorkflowRunnerBuilder.validators
insteadprotected final List<PhenopacketValidator<T>>
ValidationWorkflowRunnerBuilder.validators
Modifier and TypeMethodDescriptionValidationWorkflowRunnerBuilder.addSemanticValidator
(PhenopacketValidator<T> semanticValidator) Deprecated, for removal: This API element is subject to removal in a future version.ValidationWorkflowRunnerBuilder.addSyntaxValidator
(PhenopacketValidator<T> syntaxValidator) Deprecated, for removal: This API element is subject to removal in a future version.ValidationWorkflowRunnerBuilder.addValidator
(PhenopacketValidator<T> validator) Add a validator to the end of the workflow.Modifier and TypeMethodDescriptionValidationWorkflowRunnerBuilder.addAllSemanticValidators
(List<PhenopacketValidator<T>> validators) Deprecated, for removal: This API element is subject to removal in a future version.ValidationWorkflowRunnerBuilder.addAllSyntaxValidators
(List<PhenopacketValidator<T>> validators) Deprecated, for removal: This API element is subject to removal in a future version.ValidationWorkflowRunnerBuilder.addValidators
(Collection<? extends PhenopacketValidator<T>> validators) Add validators to the end of the workflow. -
Uses of PhenopacketValidator in org.phenopackets.phenopackettools.validator.core.metadata
Modifier and TypeMethodDescriptionstatic PhenopacketValidator<org.phenopackets.schema.v2.CohortOrBuilder>
MetaDataValidators.cohortValidator()
GetPhenopacketValidator
for checking thatMetaData
ofCohortOrBuilder
containsResource
s for prefixes of allOntologyClass
present in givenCohortOrBuilder
.static PhenopacketValidator<org.phenopackets.schema.v2.FamilyOrBuilder>
MetaDataValidators.familyValidator()
GetPhenopacketValidator
for checking thatMetaData
ofFamilyOrBuilder
containsResource
s for prefixes of allOntologyClass
present in givenFamilyOrBuilder
.static PhenopacketValidator<org.phenopackets.schema.v2.PhenopacketOrBuilder>
MetaDataValidators.phenopacketValidator()
GetPhenopacketValidator
for checking thatMetaData
ofPhenopacketOrBuilder
containsResource
s for prefixes of allOntologyClass
present in givenPhenopacketOrBuilder
. -
Uses of PhenopacketValidator in org.phenopackets.phenopackettools.validator.core.phenotype
Modifier and TypeMethodDescriptionstatic PhenopacketValidator<org.phenopackets.schema.v2.CohortOrBuilder>
HpoPhenotypeValidators.Ancestry.cohortHpoAncestryValidator
(org.monarchinitiative.phenol.ontology.data.Ontology hpo) static PhenopacketValidator<org.phenopackets.schema.v2.CohortOrBuilder>
HpoPhenotypeValidators.OrganSystem.cohortHpoOrganSystemValidator
(org.monarchinitiative.phenol.ontology.data.Ontology hpo, Collection<org.monarchinitiative.phenol.ontology.data.TermId> organSystemTermIds) GetPhenopacketValidator
to validate annotation of organ systems in aCohort
using providedOntology
and a collection of organ systemTermId
s.static PhenopacketValidator<org.phenopackets.schema.v2.CohortOrBuilder>
HpoPhenotypeValidators.cohortHpoPhenotypeValidator
(org.monarchinitiative.phenol.ontology.data.Ontology hpo) Deprecated, for removal: This API element is subject to removal in a future version.static PhenopacketValidator<org.phenopackets.schema.v2.CohortOrBuilder>
HpoPhenotypeValidators.Primary.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>
HpoPhenotypeValidators.Ancestry.familyHpoAncestryValidator
(org.monarchinitiative.phenol.ontology.data.Ontology hpo) static PhenopacketValidator<org.phenopackets.schema.v2.FamilyOrBuilder>
HpoPhenotypeValidators.OrganSystem.familyHpoOrganSystemValidator
(org.monarchinitiative.phenol.ontology.data.Ontology hpo, Collection<org.monarchinitiative.phenol.ontology.data.TermId> organSystemTermIds) GetPhenopacketValidator
to validate annotation of organ systems in aFamily
using providedOntology
and a collection of organ systemTermId
s.static PhenopacketValidator<org.phenopackets.schema.v2.FamilyOrBuilder>
HpoPhenotypeValidators.familyHpoPhenotypeValidator
(org.monarchinitiative.phenol.ontology.data.Ontology hpo) Deprecated, for removal: This API element is subject to removal in a future version.static PhenopacketValidator<org.phenopackets.schema.v2.FamilyOrBuilder>
HpoPhenotypeValidators.Primary.familyHpoPhenotypeValidator
(org.monarchinitiative.phenol.ontology.data.Ontology hpo) static PhenopacketValidator<org.phenopackets.schema.v2.PhenopacketOrBuilder>
HpoPhenotypeValidators.Ancestry.phenopacketHpoAncestryValidator
(org.monarchinitiative.phenol.ontology.data.Ontology hpo) static PhenopacketValidator<org.phenopackets.schema.v2.PhenopacketOrBuilder>
HpoPhenotypeValidators.OrganSystem.phenopacketHpoOrganSystemValidator
(org.monarchinitiative.phenol.ontology.data.Ontology hpo, Collection<org.monarchinitiative.phenol.ontology.data.TermId> organSystemTermIds) GetPhenopacketValidator
to validate annotation of organ systems in aPhenopacket
using providedOntology
and a collection of organ systemTermId
s.static PhenopacketValidator<org.phenopackets.schema.v2.PhenopacketOrBuilder>
HpoPhenotypeValidators.phenopacketHpoPhenotypeValidator
(org.monarchinitiative.phenol.ontology.data.Ontology hpo) Deprecated, for removal: This API element is subject to removal in a future version.static PhenopacketValidator<org.phenopackets.schema.v2.PhenopacketOrBuilder>
HpoPhenotypeValidators.Primary.phenopacketHpoPhenotypeValidator
(org.monarchinitiative.phenol.ontology.data.Ontology hpo)
ValidationWorkflowRunnerBuilder.validators
instead