TreeSAK 1.55.2__tar.gz → 1.56.1__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 (139) hide show
  1. {treesak-1.55.2/treesak.egg-info → treesak-1.56.1}/PKG-INFO +2 -2
  2. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/VERSION +4 -1
  3. treesak-1.56.1/TreeSAK/mcmctree_out.py +129 -0
  4. {treesak-1.55.2 → treesak-1.56.1}/bin/TreeSAK +14 -4
  5. {treesak-1.55.2 → treesak-1.56.1/treesak.egg-info}/PKG-INFO +2 -2
  6. {treesak-1.55.2 → treesak-1.56.1}/treesak.egg-info/SOURCES.txt +1 -0
  7. {treesak-1.55.2 → treesak-1.56.1}/LICENSE +0 -0
  8. {treesak-1.55.2 → treesak-1.56.1}/MANIFEST.in +0 -0
  9. {treesak-1.55.2 → treesak-1.56.1}/README.md +0 -0
  10. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/ALE.py +0 -0
  11. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/ALE1.py +0 -0
  12. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/ALE2.py +0 -0
  13. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/ALE2RTC.py +0 -0
  14. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/ALE3.py +0 -0
  15. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/ALE4.py +0 -0
  16. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/ALE5.py +0 -0
  17. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/ALE6.py +0 -0
  18. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/ALE7.py +0 -0
  19. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/ALE_backup.py +0 -0
  20. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/AssessCVG.py +0 -0
  21. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/AssessMarker.py +0 -0
  22. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
  23. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/AssessMarkerPA.py +0 -0
  24. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/BMGE.jar +0 -0
  25. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/BMGE.py +0 -0
  26. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/C60SR4.nex +0 -0
  27. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/CompareMCMC.py +0 -0
  28. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/ConcateMSA.py +0 -0
  29. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/ConvertMSA.py +0 -0
  30. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/Dir.rb +0 -0
  31. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/ExtractMarkerSeq.py +0 -0
  32. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/FastRoot.py +0 -0
  33. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/FastRoot_backup.py +0 -0
  34. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/FigTree.py +0 -0
  35. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/GTDB_tree.py +0 -0
  36. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/GeneTree.py +0 -0
  37. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/KEGG_Luo17.py +0 -0
  38. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/LcaToLeaves.py +0 -0
  39. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/MarkerRef2Tree.py +0 -0
  40. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
  41. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/MarkerSeq2Tree.py +0 -0
  42. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/MarkerSeq2Tree_backup.py +0 -0
  43. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/ModifyTopo.py +0 -0
  44. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/Newick_tree_plotter.py +0 -0
  45. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/OMA.py +0 -0
  46. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/OMA2.py +0 -0
  47. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/OneLineAln.py +0 -0
  48. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/PB.py +0 -0
  49. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/PMSF.py +0 -0
  50. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/PhyloBiAssoc.R +0 -0
  51. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/PhyloBiAssoc.py +0 -0
  52. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/PlotMCMC.py +0 -0
  53. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/PlotMcmcNode.py +0 -0
  54. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/PlotMcmcNode_old.py +0 -0
  55. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/RootTree.py +0 -0
  56. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/RootTreeGTDB.py +0 -0
  57. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/RootTreeGTDB214.py +0 -0
  58. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/RootTreeGTDB220.py +0 -0
  59. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/SequentialDating.py +0 -0
  60. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/SingleAleHGT.py +0 -0
  61. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/SingleLinePhy.py +0 -0
  62. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/SliceMSA.py +0 -0
  63. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/SplitScore.py +0 -0
  64. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/SplitScore1.py +0 -0
  65. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/SplitScore1OMA.py +0 -0
  66. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/SplitScore2.py +0 -0
  67. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/TaxaCountStats.R +0 -0
  68. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/TaxonTree.py +0 -0
  69. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/TreeSAK_config.py +0 -0
  70. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/VisHPD95.R +0 -0
  71. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/VisHPD95.py +0 -0
  72. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/__init__.py +0 -0
  73. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/ale_parser.py +0 -0
  74. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/ale_splitter.py +0 -0
  75. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/alignment_pruner.pl +0 -0
  76. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/assessOG.py +0 -0
  77. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/assessPB.py +0 -0
  78. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/batch_itol.py +0 -0
  79. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/catfasta2phy.py +0 -0
  80. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/cogTree.py +0 -0
  81. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/compare_trees.R +0 -0
  82. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/compare_trees.py +0 -0
  83. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/dating.py +0 -0
  84. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/dating_ss.py +0 -0
  85. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/deltall.py +0 -0
  86. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/do_rrtc.rb +0 -0
  87. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/fa2phy.py +0 -0
  88. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/filter_rename_ar53.py +0 -0
  89. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/format_leaf_name.py +0 -0
  90. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/gap_stats.py +0 -0
  91. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/get_SCG_tree.py +0 -0
  92. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/get_arCOG_seq.py +0 -0
  93. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/get_lca_id.py +0 -0
  94. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/global_functions.py +0 -0
  95. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/gnm_leaves.py +0 -0
  96. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/guide_tree.py +0 -0
  97. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/iTOL.py +0 -0
  98. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/iTOL_gene_tree.py +0 -0
  99. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/itol_msa_stats.py +0 -0
  100. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/keep_highest_rrtc.py +0 -0
  101. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/koTree.py +0 -0
  102. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/label_gene_tree_by_gnm.py +0 -0
  103. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/label_tree.R +0 -0
  104. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/label_tree.py +0 -0
  105. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/mad.py +0 -0
  106. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/mcmc2tree.py +0 -0
  107. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/mcmcTC copy.py +0 -0
  108. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/mcmcTC.py +0 -0
  109. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/mcmctree_vs_reltime.R +0 -0
  110. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/mcmctree_vs_reltime.py +0 -0
  111. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/merge_pdf.py +0 -0
  112. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/pRTC.py +0 -0
  113. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/parse_mcmctree.py +0 -0
  114. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/parse_reltime.py +0 -0
  115. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/phy2fa.py +0 -0
  116. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/plot_distruibution_th.py +0 -0
  117. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/prep_mcmctree_ctl.py +0 -0
  118. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/print_leaves.py +0 -0
  119. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/pruneMSA.py +0 -0
  120. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/recode.py +0 -0
  121. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/remove_bias.R +0 -0
  122. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/rename_leaves.py +0 -0
  123. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/replace_clade.py +0 -0
  124. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/root_with_out_group.py +0 -0
  125. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
  126. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/subsample_drep_gnms.py +0 -0
  127. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/subset.py +0 -0
  128. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
  129. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/supertree.py +0 -0
  130. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/tmp_1.py +0 -0
  131. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/tmp_2.py +0 -0
  132. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/tmp_3.py +0 -0
  133. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/tmp_4.py +0 -0
  134. {treesak-1.55.2 → treesak-1.56.1}/TreeSAK/weighted_rand.rb +0 -0
  135. {treesak-1.55.2 → treesak-1.56.1}/setup.cfg +0 -0
  136. {treesak-1.55.2 → treesak-1.56.1}/setup.py +0 -0
  137. {treesak-1.55.2 → treesak-1.56.1}/treesak.egg-info/dependency_links.txt +0 -0
  138. {treesak-1.55.2 → treesak-1.56.1}/treesak.egg-info/requires.txt +0 -0
  139. {treesak-1.55.2 → treesak-1.56.1}/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.55.2
