ensembl.vep.runner.corpus package#
Corpus runners: describe, export, and check registered corpora.
Submodules#
ensembl.vep.runner.corpus.describe module#
Registered corpus descriptions.
- class ensembl.vep.runner.corpus.describe.Runner(config)[source]#
Bases:
objectRunner for describing a registered corpus.
With
--annotate, also run the configured annotator over the whole corpus and count the terms it emits – what the corpus exercises, not only what it contains.- Variables:
name (ClassVar[str]) – The registry name.
sections (ClassVar[tuple[str, ...]]) – The configuration sections read.
description (ClassVar[str]) – One-line description for the subcommand list.
- description: ClassVar[str] = 'describe a registered corpus and list its selectable overlaps'#
- name: ClassVar[str] = 'corpus.describe'#
- sections: ClassVar[tuple[str, ...]] = ('logging', 'corpus', 'annotation', 'corpus_describe')#
ensembl.vep.runner.corpus.golden module#
Golden corpus term generation and validation.
- class ensembl.vep.runner.corpus.golden.Runner(config)[source]#
Bases:
objectRunner for generating or validating golden corpus terms.
Checking reads the corpus spec from the golden file itself, so
--golden_filealone is a complete check. The annotator comes from the file too, unless--annotatoris given explicitly – checking another strategy against one annotator’s golden terms is a conformance check against a fixed expectation, which is the point.- Variables:
name (ClassVar[str]) – The registry name.
sections (ClassVar[tuple[str, ...]]) – The configuration sections read.
description (ClassVar[str]) – One-line description for the subcommand list.
- description: ClassVar[str] = 'record or check the terms an annotator emits for a corpus'#
- name: ClassVar[str] = 'corpus.golden'#
- sections: ClassVar[tuple[str, ...]] = ('logging', 'corpus', 'annotation', 'corpus_golden')#
ensembl.vep.runner.corpus.save module#
Registered corpus export.
- class ensembl.vep.runner.corpus.save.Runner(config)[source]#
Bases:
objectRunner for exporting a corpus as FASTA, GFF3 and VCF.
- Variables:
name (ClassVar[str]) – The registry name.
sections (ClassVar[tuple[str, ...]]) – The configuration sections read.
description (ClassVar[str]) – One-line description for the subcommand list.
- description: ClassVar[str] = 'write a registered corpus as FASTA, GFF3 and VCF'#
- name: ClassVar[str] = 'corpus.save'#
- sections: ClassVar[tuple[str, ...]] = ('logging', 'corpus', 'corpus_save')#