ensembl.vep.config.sections.explain package#
Derivation-explaining options.
Submodules#
ensembl.vep.config.sections.explain.explain module#
Options for explaining a single overlap’s derivation.
- class ensembl.vep.config.sections.explain.explain.ExplainConfig(*, name=None, index=None, variant=None, allele_num=None, transcript=None, compare=(), list_overlaps=False, graph=False, output_format=None, output_file=None)[source]#
Bases:
ConfigSectionWhich overlap to explain, and how to render the derivation.
- Variables:
name (str | None) – Named overlap to select, for a synthetic corpus.
index (int | None) – Overlap position in the corpus, as an alternative to
name.variant (str | None) – Variant to select from a real input, as
CHR:POS:REF>ALTorCHR:POS:ID.allele_num (int | None) – Alternate allele a
CHR:POS:IDvariant selects, from 1; None for the first.transcript (str | None) – Transcript stable id, to disambiguate when several overlap.
compare (tuple[str, ...]) – Two annotator names to diff against each other.
list_overlaps (bool) – List the selectable overlaps and exit.
graph (bool) – Draw the derivation as a diagram rather than printing it.
output_format (str | None) – The format to render in, or None for the default of the kind asked for. Spelled
--output_formatbecause--formatis the input format.output_file (Path | None) – Write the explanation here instead of to stdout.
- allele_num: int | None#
- compare: tuple[str, ...]#
- graph: bool#
- index: int | None#
- list_overlaps: bool#
- name: str | None#
- output_file: Path | None#
- output_format: str | None#
- section_name: ClassVar[str] = 'explain'#
- transcript: str | None#
- variant: str | None#