phenopacket_mapper.validate package

This module includes the validate for mapping data to phenopackets.

phenopacket_mapper.validate.validate(phenopackets: List[Phenopacket]) bool[source]

Validate phenopackets using phenopacket-tools.

Parameters:

phenopackets – List of phenopackets to validate

Returns:

True if the phenopackets are valid, False otherwise

phenopacket_mapper.validate.read_validate(path: Path) bool[source]

Read phenopackets from a file and validate them.

Parameters:

path – Path to the file containing phenopackets

Returns:

True if the phenopackets are valid, False otherwise

Submodules