TreeSAK 1.41.1__tar.gz → 1.41.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.
- {TreeSAK-1.41.1/TreeSAK.egg-info → TreeSAK-1.41.3}/PKG-INFO +2 -2
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/VERSION +4 -4
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/dating.py +31 -15
- TreeSAK-1.41.1/TreeSAK/tc.py → TreeSAK-1.41.3/TreeSAK/mcmcTC.py +22 -16
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/tmp_1.py +1 -2
- {TreeSAK-1.41.1 → TreeSAK-1.41.3/TreeSAK.egg-info}/PKG-INFO +2 -2
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK.egg-info/SOURCES.txt +1 -1
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/bin/TreeSAK +8 -8
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/LICENSE +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/MANIFEST.in +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/README.md +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/ALE.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/ALE1.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/ALE2.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/ALE2RTC.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/ALE3.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/ALE4.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/ALE5.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/ALE6.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/ALE_backup.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/AssessCVG.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/AssessMarker.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/AssessMarkerPA.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/AssessPB.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/BMGE.jar +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/BMGE.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/CompareMCMC.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/ConcateMSA.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/ConvertMSA.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/Dir.rb +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/ExtractMarkerSeq.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/FastRoot.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/FastRoot_backup.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/GTDB_tree.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/KEGG_Luo17.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/LcaToLeaves.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/MCMCtreeR.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/MarkerRef2Tree.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/MarkerSeq2Tree.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/ModifyTopo.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/Newick_tree_plotter.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/OMA.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/OMA2.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/OneLineAln.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/PB.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/PMSF.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/PhyloBiAssoc.R +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/PhyloBiAssoc.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/PlotMCMC.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/PlotMcmcNode.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/RootTree.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/RootTreeGTDB214.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/RootTreeGTDB220.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/SequentialDating.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/SingleAleHGT.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/SingleLinePhy.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/SliceMSA.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/SplitScore.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/SplitScore1.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/SplitScore1OMA.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/SplitScore2.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/TaxaCountStats.R +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/TaxonTree.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/TreeSAK_config.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/VisHPD95.R +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/VisHPD95.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/__init__.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/ale_parser.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/ale_splitter.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/alignment_pruner.pl +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/aster.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/catfasta2phy.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/compare_trees.R +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/compare_trees.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/dating_ss.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/deltall.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/do_rrtc.rb +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/fa2phy.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/format_leaf_name.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/gap_stats.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/get_SCG_tree.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/get_arCOG_seq.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/global_functions.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/iTOL.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/keep_highest_rrtc.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/label_tree.R +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/label_tree.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/mad.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/mcmctree.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/merge_pdf.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/pRTC.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/plot_distruibution_th.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/prep_mcmctree_ctl.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/print_leaves.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/pruneMSA.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/recode.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/rename_leaves.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/replace_clade.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/root_with_out_group.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/subsample_drep_gnms.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/subset.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK/weighted_rand.rb +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK.egg-info/dependency_links.txt +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK.egg-info/requires.txt +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/TreeSAK.egg-info/top_level.txt +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/setup.cfg +0 -0
- {TreeSAK-1.41.1 → TreeSAK-1.41.3}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TreeSAK
|
|
3
|
-
Version: 1.41.
|
|
3
|
+
Version: 1.41.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.41.
|
|
27
|
+
TreeSAK v1.41.3
|
|
@@ -124,12 +124,15 @@ def dating(args):
|
|
|
124
124
|
|
|
125
125
|
####################################################################################################################
|
|
126
126
|
|
|
127
|
+
current_pwd = os.getcwd()
|
|
128
|
+
|
|
127
129
|
tree_f_name, tree_f_path, tree_f_base, tree_f_ext = sep_path_basename_ext(tree_file)
|
|
128
130
|
msa_f_name, msa_f_path, msa_f_base, msa_f_ext = sep_path_basename_ext(msa_file)
|
|
129
131
|
|
|
130
|
-
get_bv_wd
|
|
131
|
-
mcmctree_ctl_bv
|
|
132
|
-
|
|
132
|
+
get_bv_wd = '%s/get_bv_wd' % op_dir
|
|
133
|
+
mcmctree_ctl_bv = '%s/mcmctree.ctl' % get_bv_wd
|
|
134
|
+
get_BV_cmd_txt = '%s/get_BV_cmd.txt' % get_bv_wd
|
|
135
|
+
dating_cmds_txt = '%s/dating_cmds.txt' % op_dir
|
|
133
136
|
|
|
134
137
|
# create output folder
|
|
135
138
|
if os.path.isdir(op_dir) is True:
|
|
@@ -141,7 +144,7 @@ def dating(args):
|
|
|
141
144
|
|
|
142
145
|
os.system('mkdir %s' % op_dir)
|
|
143
146
|
|
|
144
|
-
|
|
147
|
+
############################################# write out step 1 command #############################################
|
|
145
148
|
|
|
146
149
|
# prepare files for getting bv file
|
|
147
150
|
os.system('mkdir %s' % get_bv_wd)
|
|
@@ -158,17 +161,26 @@ def dating(args):
|
|
|
158
161
|
|
|
159
162
|
prep_mcmctree_ctl(get_bv_para_dict, mcmctree_ctl_bv)
|
|
160
163
|
|
|
161
|
-
# write out command
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
mcmctree_cmds_txt_handle.close()
|
|
164
|
+
# write out get bv command
|
|
165
|
+
get_BV_cmd_txt_handle = open(get_BV_cmd_txt, 'w')
|
|
166
|
+
get_BV_cmd_txt_handle.write('mcmctree\n')
|
|
167
|
+
get_BV_cmd_txt_handle.close()
|
|
166
168
|
|
|
167
|
-
|
|
169
|
+
# run command to get bv file
|
|
170
|
+
print('Running step one command to get the BV file.')
|
|
171
|
+
os.chdir(get_bv_wd)
|
|
172
|
+
#os.system('mcmctree > log.txt')
|
|
173
|
+
os.system('touch out.BV')
|
|
174
|
+
print('Step one finished.')
|
|
175
|
+
os.chdir(current_pwd)
|
|
176
|
+
|
|
177
|
+
############################################# write out step 2 command #############################################
|
|
178
|
+
|
|
179
|
+
print('Preparing files for dating estimation')
|
|
168
180
|
|
|
169
181
|
para_comb_dict = get_parameter_combinations(para_to_test_dict)
|
|
170
182
|
|
|
171
|
-
|
|
183
|
+
dating_cmds_txt_handle = open(dating_cmds_txt, 'w')
|
|
172
184
|
for para_comb in sorted(list(para_comb_dict.keys())):
|
|
173
185
|
|
|
174
186
|
# create dir
|
|
@@ -198,12 +210,16 @@ def dating(args):
|
|
|
198
210
|
prep_mcmctree_ctl(current_para_dict, mcmctree_ctl_1)
|
|
199
211
|
prep_mcmctree_ctl(current_para_dict, mcmctree_ctl_2)
|
|
200
212
|
|
|
213
|
+
# copy BV files generated in step one
|
|
214
|
+
os.system('cp %s/out.BV %s/in.BV' % (get_bv_wd, current_dating_wd_1))
|
|
215
|
+
os.system('cp %s/out.BV %s/in.BV' % (get_bv_wd, current_dating_wd_2))
|
|
216
|
+
|
|
201
217
|
# write out commands
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
218
|
+
dating_cmds_txt_handle.write('cd %s/%s/%s; mcmctree\n' % (current_pwd, op_dir, current_dating_wd_1.split('/')[-1]))
|
|
219
|
+
dating_cmds_txt_handle.write('cd %s/%s/%s; mcmctree\n' % (current_pwd, op_dir, current_dating_wd_2.split('/')[-1]))
|
|
220
|
+
dating_cmds_txt_handle.close()
|
|
205
221
|
|
|
206
|
-
print('Job script for performing dating exported to %s' %
|
|
222
|
+
print('Job script for performing dating exported to: %s' % dating_cmds_txt)
|
|
207
223
|
|
|
208
224
|
|
|
209
225
|
if __name__ == '__main__':
|
|
@@ -2,22 +2,25 @@ import argparse
|
|
|
2
2
|
from ete3 import Tree
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
mcmcTC_usage = '''
|
|
6
|
+
===================== mcmcTC example commands =====================
|
|
7
7
|
|
|
8
|
-
TreeSAK
|
|
8
|
+
TreeSAK mcmcTC -i in.tree -o out.tree -tc time_constraints.txt
|
|
9
9
|
|
|
10
|
-
# Format of constraint file (
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
# Format of constraint file (tab separated columns)
|
|
11
|
+
IMG2264867070_yang,GCF900696045_1_yang 3.46-4.38 Archaeal root
|
|
12
|
+
GCF000015225_1_yang,GCF000007225_1_yang -2.32 Oxygen Age Constraint, Thermoproteales
|
|
13
|
+
GCF000213215_1_yang,GCA000024305_1_yang -2.32 Oxygen Age Constraint, Sulfolobales
|
|
14
|
+
GCF000152265_2_yang,GCF000195915_1_yang -2.32 Oxygen Age Constraint, Thermoplasma
|
|
15
|
+
GCF000376445_1_yang,GCF000172995_2_yang -1.579 Chitin Age Constraint, Halobacteriales
|
|
16
|
+
GCF000195935_2_yang,GCF000151105_2_yang -1.579 Chitin Age Constraint, Thermococcales
|
|
17
|
+
GCA000802205_2_yang,GCA000200715_1 0.75-1.49 HGT from Viridiplantae to Thaumarchaeota
|
|
15
18
|
|
|
16
19
|
===================================================================
|
|
17
20
|
'''
|
|
18
21
|
|
|
19
22
|
|
|
20
|
-
def
|
|
23
|
+
def mcmcTC(args):
|
|
21
24
|
|
|
22
25
|
tree_file_in = args['i']
|
|
23
26
|
time_constraint_txt = args['tc']
|
|
@@ -70,17 +73,20 @@ def tc(args):
|
|
|
70
73
|
for each_constraint in constraint_set:
|
|
71
74
|
tree_out_str = tree_out_str.replace(each_constraint, ("'%s'" % each_constraint))
|
|
72
75
|
|
|
76
|
+
# remove the most outside parenthesis
|
|
77
|
+
tree_out_str = tree_out_str[1:].replace(');', ';')
|
|
78
|
+
|
|
73
79
|
# write tree to file
|
|
74
80
|
with open(tree_file_out, 'w') as tree_file_out_handle:
|
|
75
|
-
tree_file_out_handle.write('%s\t1' % len(tree_in.get_leaves()))
|
|
81
|
+
tree_file_out_handle.write('%s\t1\n' % len(tree_in.get_leaves()))
|
|
76
82
|
tree_file_out_handle.write(tree_out_str)
|
|
77
83
|
|
|
78
84
|
|
|
79
85
|
if __name__ == '__main__':
|
|
80
86
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
args = vars(
|
|
86
|
-
|
|
87
|
+
mcmcTC_parser = argparse.ArgumentParser()
|
|
88
|
+
mcmcTC_parser.add_argument('-i', required=True, help='input tree')
|
|
89
|
+
mcmcTC_parser.add_argument('-o', required=True, help='output tree')
|
|
90
|
+
mcmcTC_parser.add_argument('-tc', required=True, help='time constraint file')
|
|
91
|
+
args = vars(mcmcTC_parser.parse_args())
|
|
92
|
+
mcmcTC(args)
|
|
@@ -49,5 +49,4 @@ qualified_og_seq_dir = '/scratch/PI/ocessongwz/Sponge_r220/4_OMA_wd_115_gen
|
|
|
49
49
|
step_2_op_dir = '/scratch/PI/ocessongwz/Sponge_r220/4_OMA_wd_115_genomes/OMA_wd/Output/OMA_75_5_dRep85_115_cov90/SplitScore2_op_dir'
|
|
50
50
|
marker_rank_cutoff_str = '10'
|
|
51
51
|
|
|
52
|
-
group_marker(TaxaCountStats_output_txt, qualified_og_seq_dir, marker_rank_cutoff_str, step_2_op_dir)
|
|
53
|
-
|
|
52
|
+
# group_marker(TaxaCountStats_output_txt, qualified_og_seq_dir, marker_rank_cutoff_str, step_2_op_dir)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TreeSAK
|
|
3
|
-
Version: 1.41.
|
|
3
|
+
Version: 1.41.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.41.
|
|
27
|
+
TreeSAK v1.41.3
|
|
@@ -83,6 +83,7 @@ TreeSAK/keep_highest_rrtc.py
|
|
|
83
83
|
TreeSAK/label_tree.R
|
|
84
84
|
TreeSAK/label_tree.py
|
|
85
85
|
TreeSAK/mad.py
|
|
86
|
+
TreeSAK/mcmcTC.py
|
|
86
87
|
TreeSAK/mcmctree.py
|
|
87
88
|
TreeSAK/merge_pdf.py
|
|
88
89
|
TreeSAK/pRTC.py
|
|
@@ -98,7 +99,6 @@ TreeSAK/run_TaxaCountStats_R_s1.py
|
|
|
98
99
|
TreeSAK/subsample_drep_gnms.py
|
|
99
100
|
TreeSAK/subset.py
|
|
100
101
|
TreeSAK/subset_tree_stupid_old_way.py
|
|
101
|
-
TreeSAK/tc.py
|
|
102
102
|
TreeSAK/tmp_1.py
|
|
103
103
|
TreeSAK/weighted_rand.rb
|
|
104
104
|
TreeSAK.egg-info/PKG-INFO
|
|
@@ -89,7 +89,7 @@ def print_main_help():
|
|
|
89
89
|
PlotMcmcNode -> distribution of node's age estimation
|
|
90
90
|
VisHPD95 -> HPD95 of estimated node age
|
|
91
91
|
pRTC -> Perform probabilistic RTC dating
|
|
92
|
-
|
|
92
|
+
mcmcTC -> adding time constraints to mcmctree tree
|
|
93
93
|
|
|
94
94
|
Phylo-related stats
|
|
95
95
|
PhyloBiAssoc -> A wrapper for binaryPGLMM test
|
|
@@ -790,14 +790,14 @@ if __name__ == '__main__':
|
|
|
790
790
|
args = vars(parser.parse_args())
|
|
791
791
|
TaxonTree.TaxonTree(args)
|
|
792
792
|
|
|
793
|
-
elif sys.argv[1] == '
|
|
794
|
-
from TreeSAK import
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
793
|
+
elif sys.argv[1] == 'mcmcTC':
|
|
794
|
+
from TreeSAK import mcmcTC
|
|
795
|
+
mcmcTC_parser = subparsers.add_parser('mcmcTC', usage=mcmcTC.mcmcTC_usage)
|
|
796
|
+
mcmcTC_parser.add_argument('-i', required=True, help='input tree')
|
|
797
|
+
mcmcTC_parser.add_argument('-o', required=True, help='output tree')
|
|
798
|
+
mcmcTC_parser.add_argument('-tc', required=True, help='time constraint file')
|
|
799
799
|
args = vars(parser.parse_args())
|
|
800
|
-
|
|
800
|
+
mcmcTC.mcmcTC(args)
|
|
801
801
|
|
|
802
802
|
else:
|
|
803
803
|
print('Unrecognized module: %s, program exited' % sys.argv[1])
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|