snipar.utilities module
- snipar.utilities.make_id_dict(x, col=0)[source]
Make a dictionary that maps from the values in the given column (col) to their row-index in the input array
- snipar.utilities.open_bgen(filename: str, verbose: bool = False) open_bgen[source]
Wrapper of bgen_reader.open_bgen that checks if sample ids make sense.