Coverage for src/python/ensembl/vep/explain/__init__.py: 100%
6 statements
« prev ^ index » next coverage.py v7.17.2, created at 2026-11-18 14:41 +0000
« prev ^ index » next coverage.py v7.17.2, created at 2026-11-18 14:41 +0000
1# See the NOTICE file distributed with this work for additional information
2# regarding copyright ownership.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14"""Overlap selection, annotation, comparison, and summaries for ``vep explain``.
16Separate from ``runner/explain.py``, which is only the subcommand: reading the options, choosing
17which rendering was asked for, and writing it out. Everything a second caller could want -- naming
18and finding the overlaps of a real input, annotating one with tracing on, diffing two derivations,
19summarising an overlap -- lives here.
21The package sits above ``trace``: a trace is recorded during annotation, and these modules read
22one afterwards.
23"""
25from __future__ import annotations
27from ensembl.vep.explain.annotate import annotate_with_trace
28from ensembl.vep.explain.compare import diff_terms, diff_traces
29from ensembl.vep.explain.selection import (
30 FeatureSelector,
31 NamedOverlap,
32 OverlapSelection,
33 VariantSelector,
34)
35from ensembl.vep.explain.summary import format_summary, summary_html, summary_rows
37__all__ = [
38 "FeatureSelector",
39 "NamedOverlap",
40 "OverlapSelection",
41 "VariantSelector",
42 "annotate_with_trace",
43 "diff_terms",
44 "diff_traces",
45 "format_summary",
46 "summary_html",
47 "summary_rows",
48]