TreeSAK 1.49.1__tar.gz → 1.49.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 (129) hide show
  1. {TreeSAK-1.49.1/TreeSAK.egg-info → TreeSAK-1.49.2}/PKG-INFO +2 -2
  2. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/VERSION +1 -1
  3. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/iTOL.py +5 -2
  4. {TreeSAK-1.49.1 → TreeSAK-1.49.2/TreeSAK.egg-info}/PKG-INFO +2 -2
  5. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/LICENSE +0 -0
  6. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/MANIFEST.in +0 -0
  7. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/README.md +0 -0
  8. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/ALE.py +0 -0
  9. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/ALE1.py +0 -0
  10. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/ALE2.py +0 -0
  11. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/ALE2RTC.py +0 -0
  12. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/ALE3.py +0 -0
  13. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/ALE4.py +0 -0
  14. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/ALE5.py +0 -0
  15. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/ALE6.py +0 -0
  16. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/ALE7.py +0 -0
  17. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/ALE_backup.py +0 -0
  18. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/AssessCVG.py +0 -0
  19. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/AssessMarker.py +0 -0
  20. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
  21. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/AssessMarkerPA.py +0 -0
  22. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/AssessPB.py +0 -0
  23. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/BMGE.jar +0 -0
  24. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/BMGE.py +0 -0
  25. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/CompareMCMC.py +0 -0
  26. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/ConcateMSA.py +0 -0
  27. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/ConvertMSA.py +0 -0
  28. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/Dir.rb +0 -0
  29. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/ExtractMarkerSeq.py +0 -0
  30. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/FastRoot.py +0 -0
  31. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/FastRoot_backup.py +0 -0
  32. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/FigTree.py +0 -0
  33. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/GTDB_tree.py +0 -0
  34. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/GeneTree.py +0 -0
  35. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/KEGG_Luo17.py +0 -0
  36. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/LcaToLeaves.py +0 -0
  37. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/MarkerRef2Tree.py +0 -0
  38. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
  39. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/MarkerSeq2Tree.py +0 -0
  40. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/MarkerSeq2Tree_backup.py +0 -0
  41. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/ModifyTopo.py +0 -0
  42. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/Newick_tree_plotter.py +0 -0
  43. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/OMA.py +0 -0
  44. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/OMA2.py +0 -0
  45. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/OneLineAln.py +0 -0
  46. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/PB.py +0 -0
  47. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/PMSF.py +0 -0
  48. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/PhyloBiAssoc.R +0 -0
  49. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/PhyloBiAssoc.py +0 -0
  50. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/PlotMCMC.py +0 -0
  51. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/PlotMcmcNode.py +0 -0
  52. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/PlotMcmcNode_old.py +0 -0
  53. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/RootTree.py +0 -0
  54. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/RootTreeGTDB214.py +0 -0
  55. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/RootTreeGTDB220.py +0 -0
  56. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/SequentialDating.py +0 -0
  57. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/SingleAleHGT.py +0 -0
  58. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/SingleLinePhy.py +0 -0
  59. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/SliceMSA.py +0 -0
  60. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/SplitScore.py +0 -0
  61. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/SplitScore1.py +0 -0
  62. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/SplitScore1OMA.py +0 -0
  63. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/SplitScore2.py +0 -0
  64. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/TaxaCountStats.R +0 -0
  65. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/TaxonTree.py +0 -0
  66. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/TreeSAK_config.py +0 -0
  67. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/VisHPD95.R +0 -0
  68. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/VisHPD95.py +0 -0
  69. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/__init__.py +0 -0
  70. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/ale_parser.py +0 -0
  71. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/ale_splitter.py +0 -0
  72. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/alignment_pruner.pl +0 -0
  73. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/assessOG.py +0 -0
  74. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/catfasta2phy.py +0 -0
  75. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/cogTree.py +0 -0
  76. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/compare_trees.R +0 -0
  77. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/compare_trees.py +0 -0
  78. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/dating.py +0 -0
  79. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/dating_ss.py +0 -0
  80. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/deltall.py +0 -0
  81. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/do_rrtc.rb +0 -0
  82. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/fa2phy.py +0 -0
  83. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/format_leaf_name.py +0 -0
  84. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/gap_stats.py +0 -0
  85. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/get_SCG_tree.py +0 -0
  86. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/get_arCOG_seq.py +0 -0
  87. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/global_functions.py +0 -0
  88. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/gnm_leaves.py +0 -0
  89. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/iTOL_gene_tree.py +0 -0
  90. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/keep_highest_rrtc.py +0 -0
  91. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/koTree.py +0 -0
  92. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/label_tree.R +0 -0
  93. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/label_tree.py +0 -0
  94. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/mad.py +0 -0
  95. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/mcmc2tree.py +0 -0
  96. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/mcmcTC copy.py +0 -0
  97. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/mcmcTC.py +0 -0
  98. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/mcmctree_vs_reltime.R +0 -0
  99. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/mcmctree_vs_reltime.py +0 -0
  100. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/merge_pdf.py +0 -0
  101. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/pRTC.py +0 -0
  102. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/parse_mcmctree.py +0 -0
  103. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/parse_reltime.py +0 -0
  104. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/phy2fa.py +0 -0
  105. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/plot_distruibution_th.py +0 -0
  106. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/prep_mcmctree_ctl.py +0 -0
  107. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/print_leaves.py +0 -0
  108. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/pruneMSA.py +0 -0
  109. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/recode.py +0 -0
  110. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/remove_bias.R +0 -0
  111. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/rename_leaves.py +0 -0
  112. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/replace_clade.py +0 -0
  113. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/root_with_out_group.py +0 -0
  114. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
  115. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/subsample_drep_gnms.py +0 -0
  116. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/subset.py +0 -0
  117. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
  118. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/supertree.py +0 -0
  119. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/tmp_1.py +0 -0
  120. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/tmp_2.py +0 -0
  121. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/tmp_3.py +0 -0
  122. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK/weighted_rand.rb +0 -0
  123. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK.egg-info/SOURCES.txt +0 -0
  124. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK.egg-info/dependency_links.txt +0 -0
  125. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK.egg-info/requires.txt +0 -0
  126. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/TreeSAK.egg-info/top_level.txt +0 -0
  127. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/bin/TreeSAK +0 -0
  128. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/setup.cfg +0 -0
  129. {TreeSAK-1.49.1 → TreeSAK-1.49.2}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TreeSAK
