There is a line of sample code in the docs that says: `from bgen_reader import allele_expectation, example_filepath, read_bgen` It should say: `from bgen_reader import allele_expectation, example_filepath, open_bgen` In other words, open_bgen rather than read_bgen.