Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/c/g/CGAT-0.2.0/CGAT/Tree.py   CGAT(Download)
        # now we just add both subtrees (outgroup and ingroup) branch for branch
        root=Bio.Nexus.Nodes.Node(data=Bio.Nexus.Trees.NodeData())            # new root    
        self.add(root)                              # add to tree description
        self.root=root.id                           # set as root
 

src/c/g/cgat-HEAD/CGAT/Tree.py   cgat(Download)
        root = Bio.Nexus.Nodes.Node(
            data=Bio.Nexus.Trees.NodeData())            # new root
        self.add(root)                              # add to tree description
        self.root = root.id                           # set as root