ensembl.vep.config.sections.corpus package#

Synthetic corpus commands, one section per verb.

The corpus options themselves are read by other groups too, so they live in sections.common.corpus.

Submodules#

ensembl.vep.config.sections.corpus.describe module#

Options for describing a registered corpus.

class ensembl.vep.config.sections.corpus.describe.CorpusDescribeConfig(*, select=None, output_format=None, output_file=None, annotate=False)[source]#

Bases: ConfigSection

What to show about a corpus, and how.

Variables:
  • select (str | None) – List only the overlaps of the variant with this name, or None for every overlap.

  • output_format (str | None) – Table format.

  • output_file (Path | None) – Where to write, or None for stdout.

  • annotate (bool) – Also run the configured annotator over the corpus and count its consequence terms. Off by default, because it turns a listing into an annotation run.

annotate: bool#
output_file: Path | None#
output_format: str | None#
section_name: ClassVar[str] = 'corpus_describe'#
select: str | None#

ensembl.vep.config.sections.corpus.golden module#

Options for recording or checking golden terms.

class ensembl.vep.config.sections.corpus.golden.CorpusGoldenConfig(*, golden_file=None, update_golden=False)[source]#

Bases: ConfigSection

Where golden terms live, and whether to record them or check against them.

Variables:
  • golden_file (Path | None) – The golden terms file.

  • update_golden (bool) – Record the terms and overwrite the file, instead of checking.

golden_file: Path | None#
section_name: ClassVar[str] = 'corpus_golden'#
update_golden: bool#

ensembl.vep.config.sections.corpus.save module#

Options for exporting a registered corpus to disk.

class ensembl.vep.config.sections.corpus.save.CorpusSaveConfig(*, exporter='file', force=False)[source]#

Bases: ConfigSection

How to export a corpus. The destination is corpus.corpus_dir.

Variables:
  • exporter (str) – Registered corpus exporter to use.

  • force (bool) – Overwrite the corpus files if the directory already holds them.

exporter: str#
force: bool#
section_name: ClassVar[str] = 'corpus_save'#