def SGB_quality_level(row):
    """
    https://doi.org/10.1016/j.cell.2019.01.001
    """
    if row['Strain heterogeneity'] < 0.5 and row['Completeness'
        ] > 90.0 and row['Contamination'] < 5.0:
        return 'high_quality'
    elif row['Completeness'] > 50.0 and row['Contamination'] < 5.0:
        return 'medium_quality'
    else:
        return 'low_quality'
