def compatiblify_phenotype_id(phenotype_id):
    """RHEmc throws errors on reading weird phenotype
    headers. This function resolves these characters.
    """
    to_replace = [' ', '|', '>', '<', '/', '\\']
    for i in to_replace:
        phenotype_id = phenotype_id.replace(i, '_')
    return phenotype_id