TreeSAK 1.48.0__tar.gz → 1.48.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.
- {TreeSAK-1.48.0/TreeSAK.egg-info → TreeSAK-1.48.2}/PKG-INFO +2 -2
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/CompareMCMC.py +3 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/VERSION +3 -3
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/VisHPD95.py +4 -3
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/parse_reltime.py +16 -10
- {TreeSAK-1.48.0 → TreeSAK-1.48.2/TreeSAK.egg-info}/PKG-INFO +2 -2
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/bin/TreeSAK +9 -1
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/LICENSE +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/MANIFEST.in +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/README.md +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/ALE.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/ALE1.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/ALE2.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/ALE2RTC.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/ALE3.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/ALE4.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/ALE5.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/ALE6.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/ALE7.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/ALE_backup.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/AssessCVG.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/AssessMarker.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/AssessMarkerPA.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/AssessPB.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/BMGE.jar +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/BMGE.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/ConcateMSA.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/ConvertMSA.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/Dir.rb +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/ExtractMarkerSeq.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/FastRoot.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/FastRoot_backup.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/FigTree.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/GTDB_tree.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/GeneTree.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/KEGG_Luo17.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/LcaToLeaves.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/MarkerRef2Tree.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/MarkerSeq2Tree.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/MarkerSeq2Tree_backup.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/ModifyTopo.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/Newick_tree_plotter.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/OMA.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/OMA2.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/OneLineAln.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/PB.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/PMSF.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/PhyloBiAssoc.R +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/PhyloBiAssoc.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/PlotMCMC.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/PlotMcmcNode.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/PlotMcmcNode_old.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/RootTree.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/RootTreeGTDB214.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/RootTreeGTDB220.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/SequentialDating.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/SingleAleHGT.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/SingleLinePhy.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/SliceMSA.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/SplitScore.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/SplitScore1.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/SplitScore1OMA.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/SplitScore2.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/TaxaCountStats.R +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/TaxonTree.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/TreeSAK_config.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/VisHPD95.R +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/__init__.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/ale_parser.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/ale_splitter.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/alignment_pruner.pl +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/assessOG.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/catfasta2phy.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/cogTree.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/compare_trees.R +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/compare_trees.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/dating.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/dating_ss.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/deltall.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/do_rrtc.rb +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/fa2phy.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/format_leaf_name.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/gap_stats.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/get_SCG_tree.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/get_arCOG_seq.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/global_functions.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/gnm_leaves.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/iTOL.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/iTOL_gene_tree.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/keep_highest_rrtc.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/koTree.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/label_tree.R +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/label_tree.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/mad.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/mcmc2tree.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/mcmcTC copy.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/mcmcTC.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/merge_pdf.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/pRTC.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/phy2fa.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/plot_distruibution_th.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/prep_mcmctree_ctl.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/print_leaves.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/pruneMSA.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/recode.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/remove_bias.R +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/rename_leaves.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/replace_clade.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/root_with_out_group.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/subsample_drep_gnms.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/subset.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/supertree.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/tmp_1.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/tmp_2.py +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK/weighted_rand.rb +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK.egg-info/SOURCES.txt +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK.egg-info/dependency_links.txt +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK.egg-info/requires.txt +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/TreeSAK.egg-info/top_level.txt +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/setup.cfg +0 -0
- {TreeSAK-1.48.0 → TreeSAK-1.48.2}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TreeSAK
|
|
3
|
-
Version: 1.48.
|
|
3
|
+
Version: 1.48.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.48.
|
|
27
|
+
TreeSAK v1.48.2
|
|
@@ -13,6 +13,9 @@ CompareMCMC_usage = '''
|
|
|
13
13
|
|
|
14
14
|
TreeSAK CompareMCMC -mx IR_mcmc.txt -my AR_mcmc.txt -lx IR -ly AR -o convergence_plot.png -max 40 -fs 12
|
|
15
15
|
|
|
16
|
+
cd /Users/songweizhi/Desktop
|
|
17
|
+
TreeSAK CompareMCMC -mx /Users/songweizhi/Desktop/Sponge_r220/6_dating/MCMCTree/dating_outputs/topo2p10_clock3_nsample250000_run1_mcmc.txt -my /Users/songweizhi/Desktop/Sponge_r220/6_dating/MCMCTree/dating_outputs/topo2p10_clock3_nsample250000_run2_mcmc.txt -lx IR -ly AR -o convergence_plot.png -max 40 -fs 12
|
|
18
|
+
|
|
16
19
|
==========================================================================================================
|
|
17
20
|
'''
|
|
18
21
|
|
|
@@ -124,7 +124,10 @@ def VisHPD95(args):
|
|
|
124
124
|
plot_out = args['o']
|
|
125
125
|
plot_width = args['x']
|
|
126
126
|
plot_height = args['y']
|
|
127
|
-
|
|
127
|
+
|
|
128
|
+
pwd_current_file = os.path.realpath(__file__)
|
|
129
|
+
current_file_path = '/'.join(pwd_current_file.split('/')[:-1])
|
|
130
|
+
VisHPD95_R = '%s/VisHPD95.R' % current_file_path
|
|
128
131
|
|
|
129
132
|
dm_out = '%s.txt' % plot_out
|
|
130
133
|
|
|
@@ -179,7 +182,6 @@ def VisHPD95(args):
|
|
|
179
182
|
|
|
180
183
|
if __name__ == '__main__':
|
|
181
184
|
|
|
182
|
-
# arguments for rename_seq_parser
|
|
183
185
|
VisHPD95_parser = argparse.ArgumentParser()
|
|
184
186
|
VisHPD95_parser.add_argument('-i', required=True, help='mcmc.txt file or folder')
|
|
185
187
|
VisHPD95_parser.add_argument('-n', required=True, help='Nodes to plot')
|
|
@@ -188,7 +190,6 @@ if __name__ == '__main__':
|
|
|
188
190
|
VisHPD95_parser.add_argument('-y', required=False, default=5,type=int, help='plot height, default: 5')
|
|
189
191
|
VisHPD95_parser.add_argument('-o', required=True, help='Output plot')
|
|
190
192
|
args = vars(VisHPD95_parser.parse_args())
|
|
191
|
-
args['VisHPD95_R'] = config_dict['VisHPD95_R']
|
|
192
193
|
VisHPD95(args)
|
|
193
194
|
|
|
194
195
|
'''
|
|
@@ -71,7 +71,7 @@ def parse_reltime(args):
|
|
|
71
71
|
op_txt = args['o']
|
|
72
72
|
|
|
73
73
|
f_name, f_path, f_base, f_ext = sep_path_basename_ext(op_txt)
|
|
74
|
-
|
|
74
|
+
op_txt_all_info = '%s/%s_all_info.%s' % (f_path,f_base, f_ext)
|
|
75
75
|
|
|
76
76
|
lca_to_leaves_dict = dict()
|
|
77
77
|
interested_node_desc_dict = dict()
|
|
@@ -87,13 +87,13 @@ def parse_reltime(args):
|
|
|
87
87
|
lca_id = get_lca(reltime_txt, leaf_1, leaf_2)
|
|
88
88
|
lca_to_leaves_dict[lca_id] = paired_leaves.strip()
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
op_txt_all_info_handle = open(op_txt_all_info, 'w')
|
|
91
91
|
line_num_index = 0
|
|
92
92
|
for each_line in open(reltime_txt):
|
|
93
93
|
each_line_split = each_line.strip().split('\t')
|
|
94
94
|
each_line_split = [i.strip() for i in each_line_split]
|
|
95
95
|
if line_num_index == 0:
|
|
96
|
-
|
|
96
|
+
op_txt_all_info_handle.write('Leaves\tDescription\t%s\n' % ('\t'.join(each_line_split)))
|
|
97
97
|
else:
|
|
98
98
|
if len(each_line_split) > 1:
|
|
99
99
|
node_id = each_line_split[1]
|
|
@@ -101,23 +101,23 @@ def parse_reltime(args):
|
|
|
101
101
|
node_id = each_line_split[1]
|
|
102
102
|
corresponding_leaves = lca_to_leaves_dict[node_id]
|
|
103
103
|
interested_node_desc = interested_node_desc_dict[corresponding_leaves]
|
|
104
|
-
|
|
104
|
+
op_txt_all_info_handle.write('%s\t%s\t%s\n' % (corresponding_leaves, interested_node_desc, '\t'.join(each_line_split)))
|
|
105
105
|
line_num_index += 1
|
|
106
|
-
|
|
106
|
+
op_txt_all_info_handle.close()
|
|
107
107
|
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
op_txt_handle = open(op_txt, 'w')
|
|
109
|
+
op_txt_handle.write('Node\tDivTime\tCI_Lower\tCI_Upper\n')
|
|
110
110
|
line_num_index = 0
|
|
111
|
-
for each_line in open(
|
|
111
|
+
for each_line in open(op_txt_all_info):
|
|
112
112
|
if line_num_index > 0:
|
|
113
113
|
each_line_split = each_line.strip().split('\t')
|
|
114
114
|
desc = each_line_split[1]
|
|
115
115
|
div_time = each_line_split[9]
|
|
116
116
|
ci_lower = each_line_split[10]
|
|
117
117
|
ci_upper = each_line_split[11]
|
|
118
|
-
|
|
118
|
+
op_txt_handle.write('%s\t%s\t%s\t%s\n' % (desc, div_time, ci_lower, ci_upper))
|
|
119
119
|
line_num_index += 1
|
|
120
|
-
|
|
120
|
+
op_txt_handle.close()
|
|
121
121
|
|
|
122
122
|
|
|
123
123
|
if __name__ == '__main__':
|
|
@@ -129,7 +129,13 @@ if __name__ == '__main__':
|
|
|
129
129
|
args = vars(parse_reltime_parser.parse_args())
|
|
130
130
|
parse_reltime(args)
|
|
131
131
|
|
|
132
|
+
|
|
132
133
|
'''
|
|
134
|
+
|
|
133
135
|
cd /Users/songweizhi/Desktop
|
|
134
136
|
python3 /Users/songweizhi/PycharmProjects/TreeSAK/TreeSAK/parse_reltime.py -i /Users/songweizhi/Desktop/Sponge_r220/6_dating/RelTime/topo2_p30_RelTime_JTT_Gamma4/topo2_p30_RelTime_Gamma4.txt -n yang_7.txt -o dbscc_age.txt
|
|
137
|
+
|
|
138
|
+
cd /Users/songweizhi/Desktop
|
|
139
|
+
TreeSAK parse_reltime -i /Users/songweizhi/Desktop/Sponge_r220/6_dating/RelTime/topo2_p30_RelTime_JTT_Gamma4/topo2_p30_RelTime_Gamma4.txt -n yang_7.txt -o dbscc_age.txt
|
|
140
|
+
|
|
135
141
|
'''
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TreeSAK
|
|
3
|
-
Version: 1.48.
|
|
3
|
+
Version: 1.48.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.48.
|
|
27
|
+
TreeSAK v1.48.2
|
|
@@ -367,7 +367,6 @@ if __name__ == '__main__':
|
|
|
367
367
|
VisHPD95_parser.add_argument('-y', required=False, default=5,type=int, help='plot height, default: 5')
|
|
368
368
|
VisHPD95_parser.add_argument('-o', required=True, help='Output plot')
|
|
369
369
|
args = vars(parser.parse_args())
|
|
370
|
-
args['plot_grouped_HPD95_R'] = config_dict['plot_grouped_HPD95_R']
|
|
371
370
|
VisHPD95.VisHPD95(args)
|
|
372
371
|
|
|
373
372
|
elif sys.argv[1] == 'PMSF':
|
|
@@ -891,6 +890,15 @@ if __name__ == '__main__':
|
|
|
891
890
|
args = vars(parser.parse_args())
|
|
892
891
|
GeneTree.GeneTree(args)
|
|
893
892
|
|
|
893
|
+
elif sys.argv[1] == 'parse_reltime':
|
|
894
|
+
from TreeSAK import parse_reltime
|
|
895
|
+
parse_reltime_parser = subparsers.add_parser('parse_reltime', usage=parse_reltime.parse_reltime_usage)
|
|
896
|
+
parse_reltime_parser.add_argument('-i', required=True, help='reltime output file')
|
|
897
|
+
parse_reltime_parser.add_argument('-n', required=True, help='interested node txt')
|
|
898
|
+
parse_reltime_parser.add_argument('-o', required=True, help='output txt file')
|
|
899
|
+
args = vars(parser.parse_args())
|
|
900
|
+
parse_reltime.parse_reltime(args)
|
|
901
|
+
|
|
894
902
|
else:
|
|
895
903
|
print('Unrecognized module: %s, program exited!' % sys.argv[1])
|
|
896
904
|
exit()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|