def taxdump_from_text(text):
    """Read taxdump from comma-delimited text.

    Parameters
    ----------
    text : list of str
        multi-line, comma-delimited text
        columns: taxId, name, parent taxId, rank

    Returns
    -------
    dict of dict
        taxonomy database
    """
    res = {}
    for line in text:
        x = line.split(',')
        res[x[0]] = {'name': x[1], 'parent': x[2], 'rank': x[3]}
    return res