3
+ Version: 1.56.1
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.55.2
27
+ TreeSAK v1.56.1
@@ -1,6 +1,9 @@
1
- 1.55.2
1
+ 1.56.1
2
2
  - fixed bugs
3
3
 
4
+ 1.56.0
5
+ - new module added: mcmctree_out
6
+
4
7
  1.55.0
5
8
  - new module added: get_lca_id
6
9
 
@@ -0,0 +1,129 @@
1
+ import os
2
+ import glob
3
+ import argparse
4
+
5
+
6
+ mcmctree_out_usage = '''
7
+ ===================== mcmctree_out example commands =====================
8
+
9
+ TreeSAK mcmctree_out -i topo1_out.txt -n important_nodes.txt -o op.txt
10
+ TreeSAK mcmctree_out -i dating_result -n important_nodes.txt -o op.txt
11
+
12
+ # The input file need to be in the format of *_out.txt
13
+
14
+ # Format of node file
15
+ t_n141 Oxygen Age Constraint, Thermoproteales
16
+ t_n201 Emergence of the D1 clade
17
+
18
+ =========================================================================
19
+ '''
20
+
21
+
22
+ def sep_path_basename_ext(file_in):
23
+
24
+ f_path, f_name = os.path.split(file_in)
25
+ if f_path == '':
26
+ f_path = '.'
27
+ f_base, f_ext = os.path.splitext(f_name)
28
+ f_ext = f_ext[1:]
29
+
30
+ return f_name, f_path, f_base, f_ext
31
+
32
+
33
+ def get_node_age_dict(out_txt):
34
+ node_age_dict = dict()
35
+ keep_the_next_value_line = False
36
+ for each_line in open(out_txt):
37
+ if 'Posterior mean (95% Equal-tail CI) (95% HPD CI) HPD-CI-width' in each_line:
38
+ keep_the_next_value_line = True
39
+ else:
40
+ if keep_the_next_value_line is True:
41
+ each_line_split = each_line.strip().replace('(', '').replace(')', '').split()
42
+ if len(each_line_split) > 0:
43
+ node_id = each_line_split[0]
44
+ node_mean = each_line_split[1].replace(',', '')
45
+ hpd_ci_95_l = each_line_split[4].replace(',', '')
46
+ hpd_ci_95_r = each_line_split[5].replace(',', '')
47
+ value_str = '%s(%s %s)' % (node_mean, hpd_ci_95_l, hpd_ci_95_r)
48
+ node_age_dict[node_id] = value_str
49
+ return node_age_dict
50
+
51
+
52
+ def mcmctree_out(args):
53
+
54
+ mcmc_out_dir = args['i']
55
+ interested_nodes_txt = args['n']
56
+ op_txt = args['o']
57
+
58
+ _, op_f_path, op_f_base, op_f_ext = sep_path_basename_ext(op_txt)
59
+ op_txt_with_hpd_ci_95 = '%s/%s_HPD_CI_95.%s' % (op_f_path, op_f_base, op_f_ext)
60
+
61
+ # read in interested_nodes_txt
62
+ interested_node_dict = dict()
63
+ for each_line in open(interested_nodes_txt):
64
+ each_line_split = each_line.strip().split('\t')
65
+ node_id = each_line_split[0]
66
+ node_desc = each_line_split[1]
67
+ interested_node_dict[node_id] = node_desc
68
+
69
+ node_age_dod = dict()
70
+ if os.path.isfile(mcmc_out_dir) is True:
71
+ _, _, f_base, _ = sep_path_basename_ext(mcmc_out_dir)
72
+ node_age_dict = get_node_age_dict(mcmc_out_dir)
73
+ node_age_dod[f_base] = node_age_dict
74
+ elif os.path.isdir(mcmc_out_dir) is True:
75
+ mcmcout_file_re = '%s/*_out.txt' % mcmc_out_dir
76
+ mcmcout_file_list = glob.glob(mcmcout_file_re)
77
+
78
+ if len(mcmcout_file_list) == 0:
79
+ print('No file found in %s, program exited!' % mcmc_out_dir)
80
+ exit()
81
+
82
+ for each_mcmcout_file in mcmcout_file_list:
83
+ _, _, f_base, _ = sep_path_basename_ext(each_mcmcout_file)
84
+ current_node_age_dict = get_node_age_dict(each_mcmcout_file)
85
+ node_age_dod[f_base] = current_node_age_dict
86
+ else:
87
+ print('No input file found, program exited!')
88
+ exit()
89
+
90
+ node_list_sorted = sorted(list(interested_node_dict.keys()))
91
+ node_list_sorted_with_desc = [('%s__%s' % (i, interested_node_dict[i])) for i in node_list_sorted]
92
+
93
+ op_txt_handle = open(op_txt_with_hpd_ci_95, 'w')
94
+ op_txt_mean_handle = open(op_txt, 'w')
95
+ if len(node_age_dod) ==1:
96
+ for each_setting in node_age_dod:
97
+ current_value_dict = node_age_dod[each_setting]
98
+ for each_node_id in node_list_sorted:
99
+ current_node_value = current_value_dict[each_node_id]
100
+ current_node_mean = current_node_value.split('(')[0]
101
+ op_txt_handle.write('%s\t%s\t%s\n' % (each_node_id, current_node_value, interested_node_dict.get(each_node_id, '')))
102
+ op_txt_mean_handle.write('%s\t%s\t%s\n' % (each_node_id, current_node_mean, interested_node_dict.get(each_node_id, '')))
103
+
104
+ elif len(node_age_dod) >=2:
105
+ op_txt_handle.write('\t' + '\t'.join(node_list_sorted_with_desc) + '\n')
106
+ op_txt_mean_handle.write('\t' + '\t'.join(node_list_sorted_with_desc) + '\n')
107
+ for each_setting in node_age_dod:
108
+ current_value_dict = node_age_dod[each_setting]
109
+ current_value_list = [each_setting]
110
+ current_mean_list = [each_setting]
111
+ for each_node_id in node_list_sorted:
112
+ current_node_value = current_value_dict[each_node_id]
113
+ current_node_mean = current_node_value.split('(')[0]
114
+ current_value_list.append(current_node_value)
115
+ current_mean_list.append(current_node_mean)
116
+ op_txt_handle.write('\t'.join(current_value_list) + '\n')
117
+ op_txt_mean_handle.write('\t'.join(current_mean_list) + '\n')
118
+ op_txt_handle.close()
119
+ op_txt_mean_handle.close()
120
+
121
+
122
+ if __name__ == '__main__':
123
+
124
+ mcmctree_out_parser = argparse.ArgumentParser()
125
+ mcmctree_out_parser.add_argument('-i', required=True, help='MCMCTree out file/dir')
126
+ mcmctree_out_parser.add_argument('-n', required=True, help='interested nodes')
127
+ mcmctree_out_parser.add_argument('-o', required=True, help='output table')
128
+ args = vars(mcmctree_out_parser.parse_args())
129
+ mcmctree_out(args)
@@ -94,12 +94,13 @@ def print_main_help():
94
94
  Dating-related
