TreeSAK 1.59.0__tar.gz → 1.59.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. {treesak-1.59.0/treesak.egg-info → treesak-1.59.2}/PKG-INFO +2 -2
  2. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/ALE8.py +12 -28
  3. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/VERSION +3 -3
  4. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/cophyloplot.py +1 -5
  5. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/iTOL.py +5 -1
  6. {treesak-1.59.0 → treesak-1.59.2}/bin/TreeSAK +6 -4
  7. {treesak-1.59.0 → treesak-1.59.2/treesak.egg-info}/PKG-INFO +2 -2
  8. {treesak-1.59.0 → treesak-1.59.2}/LICENSE +0 -0
  9. {treesak-1.59.0 → treesak-1.59.2}/MANIFEST.in +0 -0
  10. {treesak-1.59.0 → treesak-1.59.2}/README.md +0 -0
  11. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/ALE.py +0 -0
  12. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/ALE1.py +0 -0
  13. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/ALE2.py +0 -0
  14. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/ALE2RTC.py +0 -0
  15. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/ALE3.py +0 -0
  16. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/ALE4.py +0 -0
  17. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/ALE5.py +0 -0
  18. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/ALE6.py +0 -0
  19. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/ALE7.py +0 -0
  20. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/ALE_backup.py +0 -0
  21. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/AssessCVG.py +0 -0
  22. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/AssessMarker.py +0 -0
  23. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
  24. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/AssessMarkerPA.py +0 -0
  25. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/BMGE.jar +0 -0
  26. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/BMGE.py +0 -0
  27. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/C60SR4.nex +0 -0
  28. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/ClockModel.py +0 -0
  29. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/CompareMCMC.py +0 -0
  30. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/ConcateMSA.py +0 -0
  31. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/ConvertMSA.py +0 -0
  32. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/Dir.rb +0 -0
  33. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/ExtractMarkerSeq.py +0 -0
  34. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/FastRoot.py +0 -0
  35. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/FastRoot_backup.py +0 -0
  36. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/FigTree.py +0 -0
  37. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/GTDB_tree.py +0 -0
  38. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/GeneTree.py +0 -0
  39. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/KEGG_Luo17.py +0 -0
  40. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/LcaToLeaves.py +0 -0
  41. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/MarkerRef2Tree.py +0 -0
  42. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
  43. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/MarkerSeq2Tree.py +0 -0
  44. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/MarkerSeq2Tree_backup.py +0 -0
  45. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/ModifyTopo.py +0 -0
  46. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/Newick_tree_plotter.py +0 -0
  47. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/OMA.py +0 -0
  48. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/OMA2.py +0 -0
  49. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/OneLineAln.py +0 -0
  50. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/PB.py +0 -0
  51. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/PMSF.py +0 -0
  52. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/PhyloBiAssoc.R +0 -0
  53. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/PhyloBiAssoc.py +0 -0
  54. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/PhyloHessian.py +0 -0
  55. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/PlotMCMC.py +0 -0
  56. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/PlotMcmcNode.py +0 -0
  57. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/PlotMcmcNode_old.py +0 -0
  58. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/RootTree.py +0 -0
  59. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/RootTreeGTDB.py +0 -0
  60. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/RootTreeGTDB214.py +0 -0
  61. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/RootTreeGTDB220.py +0 -0
  62. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/SequentialDating.py +0 -0
  63. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/SingleAleHGT.py +0 -0
  64. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/SingleLinePhy.py +0 -0
  65. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/SliceMSA.py +0 -0
  66. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/SplitScore.py +0 -0
  67. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/SplitScore1.py +0 -0
  68. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/SplitScore1OMA.py +0 -0
  69. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/SplitScore2.py +0 -0
  70. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/TaxaCountStats.R +0 -0
  71. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/TaxonTree.py +0 -0
  72. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/TreeSAK_config.py +0 -0
  73. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/Untitled.R +0 -0
  74. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/VisHPD95.R +0 -0
  75. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/VisHPD95.py +0 -0
  76. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/__init__.py +0 -0
  77. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/ale_parser.py +0 -0
  78. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/ale_splitter.py +0 -0
  79. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/alignment_pruner.pl +0 -0
  80. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/assessOG.py +0 -0
  81. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/assessPB.py +0 -0
  82. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/batch_itol.py +0 -0
  83. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/catfasta2phy.py +0 -0
  84. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/cogTree.py +0 -0
  85. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/compare_trees.R +0 -0
  86. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/compare_trees.py +0 -0
  87. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/cophyloplot.R +0 -0
  88. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/dating.py +0 -0
  89. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/dating_ss.py +0 -0
  90. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/deltall.py +0 -0
  91. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/do_rrtc.rb +0 -0
  92. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/fa2phy.py +0 -0
  93. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/filter_rename_ar53.py +0 -0
  94. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/format_leaf_name.py +0 -0
  95. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/gap_stats.py +0 -0
  96. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/get_SCG_tree.py +0 -0
  97. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/get_arCOG_seq.py +0 -0
  98. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/get_lca_id.py +0 -0
  99. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/global_functions.py +0 -0
  100. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/gnm_leaves.py +0 -0
  101. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/guide_tree.py +0 -0
  102. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/iTOL_Tanglegram.py +0 -0
  103. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/iTOL_gene_tree.py +0 -0
  104. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/itol_msa_stats.py +0 -0
  105. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/keep_highest_rrtc.py +0 -0
  106. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/koTree.py +0 -0
  107. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/label_gene_tree_by_gnm.py +0 -0
  108. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/label_tree.R +0 -0
  109. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/label_tree.py +0 -0
  110. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/mad.py +0 -0
  111. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/mcmc2tree.py +0 -0
  112. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/mcmcTC copy.py +0 -0
  113. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/mcmcTC.py +0 -0
  114. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/mcmctree_out.py +0 -0
  115. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/mcmctree_vs_reltime.R +0 -0
  116. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/mcmctree_vs_reltime.py +0 -0
  117. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/merge_pdf.py +0 -0
  118. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/pRTC.py +0 -0
  119. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/parse_mcmctree.py +0 -0
  120. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/phy2fa.py +0 -0
  121. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/plot_distruibution_th.py +0 -0
  122. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/prep_mcmctree_ctl.py +0 -0
  123. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/print_leaves.py +0 -0
  124. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/pruneMSA.py +0 -0
  125. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/recode.py +0 -0
  126. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/reltime.py +0 -0
  127. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/remove_bias.R +0 -0
  128. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/rename_leaves.py +0 -0
  129. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/replace_clade.py +0 -0
  130. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/rm_leaf.py +0 -0
  131. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/root_with_out_group.py +0 -0
  132. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
  133. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/subsample_drep_gnms.py +0 -0
  134. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/subset_tree.py +0 -0
  135. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
  136. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/supertree.py +0 -0
  137. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/tmp_1.py +0 -0
  138. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/tmp_2.py +0 -0
  139. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/tmp_3.py +0 -0
  140. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/tmp_4.py +0 -0
  141. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/tmp_6.py +0 -0
  142. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/tmp_7.py +0 -0
  143. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/tree_fmt.py +0 -0
  144. {treesak-1.59.0 → treesak-1.59.2}/TreeSAK/weighted_rand.rb +0 -0
  145. {treesak-1.59.0 → treesak-1.59.2}/setup.cfg +0 -0
  146. {treesak-1.59.0 → treesak-1.59.2}/setup.py +0 -0
  147. {treesak-1.59.0 → treesak-1.59.2}/treesak.egg-info/SOURCES.txt +0 -0
  148. {treesak-1.59.0 → treesak-1.59.2}/treesak.egg-info/dependency_links.txt +0 -0
  149. {treesak-1.59.0 → treesak-1.59.2}/treesak.egg-info/requires.txt +0 -0
  150. {treesak-1.59.0 → treesak-1.59.2}/treesak.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: treesak
