def subtreeIds(self, vertexId):
        stack = [(vertexId, 0)]
        subtreeList = [] 

        while(len(stack) != 0):
            (vertexId, depth) = stack.pop()
            neighbours = self.neighbours(vertexId)
            
            subtreeList.append(vertexId)

            for neighbour in neighbours:
                stack.append((neighbour, depth+1))
                
        return subtreeList
metaphlan is a program used in metagenomics. It assigns
dataset/ETHPy150Open charanpald/APGL/apgl/graph/DictTree.py/DictTree.subtreeIds--crossover with--dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_genomeassembly.py/buildMetaphlanReadmap