TreeSAK 1.46.26__tar.gz → 1.46.28__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 (119) hide show
  1. {TreeSAK-1.46.26/TreeSAK.egg-info → TreeSAK-1.46.28}/PKG-INFO +2 -2
  2. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/RootTree.py +1 -1
  3. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/VERSION +1 -1
  4. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/iTOL.py +15 -0
  5. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/pruneMSA.py +2 -2
  6. {TreeSAK-1.46.26 → TreeSAK-1.46.28/TreeSAK.egg-info}/PKG-INFO +2 -2
  7. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/LICENSE +0 -0
  8. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/MANIFEST.in +0 -0
  9. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/README.md +0 -0
  10. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/ALE.py +0 -0
  11. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/ALE1.py +0 -0
  12. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/ALE2.py +0 -0
  13. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/ALE2RTC.py +0 -0
  14. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/ALE3.py +0 -0
  15. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/ALE4.py +0 -0
  16. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/ALE5.py +0 -0
  17. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/ALE6.py +0 -0
  18. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/ALE7.py +0 -0
  19. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/ALE_backup.py +0 -0
  20. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/AssessCVG.py +0 -0
  21. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/AssessMarker.py +0 -0
  22. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
  23. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/AssessMarkerPA.py +0 -0
  24. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/AssessPB.py +0 -0
  25. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/BMGE.jar +0 -0
  26. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/BMGE.py +0 -0
  27. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/CompareMCMC.py +0 -0
  28. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/ConcateMSA.py +0 -0
  29. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/ConvertMSA.py +0 -0
  30. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/Dir.rb +0 -0
  31. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/ExtractMarkerSeq.py +0 -0
  32. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/FastRoot.py +0 -0
  33. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/FastRoot_backup.py +0 -0
  34. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/FigTree.py +0 -0
  35. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/GTDB_tree.py +0 -0
  36. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/KEGG_Luo17.py +0 -0
  37. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/LcaToLeaves.py +0 -0
  38. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/MarkerRef2Tree.py +0 -0
  39. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
  40. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/MarkerSeq2Tree.py +0 -0
  41. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/MarkerSeq2Tree_backup.py +0 -0
  42. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/ModifyTopo.py +0 -0
  43. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/Newick_tree_plotter.py +0 -0
  44. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/OMA.py +0 -0
  45. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/OMA2.py +0 -0
  46. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/OneLineAln.py +0 -0
  47. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/PB.py +0 -0
  48. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/PMSF.py +0 -0
  49. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/PhyloBiAssoc.R +0 -0
  50. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/PhyloBiAssoc.py +0 -0
  51. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/PlotMCMC.py +0 -0
  52. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/PlotMcmcNode.py +0 -0
  53. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/PlotMcmcNode_old.py +0 -0
  54. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/RootTreeGTDB214.py +0 -0
  55. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/RootTreeGTDB220.py +0 -0
  56. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/SequentialDating.py +0 -0
  57. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/SingleAleHGT.py +0 -0
  58. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/SingleLinePhy.py +0 -0
  59. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/SliceMSA.py +0 -0
  60. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/SplitScore.py +0 -0
  61. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/SplitScore1.py +0 -0
  62. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/SplitScore1OMA.py +0 -0
  63. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/SplitScore2.py +0 -0
  64. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/TaxaCountStats.R +0 -0
  65. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/TaxonTree.py +0 -0
  66. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/TreeSAK_config.py +0 -0
  67. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/VisHPD95.R +0 -0
  68. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/VisHPD95.py +0 -0
  69. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/__init__.py +0 -0
  70. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/ale_parser.py +0 -0
  71. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/ale_splitter.py +0 -0
  72. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/alignment_pruner.pl +0 -0
  73. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/assessOG.py +0 -0
  74. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/catfasta2phy.py +0 -0
  75. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/cogTree.py +0 -0
  76. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/compare_trees.R +0 -0
  77. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/compare_trees.py +0 -0
  78. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/dating.py +0 -0
  79. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/dating_ss.py +0 -0
  80. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/deltall.py +0 -0
  81. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/do_rrtc.rb +0 -0
  82. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/fa2phy.py +0 -0
  83. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/format_leaf_name.py +0 -0
  84. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/gap_stats.py +0 -0
  85. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/get_SCG_tree.py +0 -0
  86. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/get_arCOG_seq.py +0 -0
  87. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/global_functions.py +0 -0
  88. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/gnm_leaves.py +0 -0
  89. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/iTOL_gene_tree.py +0 -0
  90. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/keep_highest_rrtc.py +0 -0
  91. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/koTree.py +0 -0
  92. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/label_tree.R +0 -0
  93. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/label_tree.py +0 -0
  94. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/mad.py +0 -0
  95. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/mcmc2tree.py +0 -0
  96. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/mcmcTC.py +0 -0
  97. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/merge_pdf.py +0 -0
  98. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/pRTC.py +0 -0
  99. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/plot_distruibution_th.py +0 -0
  100. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/prep_mcmctree_ctl.py +0 -0
  101. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/print_leaves.py +0 -0
  102. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/recode.py +0 -0
  103. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/remove_bias.R +0 -0
  104. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/rename_leaves.py +0 -0
  105. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/replace_clade.py +0 -0
  106. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/root_with_out_group.py +0 -0
  107. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
  108. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/subsample_drep_gnms.py +0 -0
  109. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/subset.py +0 -0
  110. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
  111. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/supertree.py +0 -0
  112. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK/weighted_rand.rb +0 -0
  113. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK.egg-info/SOURCES.txt +0 -0
  114. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK.egg-info/dependency_links.txt +0 -0
  115. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK.egg-info/requires.txt +0 -0
  116. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/TreeSAK.egg-info/top_level.txt +0 -0
  117. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/bin/TreeSAK +0 -0
  118. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/setup.cfg +0 -0
  119. {TreeSAK-1.46.26 → TreeSAK-1.46.28}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TreeSAK
