def process_phylip_consense(tree):
    """ PHYLIP consense program generates tree that has branch length
    proportional to bootstrap support values. This function transforms the
    support values to node supports, and set all branch length to 1, which
    should be ignored when drawing.
    This is specific for PHYLIP consense only.
    """
    for node in tree.traverse('postorder'):
        node.support = float(node.dist) / 100.0
        node.dist = 1.0
    return tree
