I am trying to open the gnomAD Variant Dataset (VDS) with Hail 0.2:
import hail as hl
import hail.expr.aggregators as agg
hl.init()
mt = hl.read_matrix_table('gnomad.exomes.r2.0.2.sites.vds')
However I get the following error:
Hail version: devel-73b493d
Error summary: HailException: metadata does not contain file version: gnomad.exomes.r2.0.2.sites.vds/metadata.json.gz
Should I bite the bullet and uninstall Hail 0.2 and head back to 0.1? Or is there an easy fix for this in 0.2? Or is this error not related to Hail version, but the way I am trying to import the file or have set Hail up on my computer? I have no problem running the GWAS tutorial that comes with the developmental 0.2 version.
The file formats in Hail 0.1 and 0.2 are incompatible. I believe that all the gnomad files are from 0.1, but the gnomAD team is planning a release of only 0.2 files in the next few weeks.