3
- Version: 1.59.0
3
+ Version: 1.59.2
4
4
  Summary: BioSAK
5
5
  Home-page: https://github.com/songweizhi/TreeSAK
6
6
  Author: Weizhi Song
@@ -24,4 +24,4 @@ Requires-Dist: kaleido
24
24
  Requires-Dist: PyPDF3
25
25
  Requires-Dist: dendropy
26
26
 
27
- TreeSAK v1.59.0
27
+ TreeSAK v1.59.2
@@ -19,28 +19,12 @@ TreeSAK ALE8 -3 ALE3_op_dir -o -3 ALE8_op_dir -l genome_tree_leaf_rename.txt
19
19
  def itol_piechart(gene_gain_loss_stats_txt, leaf_set, itol_txt):
20
20
 
21
21
  max_pie_size = 30
22
-
23
- max_gain_plus_loss = 0
24
- for each in open(gene_gain_loss_stats_txt):
25
- if not each.startswith('ID\t'):
26
- each_split = each.strip().split('\t')
27
- node_id = each_split[0]
28
- gain_num = float(each_split[1])
29
- loss_num = float(each_split[2])
30
- gain_plus_loss = gain_num + loss_num
31
- if gain_plus_loss > max_gain_plus_loss:
32
- max_gain_plus_loss = gain_plus_loss
33
- print('max_gain_plus_loss: %s' % max_gain_plus_loss)
34
-
35
- scale_factor = (max_pie_size * max_pie_size)/max_gain_plus_loss
36
- print('scale_factor: %s' % scale_factor)
37
-
38
22
  itol_txt_handle = open(itol_txt, 'w')
