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.
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.
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
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.
Related tools
- bcftoolsVCF statistics, filtering by expression, normalisation and variant calling from a BAM.
- SnpSiftFilter a VCF with SnpSift expressions, or extract fields to a TSV table.
- FastQCTen FastQC modules on a FASTQ file, with charts, pass, warn and fail badges, and a FastQC data file.
- PicardInsert-size and alignment summary metrics with Picard's definitions, plus mark duplicates.
- mosdepthPer-contig coverage summary, region means, threshold percentages and a cumulative coverage chart.
- MultiQCOne general statistics table from fastp, FastQC, samtools, bcftools and mosdepth reports.