'Parses any node within a phyloxml tree and looks out for claude, which signals the creation of
nodes - internal OR leaf'

def parseNode(self, node, depth):

    tag = self.cleanTag(node.tag)
    if (not (tag == 'clade')):
        return None
    hasInnerClade = False
    for child in node:
        childTag = self.cleanTag(child.tag)
        if (childTag == 'clade'):
            hasInnerClade = True
            break
    if hasInnerClade:
        currentNode = self._makeInternalNode(node, depth=depth)
        for child in node:
            child = self.parseNode(child, (depth + 1))
            if isinstance(child, Node):
                currentNode.addChildNode(child)
    else:
        currentNode = self._makeLeafNode(node, depth=(depth + 1))
    return currentNode
