Skip to content

Commit

Permalink
Update the hap.py evaluation to use --engine=vcfeval and update the a…
Browse files Browse the repository at this point in the history
…ccuracy numbers accordingly.

PiperOrigin-RevId: 190299321
  • Loading branch information
pichuan authored and Copybara-Service committed Mar 24, 2018
1 parent 1e4cf5c commit 18accae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions docs/deepvariant-case-study.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,13 +289,13 @@ sudo docker run -it \
pkrusche/hap.py /opt/hap.py/bin/hap.py \
"${TRUTH_VCF}" \
"${OUTPUT_VCF}" \
--preprocess-truth \
-f "${TRUTH_BED}" \
-r "${UNCOMPRESSED_REF}" \
-o "${OUTPUT_DIR}/happy.output"
-o "${OUTPUT_DIR}/happy.output" \
--engine=vcfeval
```

Type | # FN | # FP | Recall | Precision | F1\_Score
----- | ---- | ---- | -------- | --------- | ---------
INDEL | 2291 | 918 | 0.995271 | 0.99810 | 0.996684
SNP | 1909 | 885 | 0.999374 | 0.99971 | 0.999542
INDEL | 2116 | 1066 | 0.995447 | 0.997794 | 0.996619
SNP | 1684 | 916 | 0.999447 | 0.999699 | 0.999573
8 changes: 4 additions & 4 deletions docs/deepvariant-exome-case-study.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,19 +249,19 @@ sudo docker run -it \
pkrusche/hap.py /opt/hap.py/bin/hap.py \
"${TRUTH_VCF}" \
"${OUTPUT_VCF}" \
--preprocess-truth \
-f "${TRUTH_BED}" \
-T "${CAPTURE_BED}" \
-r "${UNCOMPRESSED_REF}" \
-o "${OUTPUT_DIR}/happy.output"
-o "${OUTPUT_DIR}/happy.output" \
--engine=vcfeval
```

Here are the results:

Type | # FN | # FP | Recall | Precision | F1\_Score
----- | ---- | ---- | -------- | --------- | ---------
INDEL | 150 | 48 | 0.943117 | 0.981080 | 0.961724
SNP | 46 | 24 | 0.998636 | 0.999288 | 0.998962
INDEL | 140 | 51 | 0.946154 | 0.979898 | 0.962730
SNP | 45 | 24 | 0.998666 | 0.999288 | 0.998977

## Separate models for calling whole genome and exome data

Expand Down

0 comments on commit 18accae

Please sign in to comment.