39
23
  itol_txt_handle.write('DATASET_PIECHART\n')
40
24
  itol_txt_handle.write('SEPARATOR TAB\n')
41
25
  itol_txt_handle.write('DATASET_LABEL\tGene_gain_loss\n')
42
26
  itol_txt_handle.write('COLOR\t#ff0000\n')
43
- itol_txt_handle.write('FIELD_COLORS\t#31C950\t#FF692A\n')
27
+ itol_txt_handle.write('FIELD_COLORS\t#31C950\t#FB2C36\n')
44
28
  itol_txt_handle.write('FIELD_LABELS\tGain\tLoss\n')
45
29
  itol_txt_handle.write('MARGIN\t10\n\n')
46
30
  itol_txt_handle.write('MAXIMUM_SIZE\t%s\n\n' % max_pie_size)
@@ -74,6 +58,8 @@ def ALE8(args):
74
58
  op_dir = args['o']
75
59
  force_create_op_dir = args['f']
76
60
  rename_leaf_txt = args['l']
61
+ cog_annotation_wd = args['cog']
62
+ keg_annotation_wd = args['kegg']
77
63
 
78
64
  rename_leaf_dict = dict()
79
65
  if rename_leaf_txt is not None:
@@ -81,7 +67,6 @@ def ALE8(args):
81
67
  for each_line in open(rename_leaf_txt):
82
68
  each_line_split = each_line.strip().split('\t')
83
69
  rename_leaf_dict[each_line_split[0]] = each_line_split[1]
84
- print(rename_leaf_dict)
85
70
 
86
71
  # define file name
87
72
  gene_gain_loss_dir = '%s/Gene_gain_loss' % op_dir
@@ -111,8 +96,8 @@ def ALE8(args):
111
96
  gnm_content_dict[node_id].add(each_line.strip())
112
97
 
113
98
  # read in tree (with internal node id)
114
- ale_species_tree_txt = '%s/SpeciesTreeRef.newick' % ale3_op_dir
115
- ale_species_tree = Tree(ale_species_tree_txt, format=1)
99
+ ale_species_tree_txt = '%s/SpeciesTreeRef.newick' % ale3_op_dir
100
+ ale_species_tree = Tree(ale_species_tree_txt, format=1)
116
101
 
117
102
  # create output folder
118
103
  if os.path.isdir(op_dir) is True:
@@ -143,10 +128,7 @@ def ALE8(args):
143
128
 
144
129
  for each_node in ale_species_tree.traverse():
145
130
  if each_node.is_leaf() is True:
146
- print(each_node.name)
147
- each_node.name = rename_leaf_dict.get(each_node.name)
148
- print(each_node.name)
149
- print()
131
+ each_node.name = rename_leaf_dict.get(each_node.name, each_node.name)
150
132
  else:
151
133
  each_node.name = 'node' + each_node.name
152
134
 
@@ -205,9 +187,11 @@ def ALE8(args):
205
187
  if __name__ == '__main__':
206
188
 
207
189
  ALE8_parser = argparse.ArgumentParser()
208
- ALE8_parser.add_argument('-3', required=True, help='ALE3 output directory')
209
- ALE8_parser.add_argument('-l', required=False, default=None, help='rename leaves')
210
- ALE8_parser.add_argument('-o', required=True, help='output directory')
211
- ALE8_parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
190
+ ALE8_parser.add_argument('-3', required=True, help='ALE3 output directory')
191
+ ALE8_parser.add_argument('-l', required=False, default=None, help='rename leaves')
192
+ ALE8_parser.add_argument('-cog', required=False, default=None, help='COG annotation dir')
193
+ ALE8_parser.add_argument('-kegg', required=False, default=None, help='KEGG annotation dir')
194
+ ALE8_parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
195
+ ALE8_parser.add_argument('-o', required=True, help='output directory')
212
196
  args = vars(ALE8_parser.parse_args())
