Skip to content

mitoquest v1.12.3

Choose a tag to compare

@ShujiaHuang ShujiaHuang released this 21 Oct 02:18
· 3 commits to main since this release

mitoquest v1.12.3 — caller: add --output-ref-sites

Highlights

This patch release adds an opt-in switch, --output-ref-sites, to
mitoquest caller. By default nothing changes: the VCF contains variant sites
only, exactly as in v1.12.2. When the switch is given, the sites that
mitoquest judges to be REF-only (non-variant) are also written out.

What a REF-only record looks like

Field Value
ALT .
QUAL .
FILTER REF_ONLY
INFO PT=Ref; VAF_MEAN and VAF_MEAN_HET are .
FORMAT / samples the usual per-sample fields (GT 0, DP, AD, AF, ...)

Because FILTER is REF_ONLY for these records and . for variant records,
they are easy to select or drop with bcftools:

bcftools view -f REF_ONLY out.vcf.gz   # REF-only sites
bcftools view -f .        out.vcf.gz   # variant sites only

Important: coverage scope

Only sites covered by at least one read (passing -Q / -q) in at least one
sample
are written. The output is not a record for every position of the
mtDNA. A position that is absent from the VCF is uncovered; it does not
mean the position is REF.