I’m trying to index a bgen while on RAP.
get_bgen_path = lambda chrom: f'file:///mnt/project/Bulk/Exome sequences/Population level exome OQFE variants, BGEN format - interim 450k release/ukb23150_c{chrom}_b0_v1.bgen'
get_idx2_path = lambda chrom: f'{hail_dir}/exome/wes_450k/bgen/chr{chrom}.idx2'
chrom = 21
hl.index_bgen(
path = get_bgen_path(chrom),
index_file_map = {get_bgen_path(chrom): get_idx2_path(chrom)},
)
But I get HailException: Hail only supports zlib compression.