Skip to content

v0.6.0: whole genomes

Choose a tag to compare

@halfaipg halfaipg released this 25 Nov 02:27
· 3 commits to main since this release

Whole genomes

gnomancer now reads a sequencing VCF or gVCF natively, on its own build, and can use the vendor's structural-variant files and the BAM or CRAM alongside it.

gnomancer genome.vcf.gz
gnomancer genome.vcf.gz --sv sv.vcf.gz --cnv cnv.vcf.gz --bam genome.bam   # after `gnomancer setup --wgs`

From the VCF

  • Every variant, insertions and deletions included. Each call is gated on the caller's filter, read depth, genotype quality and allele balance.
  • ClinVar scan by exact position and alleles, grouped by meaning, with the 84 ACMG SF v3.3 actionable genes set apart.
  • PharmCAT on every defining position, with phase kept.
  • mtDNA haplogroup from the full mitochondrial sequence, Y haplogroup, population estimate.
  • Six small published polygenic scores placed against the 1000 Genomes populations, with no reference download.
  • A position with no variant is taken as reference only for a whole genome; a gVCF or the reads replace that inference with an observation.

From --sv / --cnv

  • Deletions and duplications checked against ClinGen's dosage-sensitive genes and recurrent regions.

From --bam (BAM or CRAM)

  • Coverage, sex from depth, and a check in the reads of every named position the VCF is silent about.
  • Y haplogroup read marker by marker, and low-level mitochondrial heteroplasmy.
  • Repeat expansions (ExpansionHunter + stranger), CYP2D6 from read depth (PyPGx, passed to PharmCAT), HLA types (T1K), SMN1/SMN2 copy number.

gnomancer setup --wgs installs the tools into isolated conda environments under ~/.gnomancer and fetches the GRCh38 reference (about 2.5 GB to download).

Checked on Genome in a Bottle HG003 (35x): the VCF alone takes about 40 seconds, and the VCF with a 46 GB BAM and all callers about four and a half minutes. Details and limits: docs/whole-genome.md.

Also

  • Loading an array file no longer fails when the chip-identification file cannot be downloaded.
  • PharmCAT results for allele-only genes (VKORC1, CYP4F2, IFNL3) now read as results when the variant allele is present.

Not yet tested on each vendor's own VCF layout; reports of files that do not load are welcome.