Skip to content

feat: add version of benchmark as key in presets and include in report #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jun 20, 2024
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ views:
- "#6baed6"
vaf:
plot:
heatmap:
heatmap:
scale: linear
custom-content:
function(value, row) {
Expand Down
4 changes: 4 additions & 0 deletions workflow/resources/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ benchmarks:

genomes:
na12878:
version: 4.2.1
truth:
grch37: https://ftp-trace.ncbi.nlm.nih.gov/giab/ftp/release/NA12878_HG001/NISTv4.2.1/GRCh37/HG001_GRCh37_1_22_v4.2.1_benchmark.vcf.gz
grch38: https://ftp-trace.ncbi.nlm.nih.gov/giab/ftp/release/NA12878_HG001/NISTv4.2.1/GRCh38/HG001_GRCh38_1_22_v4.2.1_benchmark.vcf.gz
Expand All @@ -58,6 +59,7 @@ genomes:
grch38: https://ftp-trace.ncbi.nlm.nih.gov/giab/ftp/release/NA12878_HG001/NISTv4.2.1/GRCh38/HG001_GRCh38_1_22_v4.2.1_benchmark.bed

chm-eval:
version: 0.5
archive: https://github.com/lh3/CHM-eval/releases/download/v0.5/CHM-evalkit-20180222.tar
truth:
grch38: full.38.vcf.gz
Expand All @@ -67,6 +69,7 @@ genomes:
grch37: full.37m.bed.gz

seqc2-somatic:
version: 1.2
truth:
grch38:
snvs: https://ftp-trace.ncbi.nlm.nih.gov/ReferenceSamples/seqc/Somatic_Mutation_WG/release/latest/high-confidence_sSNV_in_HC_regions_v1.2.vcf.gz
Expand All @@ -76,6 +79,7 @@ genomes:
somatic: true

na12878-somatic:
version: 4.2.1
truth:
grch38: https://ftp-trace.ncbi.nlm.nih.gov/giab/ftp/release/NA12878_HG001/NISTv4.2.1/GRCh38/HG001_GRCh38_1_22_v4.2.1_benchmark.vcf.gz
confidence-regions:
Expand Down
6 changes: 5 additions & 1 deletion workflow/rules/eval.smk
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,11 @@ rule report_precision_recall:
directory("results/report/precision-recall/{benchmark}/{vartype}"),
htmlindex="index.html",
category="precision/recall",
labels={"benchmark": "{benchmark}", "vartype": "{vartype}"},
labels={
"benchmark": "{benchmark}",
"version": "{version}",
"vartype": "{vartype}",
},
),
log:
"logs/datavzrd/precision-recall/{benchmark}/{vartype}.log",
Expand Down
Loading