3
- Version: 1.46.26
3
+ Version: 1.46.28
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.46.26
27
+ TreeSAK v1.46.28
@@ -5,7 +5,7 @@ from ete3 import Tree
5
5
  RootTree_usage = '''
6
6
  ====================== RootTree example commands ======================
7
7
 
8
- BioSAK RootTree -i input.tree -og outgroup_genomes.txt -o rooted.tree
8
+ TreeSAK RootTree -i input.tree -og outgroup_genomes.txt -o rooted.tree
9
9
 
10
10
  =======================================================================
11
11
  '''
@@ -1,4 +1,4 @@
1
- 1.46.26
1
+ 1.46.28
2
2
  - fixed bugs
3
3
 
4
4
  1.46.0
@@ -128,6 +128,7 @@ def iTOL(args):
128
128
  Connection = args['Connection']
129
129
  PieChart = args['PieChart']
130
130
  Collapse = args['Collapse']
131
+ MultiStyleLabel = args['MultiStyleLabel']
131
132
  leaf_id_txt = args['id']
132
133
  LeafGroup = args['lg']
133
134
  GroupColor = args['gc']
@@ -607,6 +608,19 @@ def iTOL(args):
607
608
 
608
609
  ####################################################################################################################
609
610
 
611
+ # Prepare ExternalShape file
612
+ if MultiStyleLabel is True:
613
+ MultiStyleLabel_FileOut_handle = open(FileOut, 'w')
614
+ MultiStyleLabel_FileOut_handle.write('MULTI_STYLE\n')
615
+ MultiStyleLabel_FileOut_handle.write('SEPARATOR TAB\n')
616
+ MultiStyleLabel_FileOut_handle.write('#each line in the DATA section defines the style for one label part (specified in the first field)\n')
617
+ MultiStyleLabel_FileOut_handle.write('\n')
618
+ MultiStyleLabel_FileOut_handle.write('\n')
619
+ MultiStyleLabel_FileOut_handle.write('DATA\n')
620
+ MultiStyleLabel_FileOut_handle.close()
621
+
622
+ ####################################################################################################################
623
+
610
624
  # Prepare ExternalShape file
611
625
  if ExternalShape is True:
612
626
 
@@ -697,6 +711,7 @@ if __name__ == '__main__':
697
711
 
698
712
  iTOL_parser = argparse.ArgumentParser(usage=iTOL_usage)
699
713
  iTOL_parser.add_argument('-Labels', required=False, action='store_true', help='Labels')
714
+ iTOL_parser.add_argument('-MultiStyleLabel', required=False, action='store_true', help='MultiStyleLabel')
700
715
  iTOL_parser.add_argument('-ColorStrip', required=False, action='store_true', help='ColorStrip')
701
716
  iTOL_parser.add_argument('-ColorRange', required=False, action='store_true', help='ColorRange')
702
717
  iTOL_parser.add_argument('-ColorClade', required=False, action='store_true', help='ColorClade')
@@ -42,9 +42,9 @@ def pruneMSA(args):
42
42
  op_file_list = []
43
43
  for each_cutoff in cutoff_list:
44
44
  cutoff_formatted = str(float(each_cutoff)/100)
45
- current_msa_out = '%s/%s.chi2p%s.%s' % (msa_path, msa_base, each_cutoff, msa_ext)
45
+ current_msa_out = '%s/%s_chi2p%s.%s' % (msa_path, msa_base, each_cutoff, msa_ext)
46
46
  perl_cmd = 'perl %s --file %s --chi2_prune f%s > %s' % (alignment_pruner_pl, msa_in, cutoff_formatted, current_msa_out)
47
- perl_cmd_to_print = 'perl %s --file %s --chi2_prune f%s > %s' % ('alignment_pruner.pl', msa_in, cutoff_formatted, current_msa_out)
47
+ perl_cmd_to_print = 'perl %s --file %s --chi2_prune f%s > %s' % ('alignment_pruner.pl', msa_in, cutoff_formatted, current_msa_out)
48
48
  op_file_list.append(current_msa_out)
49
49
  print(perl_cmd_to_print)
50
50
  os.system(perl_cmd)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TreeSAK
3
- Version: 1.46.26
3
+ Version: 1.46.28
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.46.26
27
+ TreeSAK v1.46.28
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