I’ve built a collection of 22 VDSs, each containing variants from the same 100 samples, but covering a different chromosome:
path/vds_chr1
…
path/vds_chr22.
I want to merge these into a single VDS. However, when I try to run
hl.vds.combiner.new_combiner(,...,vds_paths=[...])
the combiner thinks I’m loading 2200 samples, i.e. it doesn’t identify the identically-named samples in the different batches.
Is there any way to merge multiple VDSes containing the same sample-set into a single VDS containing the same samples? This question was answered in 2017,https://discuss.hail.is/t/join-vdss-with-same-samples/331, but the solution uses HailContexts, which don’t seem to be accessible in the current Hail version (version 0.2.99-57537fea08d4).
Any help you could offer would be greatly appreciated. Thanks!