def get_ukb_sumstats_mt_path(reference: str = 'GRCh37', sex: str = 'both_sexes'):
    """
    Get UKB sumstats MatrixTable path

    :param str reference: Which reference to use (one of "GRCh37" or "GRCh38")
    :param str sex: Which sex to return results for (one of "both_sexes" (default), "female", "male")
    :return: Path to results MatrixTable
    :rtype: str
    """
    assert reference in ('GRCh37', 'GRCh38')
    assert sex in ('both_sexes', 'female', 'male')
    if reference == 'GRCh38': reference += '.liftover'
    return f'gs://hail-datasets/ukbb_imputed_v3_gwas_results_{sex}.{reference}.mt'