Annotator API
Core Annotator
Core Variant Annotator - Functional annotation engine
- class varannote.core.annotator.VariantAnnotator(genome='hg38')[source]
Bases:
objectCore variant annotation engine
Provides functional annotations for genomic variants including gene symbols, consequences, and pathogenicity scores.
- __init__(genome='hg38')[source]
Initialize variant annotator
- Parameters:
genome (
str) – Reference genome version
Tools Annotator
Variant Annotator Tool - Main annotation interface
- class varannote.tools.annotator.VariantAnnotatorTool(genome='hg38', databases=None, verbose=False, use_real_db=False, cache_dir=None, use_parallel=False, max_workers=4)[source]
Bases:
objectEnhanced variant annotation tool
Provides comprehensive variant annotation using either mock or real databases with advanced features like parallel processing and confidence scoring.
- __init__(genome='hg38', databases=None, verbose=False, use_real_db=False, cache_dir=None, use_parallel=False, max_workers=4)[source]
Initialize enhanced variant annotator tool
- Parameters:
genome (
str) – Reference genome versionverbose (
bool) – Enable verbose outputuse_real_db (
bool) – Use real databases instead of mock datacache_dir (
Optional[str]) – Cache directory for real database resultsuse_parallel (
bool) – Enable parallel processingmax_workers (
int) – Maximum number of parallel workers