vg deconstruct can apparently produce invalid vcfs (#1402 #1416). This PR adds bcftools stats after every VCF is created, with the hope of catching any errors right away. Hopefully I can get the data to fix deconstruct ASAP, but it's probably a good idea in general to spend a few minutes validating vcfs (it has been well worth it to add vg validate for all the various graphs that are created).
The stats are also written to the output in <vcf path>.stats, which may be convenient for some
updateview seems better than stats at catching formatting errors in some cases, so switched to that instead. so no extra stats returned after all
vg deconstruct
can apparently produce invalid vcfs (#1402 #1416). This PR addsbcftools stats
after every VCF is created, with the hope of catching any errors right away. Hopefully I can get the data to fixdeconstruct
ASAP, but it's probably a good idea in general to spend a few minutes validating vcfs (it has been well worth it to addvg validate
for all the various graphs that are created).The stats are also written to the output in
<vcf path>.stats
, which may be convenient for someupdate
view
seems better thanstats
at catching formatting errors in some cases, so switched to that instead. so no extra stats returned after all