plinder.core.utils.schemas#

plinder.core.utils.schemas.mapped_alignment_schema(*, alignment_type: str) → Schema[source]#

Return the per-query mapped-alignment schema.

plinder.core.utils.schemas.mapped_alignment_schema_is_current(columns: set[str], *, alignment_type: str) → bool[source]#

Return whether a mapped alignment has the current compact schema.

plinder.core.utils.schemas.release_alignment_mapping_schema(*, alignment_type: str, include_scores: bool = True) → Schema[source]#

Return the CIGAR-based release alignment schema.

plinder.core.utils.schemas.release_alignment_mapping_schema_is_current(columns: set[str], *, alignment_type: str, include_scores: bool = True) → bool[source]#

Check residue-mapping columns and, when requested, chain scores.