TreeSAK 1.51.2__tar.gz → 1.51.3__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 (131) hide show
  1. {treesak-1.51.2/treesak.egg-info → treesak-1.51.3}/PKG-INFO +2 -2
  2. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/RootTreeGTDB226.py +13 -0
  3. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/VERSION +1 -1
  4. {treesak-1.51.2 → treesak-1.51.3/treesak.egg-info}/PKG-INFO +2 -2
  5. {treesak-1.51.2 → treesak-1.51.3}/LICENSE +0 -0
  6. {treesak-1.51.2 → treesak-1.51.3}/MANIFEST.in +0 -0
  7. {treesak-1.51.2 → treesak-1.51.3}/README.md +0 -0
  8. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/ALE.py +0 -0
  9. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/ALE1.py +0 -0
  10. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/ALE2.py +0 -0
  11. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/ALE2RTC.py +0 -0
  12. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/ALE3.py +0 -0
  13. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/ALE4.py +0 -0
  14. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/ALE5.py +0 -0
  15. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/ALE6.py +0 -0
  16. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/ALE7.py +0 -0
  17. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/ALE_backup.py +0 -0
  18. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/AssessCVG.py +0 -0
  19. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/AssessMarker.py +0 -0
  20. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
  21. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/AssessMarkerPA.py +0 -0
  22. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/AssessPB.py +0 -0
  23. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/BMGE.jar +0 -0
  24. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/BMGE.py +0 -0
  25. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/CompareMCMC.py +0 -0
  26. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/ConcateMSA.py +0 -0
  27. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/ConvertMSA.py +0 -0
  28. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/Dir.rb +0 -0
  29. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/ExtractMarkerSeq.py +0 -0
  30. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/FastRoot.py +0 -0
  31. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/FastRoot_backup.py +0 -0
  32. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/FigTree.py +0 -0
  33. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/GTDB_tree.py +0 -0
  34. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/GeneTree.py +0 -0
  35. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/KEGG_Luo17.py +0 -0
  36. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/LcaToLeaves.py +0 -0
  37. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/MarkerRef2Tree.py +0 -0
  38. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
  39. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/MarkerSeq2Tree.py +0 -0
  40. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/MarkerSeq2Tree_backup.py +0 -0
  41. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/ModifyTopo.py +0 -0
  42. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/Newick_tree_plotter.py +0 -0
  43. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/OMA.py +0 -0
  44. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/OMA2.py +0 -0
  45. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/OneLineAln.py +0 -0
  46. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/PB.py +0 -0
  47. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/PMSF.py +0 -0
  48. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/PhyloBiAssoc.R +0 -0
  49. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/PhyloBiAssoc.py +0 -0
  50. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/PlotMCMC.py +0 -0
  51. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/PlotMcmcNode.py +0 -0
  52. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/PlotMcmcNode_old.py +0 -0
  53. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/RootTree.py +0 -0
  54. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/RootTreeGTDB214.py +0 -0
  55. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/RootTreeGTDB220.py +0 -0
  56. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/SequentialDating.py +0 -0
  57. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/SingleAleHGT.py +0 -0
  58. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/SingleLinePhy.py +0 -0
  59. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/SliceMSA.py +0 -0
  60. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/SplitScore.py +0 -0
  61. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/SplitScore1.py +0 -0
  62. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/SplitScore1OMA.py +0 -0
  63. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/SplitScore2.py +0 -0
  64. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/TaxaCountStats.R +0 -0
  65. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/TaxonTree.py +0 -0
  66. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/TreeSAK_config.py +0 -0
  67. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/VisHPD95.R +0 -0
  68. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/VisHPD95.py +0 -0
  69. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/__init__.py +0 -0
  70. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/ale_parser.py +0 -0
  71. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/ale_splitter.py +0 -0
  72. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/alignment_pruner.pl +0 -0
  73. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/assessOG.py +0 -0
  74. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/catfasta2phy.py +0 -0
  75. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/cogTree.py +0 -0
  76. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/compare_trees.R +0 -0
  77. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/compare_trees.py +0 -0
  78. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/dating.py +0 -0
  79. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/dating_ss.py +0 -0
  80. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/deltall.py +0 -0
  81. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/do_rrtc.rb +0 -0
  82. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/fa2phy.py +0 -0
  83. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/format_leaf_name.py +0 -0
  84. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/gap_stats.py +0 -0
  85. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/get_SCG_tree.py +0 -0
  86. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/get_arCOG_seq.py +0 -0
  87. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/global_functions.py +0 -0
  88. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/gnm_leaves.py +0 -0
  89. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/iTOL.py +0 -0
  90. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/iTOL_gene_tree.py +0 -0
  91. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/itol_msa_stats.py +0 -0
  92. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/keep_highest_rrtc.py +0 -0
  93. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/koTree.py +0 -0
  94. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/label_tree.R +0 -0
  95. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/label_tree.py +0 -0
  96. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/mad.py +0 -0
  97. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/mcmc2tree.py +0 -0
  98. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/mcmcTC copy.py +0 -0
  99. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/mcmcTC.py +0 -0
  100. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/mcmctree_vs_reltime.R +0 -0
  101. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/mcmctree_vs_reltime.py +0 -0
  102. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/merge_pdf.py +0 -0
  103. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/pRTC.py +0 -0
  104. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/parse_mcmctree.py +0 -0
  105. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/parse_reltime.py +0 -0
  106. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/phy2fa.py +0 -0
  107. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/plot_distruibution_th.py +0 -0
  108. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/prep_mcmctree_ctl.py +0 -0
  109. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/print_leaves.py +0 -0
  110. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/pruneMSA.py +0 -0
  111. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/recode.py +0 -0
  112. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/remove_bias.R +0 -0
  113. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/rename_leaves.py +0 -0
  114. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/replace_clade.py +0 -0
  115. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/root_with_out_group.py +0 -0
  116. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
  117. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/subsample_drep_gnms.py +0 -0
  118. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/subset.py +0 -0
  119. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
  120. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/supertree.py +0 -0
  121. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/tmp_1.py +0 -0
  122. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/tmp_2.py +0 -0
  123. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/tmp_3.py +0 -0
  124. {treesak-1.51.2 → treesak-1.51.3}/TreeSAK/weighted_rand.rb +0 -0
  125. {treesak-1.51.2 → treesak-1.51.3}/bin/TreeSAK +0 -0
  126. {treesak-1.51.2 → treesak-1.51.3}/setup.cfg +0 -0
  127. {treesak-1.51.2 → treesak-1.51.3}/setup.py +0 -0
  128. {treesak-1.51.2 → treesak-1.51.3}/treesak.egg-info/SOURCES.txt +0 -0
  129. {treesak-1.51.2 → treesak-1.51.3}/treesak.egg-info/dependency_links.txt +0 -0
  130. {treesak-1.51.2 → treesak-1.51.3}/treesak.egg-info/requires.txt +0 -0
  131. {treesak-1.51.2 → treesak-1.51.3}/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.51.2
