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

All Samples(10)  |  Call(7)  |  Derive(0)  |  Import(3)

src/e/t/ete-HEAD/tools/ete_tools/ete_ncbicomp.py   ete(Download)
from collections import defaultdict
 
from common import (ncbi, argparse, PhyloTree, Tree, SVG_COLORS, faces,
                    treeview, NodeStyle, TreeStyle, color, print_table) 
 
        print >>sys.stderr, "Reading tree from file:", args.explore
        t = cPickle.load(open(args.explore))
        ts = TreeStyle()
        ts.force_topology = True
        ts.show_leaf_name = False
        OUT.flush()
        if args.show_tree or args.render:
            ts = TreeStyle()
            ts.force_topology = True
            #ts.tree_width = 500

src/e/t/ete-HEAD/tools/ete_tools/ete_maptrees.py   ete(Download)
import os
from collections import defaultdict
from common import __CITATION__,  Tree, PhyloTree, argparse, add_face_to_node, TreeStyle, faces, NodeStyle
import numpy
import hashlib
        if DEBUG:
            print treeid, t
            ts = TreeStyle()
            ts.title.add_face(faces.TextFace("Seedid = %s"%treeid), 1)
            t.render("%s.png"%treeid, tree_style=ts)
                          coll_losses_per_dup_branch, coll_refbranch_supports)
 
            ts = TreeStyle()
            ts.layout_fn = info_layout
            reftree.render("temp_tree_analysis.png", tree_style=ts)
    if IMG_REPORT:
        print >>sys.stderr, "Generating tree analysis image"
        ts = TreeStyle()
        ts.layout_fn = info_layout
        reftree.render("%s.tree_analysis.png"%args.output, tree_style=ts)
    if args.plot_newick:
        t = Tree(args.plot_newick)
        ts = TreeStyle()
        ts.layout_fn = info_layout
        t.render("tree_analysis.png", tree_style=ts)

src/e/t/ete-HEAD/tools/ete_tools/ete_view.py   ete(Download)
import sys
 
from common import argparse, PhyloTree, TreeStyle, faces
 
__all__ = ["main"]
    # VISUALIZATION
 
    ts = TreeStyle()
    ts.mode = args.mode
    ts.show_leaf_name = False