def get_tax_dict_info(info_txt):
    """Get taxonomic code from phylomedb info file.

    Parameters
    ----------
    info_txt : str
        info.txt file from phylomeDB ftp server.
    Returns
    -------
    dict
        Dictionary with mnemos as key and ncbi taxid as values.

    """
    with open(info_txt) as i:
        flag = False
        lines = []
        for line in i:
            if "TaxaID" in line:
                flag = True
            if flag:
                lines.append(line)

    tax_dict = {el.split()[1].split(".")[0]: el.split()[0] for el in lines[2:]}
    return tax_dict