Configuration Classes¶
vartriage.PipelineConfig
dataclass
¶
Top-level pipeline configuration aggregating all sub-configs.
Parameters¶
vcf_path : Path
Path to the input VCF file (.vcf or .vcf.gz).
output_path : Path
Path where the output report file will be written.
quality_filter : QualityFilterConfig
Quality filtering settings. Defaults to standard thresholds.
annotation : AnnotationConfig
Annotation engine settings including reference file paths.
prioritization : PrioritizationConfig
Prioritization engine settings for frequency filtering and scoring.
report : ReportConfig
Report generation format settings.
missing_data : MissingDataConfig
Missing data handling and warning threshold settings.
gene_filter : GeneFilterConfig | None
Gene list filtering settings. When None, gene filtering is disabled
and the annotated stream passes directly to prioritization.
Source code in vartriage/models/config.py
vartriage.QualityFilterConfig
dataclass
¶
Configuration for quality-based variant filtering.
Parameters¶
min_qual : float Minimum QUAL score threshold. Variants with a QUAL score below this value are excluded from downstream analysis. Must be in the range [0, 1_000_000]. Default is 20.0.
Raises¶
ValueError
If min_qual is outside the range [0, 1_000_000].
Source code in vartriage/models/config.py
vartriage.AnnotationConfig
dataclass
¶
Configuration for the annotation engine.
Parameters¶
gene_annotation_path : Path Path to a GTF/GFF gene annotation reference file used for functional consequence assignment via coordinate overlap. gnomad_path : Path Path to a local gnomAD reference file for population allele frequency lookups. clinvar_path : Optional[Path] Path to a ClinVar reference file for clinical significance lookups. When None, ClinVar annotation is skipped and variants receive a null clinical significance value. batch_size : int Number of variants processed per batch during vectorized annotation operations. Must be in the range [1_000, 100_000]. Default is 10_000.
Raises¶
ValueError
If batch_size is outside the range [1_000, 100_000].
Source code in vartriage/models/config.py
vartriage.PrioritizationConfig
dataclass
¶
Configuration for the prioritization engine.
Parameters¶
max_allele_frequency : float
.. deprecated:: 0.14.0
The prioritization engine no longer applies a frequency gate.
All variants now pass through to ACMG classification where BA1/BS1
benign evidence tags handle frequency-based filtering. This field
is retained for backward compatibility and will be removed in v1.0.0.
Maximum allele frequency threshold. Must be in the range [0.0, 1.0].
Default is 0.01.
cadd_scores_path : Optional[Path]
Path to a CADD Phred score reference file. When None, CADD scores are
not incorporated into composite ranking.
revel_scores_path : Optional[Path]
Path to a REVEL score reference file. When None, REVEL scores are not
incorporated into composite ranking.
spliceai_scores_path : Optional[Path]
Path to a SpliceAI score TSV reference file. When None, SpliceAI
scores are not incorporated into composite ranking. Mutually
exclusive with spliceai_db_path.
spliceai_db_path : Optional[Path]
Path to a SpliceAI SQLite database (OpenCRAVAT format). When set,
the pipeline queries precomputed delta scores directly from the
database. Mutually exclusive with spliceai_scores_path.
batch_size : int
Number of variants processed per batch during vectorized score
normalization. Must be in the range [1_000, 100_000]. Default is
10_000.
Raises¶
ValueError
If max_allele_frequency is outside the range [0.0, 1.0].
ValueError
If batch_size is outside the range [1_000, 100_000].
Source code in vartriage/models/config.py
vartriage.ReportConfig
dataclass
¶
Configuration for report generation.
Parameters¶
output_format : str
Desired output format for the final report. Accepts "json",
"csv", "pdf", "vcf", "clinical-pdf", "clinical-html", or
"clinical-docx". Default is "json".
Source code in vartriage/models/config.py
vartriage.MissingDataConfig
dataclass
¶
Configuration for missing data handling behavior.
Parameters¶
warning_threshold : int
Maximum number of MissingDataWarning events allowed before the
pipeline emits a summary warning. The summary includes the total count
of missing-data events and the reference sources that contributed.
Default is 1000.