Is there a way to go from bgen files with genotype probabilites to vcf files with genotype dosages?
I’m wondering if the gp_dosage can be extended to a full bgen file once imported? Or if Hail provides another way of annonating the genotypes?
I don’t understand what you mean by “extend to a full bgen file” since bgen files only contain the genotype probabilities (dosages) to begin with. But the matrix table commands ending in _entries are useful for working with the genotype (entry) level data. For example, use annotate_entries to annotate the genotypes: https://hail.is/docs/devel/hail.MatrixTable.html#hail.MatrixTable.annotate_entries