Skip to content

Commit

Permalink
Show empty spike empty VCF
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmig committed Apr 16, 2024
1 parent 3704c2a commit 42f76ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions workflow/scripts/report/NV_description.R
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,9 @@ window_plot_spike <- window %>%

if (nrow(vcf_spike) == 0) {
log_warn("Spike VCF has no rows")
print(vcf_spike)
vcf_spike <- empty_vcf
print(vcf_spike)
}

variants_spike <- vcf_spike %>%
Expand Down

0 comments on commit 42f76ec

Please sign in to comment.