3
+ Version: 1.51.3
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.51.2
27
+ TreeSAK v1.51.3
@@ -1,3 +1,4 @@
1
+ import os.path
1
2
  import random
2
3
  import dendropy
3
4
  import argparse
@@ -130,6 +131,18 @@ def RootTreeGTDB226(args):
130
131
  add_root_branch = args['add_root']
131
132
  rooted_tree = args['o']
132
133
 
134
+ missing_file_list = []
135
+ if os.path.isfile(input_unrooted_tree) is False:
136
+ missing_file_list.append(input_unrooted_tree)
137
+ if os.path.isdir(db_dir) is False:
138
+ missing_file_list.append(db_dir)
139
+ if len(missing_file_list) > 0:
140
+ print('Missing files:')
141
+ for missing_file in missing_file_list:
142
+ print(missing_file)
143
+ print('Program exited!')
144
+ exit()
145
+
133
146
  leaf_list = []
134
147
  for leaf in Tree(input_unrooted_tree, format=1):
135
148
  leaf_name = leaf.name
@@ -1,4 +1,4 @@
1
- 1.51.2
1
+ 1.51.3
2
2
  - fixed bugs
3
3
 
4
4
  1.51.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: treesak
3
- Version: 1.51.2
3
+ Version: 1.51.3
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.51.2
27
+ TreeSAK v1.51.3
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