213
197
  ALE8(args)
@@ -1,9 +1,9 @@
1
+ 1.59.2
2
+ - fixed bugs
3
+
1
4
  1.59.0
2
5
  - new module added: ALE8
3
6
 
4
- 1.58.32
5
- - fixed bugs
6
-
7
7
  1.58.0
8
8
  - new module added: rm_leaf
9
9
 
@@ -1,7 +1,7 @@
1
1
  import os
2
-
3
2
  from ete3 import Tree
4
3
 
4
+
5
5
  ########################################################################################################################
6
6
 
7
7
  # file in
@@ -73,7 +73,3 @@ op_association_table_handle.close()
73
73
  r_cmd = 'Rscript %s -i %s -s %s -l %s -o %s' % (cophyloplot_Rscript, tree_file_host, tree_file_symbiont, op_association_table, op_pdf)
74
74
  print(r_cmd)
75
75
  os.system(r_cmd)
76
-
77
-
78
-
79
-
@@ -624,7 +624,10 @@ def iTOL(args):
624
624
  for leaf_matrix in open(LeafMatrix):
625
625
  leaf_matrix_split = leaf_matrix.strip().split('\t')
626
626
  if n == 0:
627
- col_name_list = leaf_matrix_split[1:]
627
+ if (leaf_matrix.startswith(' ')) or (leaf_matrix.startswith('\t')) or (leaf_matrix.startswith(',')):
628
+ col_name_list = leaf_matrix_split
629
+ else:
630
+ col_name_list = leaf_matrix_split[1:]
628
631
  else:
629
632
  leaf_matrix_dict[leaf_matrix_split[0]] = leaf_matrix_split[1:]
630
633
  n += 1
@@ -636,6 +639,7 @@ def iTOL(args):
636
639
  Heatmap_FileOut_handle.write('\n# customize heatmap attributes here\n')
637
640
  Heatmap_FileOut_handle.write('MARGIN\t%s\n' % MARGIN)
638
641
  Heatmap_FileOut_handle.write('STRIP_WIDTH\t%s\n' % Heatmap_STRIP_WIDTH)
642
+ Heatmap_FileOut_handle.write('LABEL_ROTATION\t45\n')
639
643
  Heatmap_FileOut_handle.write('\n# customize legend here\n')
640
644
  Heatmap_FileOut_handle.write('AUTO_LEGEND\t1\n')
641
645
  Heatmap_FileOut_handle.write('DATASET_LABEL\t%s\n' % LegendTitle)
@@ -613,10 +613,12 @@ if __name__ == '__main__':
613
613
  elif sys.argv[1] == 'ALE8':
614
614
  from TreeSAK import ALE8
615
615
  ALE8_parser = subparsers.add_parser('ALE8', usage=ALE8.ALE8_usage)
616
- ALE8_parser.add_argument('-3', required=True, help='ALE3 output directory')
617
- ALE8_parser.add_argument('-l', required=False, default=None, help='rename leaves')
618
- ALE8_parser.add_argument('-o', required=True, help='output directory')
619
- ALE8_parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
616
+ ALE8_parser.add_argument('-3', required=True, help='ALE3 output directory')
617
+ ALE8_parser.add_argument('-l', required=False, default=None, help='rename leaves')
618
+ ALE8_parser.add_argument('-cog', required=False, default=None, help='COG annotation dir')
619
+ ALE8_parser.add_argument('-kegg', required=False, default=None, help='KEGG annotation dir')
620
+ ALE8_parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
621
+ ALE8_parser.add_argument('-o', required=True, help='output directory')
620
622
  args = vars(parser.parse_args())
621
623
  ALE8.ALE8(args)
622
624
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: treesak
3
- Version: 1.59.0
3
+ Version: 1.59.2
4
4
  Summary: BioSAK
5
5
  Home-page: https://github.com/songweizhi/TreeSAK
6
6
  Author: Weizhi Song
@@ -24,4 +24,4 @@ Requires-Dist: kaleido
24
24
  Requires-Dist: PyPDF3
25
25
  Requires-Dist: dendropy
26
26
 
27
- TreeSAK v1.59.0
27
+ TreeSAK v1.59.2
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes