Skip to content

Benchmark --mode fast (and sensitive) against a truth set, not against each other #23

Description

@wdecoster

--mode fast (#PR/branch perf/cigar-fast-genotyping) has so far only been compared against the sensitive alignment path on one 30x ONT sample. That measures agreement, not accuracy: it silently assumes the alignment path is right.

Numbers as they stand, 2000 catalog loci on chr1:20-21.4 Mb, single thread:

sensitive fast
CPU 1016 s 13 s
peak RSS 643 MB 289 MB

Per-haplotype median read length (MRL) agrees within 2 bp at 95.7% of alleles (median difference 1 bp); 14 of 1760 loci differ by more than 10 bp, nearly all in one region where a ~900 bp insertion sits between four overlapping catalog entries and the two modes attribute it to different ones.

What is needed:

  • a truth set — GIAB (HG002) with the tandem repeat benchmark / TR truth VCF, or assembly-derived allele lengths from the HG002 trio assemblies
  • run both modes and report per-locus allele-length concordance against truth, stratified by allele length, motif size and locus complexity
  • specifically check the case fast is expected to lose on: expansions long enough that reads clip rather than span, where fast drops the read and falls back to sensitive. On the sample tested so far the fallback never triggered, so it is untested against real data.

This also gives the first accuracy number for the sensitive path itself, which has never been benchmarked against a truth set either.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions