Free · runs in your browser

hap.py

Compare a query VCF with a truth VCF and report recall, precision and F1 by variant type.

  • Free with a free account
  • Nothing to install
  • Your files stay on your device

Version: Solagene re-implementation of hap.py allele-level comparison · Licence: MIT

What you need

  • A truth VCF (for example a GIAB benchmark set) and your query VCF from the same reference build.
  • Optionally a BED file of confident regions to restrict the comparison.

Sign in with a free account, press Load example, then Run, to see a full result in seconds.

Allele-level comparison after normalisation. hap.py additionally matches complex variants by haplotype; numbers can differ for complex regions.

Checking your sign-in…

Learn hap.py and the full workflow around it in Clinical Genomics & Variant Interpretation, a Vedicgen course with a certificate · from ₹6,999 + GSTView course

Reading the result

  • Recall is the share of true variants you found. Precision is the share of your calls that are true. F1 combines the two.
  • SNP scores are usually higher than indel scores. Look at false negatives first if recall is low.

Next step

Download your result, then open it on one of these pages:

Limits

Two VCF files up to 200 MB each, with an optional confident BED region file.

For larger files or whole genomes, plan the run in Solagene AI: it can run the same tool on your own computer through the free Bridge, or on Solagene cloud with Pro.

Cite

Krusche P, et al. (2019). Best practices for benchmarking germline small-variant calls in human genomes. Nature Biotechnology 37:555-560. doi:10.1038/s41587-019-0054-x

Cite, link or share this tool

Cite this tool

Solagene. hap.py on Solagene [online tool]. Nayancode, Solagene; 2026. Available at: https://solagene.com/run/hap-py/ (accessed 2026-11-23).

Add it to your lab or course page

<a href="https://solagene.com/run/hap-py/" title="Free hap.py on Solagene by Solagene">hap.py on Solagene</a> (free, runs in your browser) by <a href="https://solagene.com/">Solagene</a>

FAQ

Frequently asked questions

Not answered here? Send us your question and we will reply by e-mail.

Open this page, sign in with a free Solagene account, choose your files and press Run. hap.py runs inside your browser tab, so there is nothing to install. Sign in with a free Solagene account, then press Load example to try it with a small dataset first.

A truth VCF (for example a GIAB benchmark set) and your query VCF from the same reference build. Optionally a BED file of confident regions to restrict the comparison.

Recall is the share of true variants you found. Precision is the share of your calls that are true. F1 combines the two. SNP scores are usually higher than indel scores. Look at false negatives first if recall is low.

Yes. hap.py runs in your browser on your own computer, so there is no cost. You sign in with a free Solagene account to use it.

No. Files are read by your browser and processed on your device. Nothing is sent to Solagene.

Allele-level comparison after normalisation. hap.py additionally matches complex variants by haplotype; numbers can differ for complex regions.

Two VCF files up to 200 MB each, with an optional confident BED region file. For larger jobs, Solagene AI can plan the same run on your own computer or on Solagene cloud.

Common next steps are bcftools, SnpSift. Each one also runs free in your browser on Solagene.