3
- Version: 1.49.1
3
+ Version: 1.49.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.49.1
27
+ TreeSAK v1.49.2
@@ -1,4 +1,4 @@
1
- 1.49.1
1
+ 1.49.2
2
2
  - fixed bugs
3
3
 
4
4
  1.49.0
@@ -186,16 +186,19 @@ def iTOL(args):
186
186
 
187
187
  if ColoredLabel is True:
188
188
 
189
+ leaf_set = set()
189
190
  leaf_label_dict = dict()
190
191
  if LeafLabel is not None:
191
192
  for each in open(LeafLabel):
192
193
  each_split = each.strip().split('\t')
193
194
  leaf_label_dict[each_split[0]] = each_split[1]
195
+ leaf_set.add(each_split[0])
194
196
 
195
197
  leaf_group_dict = dict()
196
198
  for each in open(LeafGroup):
197
199
  each_split = each.strip().split('\t')
198
200
  leaf_group_dict[each_split[0]] = each_split[1]
201
+ leaf_set.add(each_split[0])
199
202
 
200
203
  group_color_dict = dict()
201
204
  for each in open(GroupColor):
@@ -207,9 +210,9 @@ def iTOL(args):
207
210
  FileOut_handle.write('SEPARATOR TAB\n')
208
211
  FileOut_handle.write('DATASET_LABEL\t%s\n' % 'ColoredLabel')
209
212
  FileOut_handle.write('\nDATA\n')
210
- for leaf in leaf_group_dict:
213
+ for leaf in leaf_set:
211
214
  leaf_label = leaf_label_dict.get(leaf, leaf)
212
- leaf_group = leaf_group_dict[leaf]
215
+ leaf_group = leaf_group_dict.get(leaf, 'na')
213
216
  leaf_color = group_color_dict.get(leaf_group, '#000000')
214
217
  FileOut_handle.write('%s\t%s\t-1\t%s\tnormal\t1\t0\n' % (leaf, leaf_label, leaf_color))
215
218
  FileOut_handle.close()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TreeSAK
3
- Version: 1.49.1
3
+ Version: 1.49.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.49.1
27
+ TreeSAK v1.49.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