TreeSAK 1.34.6__tar.gz → 1.34.8__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.34.6/TreeSAK.egg-info → TreeSAK-1.34.8}/PKG-INFO +2 -2
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/PB.py +17 -12
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/VERSION +1 -1
- {TreeSAK-1.34.6 → TreeSAK-1.34.8/TreeSAK.egg-info}/PKG-INFO +2 -2
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/bin/TreeSAK +7 -7
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/LICENSE +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/MANIFEST.in +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/README.md +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ALE.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ALE1.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ALE2.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ALE2RTC.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ALE3.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ALE4.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ALE5.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ALE6.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ALE_backup.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/AlignmentPruner.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/AssessCVG.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/AssessMarker.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/AssessMarkerPA.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/BMGE.jar +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/BMGE.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/CompareMCMC.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ConcateMSA.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ConvertMSA.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/Dir.rb +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ExtractMarkerSeq.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/FastRoot.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/FastRoot_backup.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/GTDB_tree.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/KEGG_Luo17.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/LcaToLeaves.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/MCMCtreeR.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/MarkerRef2Tree.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/MarkerSeq2Tree.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ModifyTopo.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/OMA.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/OMA2.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/OneLineAln.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/PMSF.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/PhyloBiAssoc.R +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/PhyloBiAssoc.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/PlotMcmcNode.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/RootTree.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/RootTreeGTDB214.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/RootTreeGTDB220.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/SequentialDating.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/SingleAleHGT.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/SingleLinePhy.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/SliceMSA.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/SplitScore.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/SplitScore1.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/SplitScore1OMA.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/SplitScore2.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/TaxaCountStats.R +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/TreeSAK_config.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/VisHPD95.R +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/VisHPD95.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/__init__.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ale_parser.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ale_splitter.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/compare_trees.R +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/compare_trees.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/dating.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/dating_ss.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/do_rrtc.rb +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/fa2phy.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/format_leaf_name.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/get_arCOG_seq.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/global_functions.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/merge_pdf.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/pRTC.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/parse_deltall_stdout.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/plot_distruibution_th.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/prep_mcmctree_ctl.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/print_leaves.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/rename_leaves.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/replace_clade.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/root_with_out_group.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/subsample_drep_gnms.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/subset.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/test_1.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/test_2.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/tmp_2.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/tmp_3.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/tmp_4.py +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/weighted_rand.rb +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK.egg-info/SOURCES.txt +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK.egg-info/dependency_links.txt +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK.egg-info/requires.txt +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK.egg-info/top_level.txt +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/setup.cfg +0 -0
- {TreeSAK-1.34.6 → TreeSAK-1.34.8}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TreeSAK
|
|
3
|
-
Version: 1.34.
|
|
3
|
+
Version: 1.34.8
|
|
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.34.
|
|
27
|
+
TreeSAK v1.34.8
|
|
@@ -65,7 +65,8 @@ def PB(args):
|
|
|
65
65
|
|
|
66
66
|
settings_dombrowski = '-cat -gtr -x 10 -1 -dgam 4'
|
|
67
67
|
setting_to_use = settings_dombrowski
|
|
68
|
-
msa_in_plp = '%s/%s.phylip'
|
|
68
|
+
msa_in_plp = '%s/%s.phylip' % (op_dir, msa_in)
|
|
69
|
+
cmd_txt = '%s/cmds.txt' % op_dir
|
|
69
70
|
|
|
70
71
|
####################################################################################################################
|
|
71
72
|
|
|
@@ -108,10 +109,14 @@ def PB(args):
|
|
|
108
109
|
pb_mpi_cmd = 'mpirun -np %s pb_mpi -d %s %s -s %s/%s_chain%s' % (cores_per_run, msa_to_use, setting_to_use, current_wd, op_prefix, chain_index)
|
|
109
110
|
pb_mpi_cmd_list.append(pb_mpi_cmd)
|
|
110
111
|
|
|
112
|
+
# write out commands
|
|
113
|
+
cmd_txt_handle = open(cmd_txt, 'w')
|
|
114
|
+
for cmd in pb_mpi_cmd_list:
|
|
115
|
+
cmd_txt_handle.write(cmd + '\n')
|
|
116
|
+
cmd_txt_handle.close()
|
|
117
|
+
|
|
111
118
|
# run chains with mp
|
|
112
119
|
print('Running pb_mpi with multiprocessing')
|
|
113
|
-
for cmd in pb_mpi_cmd_list:
|
|
114
|
-
print(cmd)
|
|
115
120
|
pool = mp.Pool(processes=jobs_to_run_in_parallel)
|
|
116
121
|
pool.map(os.system, pb_mpi_cmd_list)
|
|
117
122
|
pool.close()
|
|
@@ -125,13 +130,13 @@ def PB(args):
|
|
|
125
130
|
|
|
126
131
|
if __name__ == '__main__':
|
|
127
132
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
args = vars(
|
|
133
|
+
PB_parser = argparse.ArgumentParser()
|
|
134
|
+
PB_parser.add_argument('-i', required=True, help='input MSA file')
|
|
135
|
+
PB_parser.add_argument('-o', required=True, help='output directory')
|
|
136
|
+
PB_parser.add_argument('-p', required=True, help='output prefix')
|
|
137
|
+
PB_parser.add_argument('-fa2plp', required=False, action="store_true", help='convert MSA format from fasta to phylip')
|
|
138
|
+
PB_parser.add_argument('-chain', required=False, type=int, default=4, help='num of chains to run in parallel, default: 4')
|
|
139
|
+
PB_parser.add_argument('-t', required=False, type=int, default=4, help='num of cores, default: 4')
|
|
140
|
+
PB_parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
|
|
141
|
+
args = vars(PB_parser.parse_args())
|
|
137
142
|
PB(args)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TreeSAK
|
|
3
|
-
Version: 1.34.
|
|
3
|
+
Version: 1.34.8
|
|
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.34.
|
|
27
|
+
TreeSAK v1.34.8
|
|
@@ -682,13 +682,13 @@ if __name__ == '__main__':
|
|
|
682
682
|
elif sys.argv[1] in ['PB', 'Pb', 'pb']:
|
|
683
683
|
from TreeSAK import PB
|
|
684
684
|
PB_parser = subparsers.add_parser('PB', usage=PB.PB_usage)
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
685
|
+
PB_parser.add_argument('-i', required=True, help='input MSA file')
|
|
686
|
+
PB_parser.add_argument('-o', required=True, help='output directory')
|
|
687
|
+
PB_parser.add_argument('-p', required=True, help='output prefix')
|
|
688
|
+
PB_parser.add_argument('-fa2plp', required=False, action="store_true", help='convert MSA format from fasta to phylip')
|
|
689
|
+
PB_parser.add_argument('-chain', required=False, type=int, default=4, help='num of chains to run in parallel, default: 4')
|
|
690
|
+
PB_parser.add_argument('-t', required=False, type=int, default=4, help='num of cores, default: 4')
|
|
691
|
+
PB_parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
|
|
692
692
|
args = vars(parser.parse_args())
|
|
693
693
|
PB.PB(args)
|
|
694
694
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|