95
95
  dating -> Perform molecular dating
96
96
  CompareMCMC -> Compare MCMCTree outputs
97
- PlotMcmcNode -> distribution of node's age estimation
97
+ PlotMcmcNode -> Distribution of node's age estimation
98
98
  VisHPD95 -> HPD95 of estimated node age
99
99
  pRTC -> Perform probabilistic RTC dating
100
- mcmcTC -> adding time constraints to mcmctree tree
101
- mcmc2tree -> get the tree with internal node from mcmctree output
102
-
100
+ mcmcTC -> Adding time constraints to mcmctree tree
101
+ mcmc2tree -> Get the tree with internal node from mcmctree output
102
+ mcmctree_out -> Parse MCMCTree produced .out file
103
+
103
104
  Phylo-related stats
104
105
  PhyloBiAssoc -> A wrapper for binaryPGLMM test
105
106
 
@@ -972,6 +973,15 @@ if __name__ == '__main__':
972
973
  args = vars(parser.parse_args())
973
974
  get_lca_id.get_lca_id(args)
974
975
 
976
+ elif sys.argv[1] == 'mcmctree_out':
977
+ from TreeSAK import mcmctree_out
978
+ mcmctree_out_parser = subparsers.add_parser('mcmctree_out', usage=mcmctree_out.mcmctree_out_usage)
979
+ mcmctree_out_parser.add_argument('-i', required=True, help='MCMCTree out file/dir')
980
+ mcmctree_out_parser.add_argument('-n', required=True, help='interested nodes')
981
+ mcmctree_out_parser.add_argument('-o', required=True, help='output table')
982
+ args = vars(parser.parse_args())
983
+ mcmctree_out.mcmctree_out(args)
984
+
975
985
  else:
976
986
  print('Unrecognized module: %s, program exited!' % sys.argv[1])
977
987
  exit()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: treesak
3
- Version: 1.55.2
3
+ Version: 1.56.1
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.55.2
27
+ TreeSAK v1.56.1
@@ -102,6 +102,7 @@ TreeSAK/mad.py
102
102
  TreeSAK/mcmc2tree.py
103
103
  TreeSAK/mcmcTC copy.py
104
104
  TreeSAK/mcmcTC.py
105
+ TreeSAK/mcmctree_out.py
105
106
  TreeSAK/mcmctree_vs_reltime.R
106
107
  TreeSAK/mcmctree_vs_reltime.py
107
108
  TreeSAK/merge_pdf.py
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