TreeSAK 1.53.0__tar.gz → 1.53.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.
- {treesak-1.53.0/treesak.egg-info → treesak-1.53.1}/PKG-INFO +2 -2
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/VERSION +3 -3
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/batch_itol.py +9 -7
- {treesak-1.53.0 → treesak-1.53.1/treesak.egg-info}/PKG-INFO +2 -2
- {treesak-1.53.0 → treesak-1.53.1}/LICENSE +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/MANIFEST.in +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/README.md +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/ALE.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/ALE1.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/ALE2.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/ALE2RTC.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/ALE3.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/ALE4.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/ALE5.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/ALE6.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/ALE7.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/ALE_backup.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/AssessCVG.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/AssessMarker.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/AssessMarkerPA.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/AssessPB.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/BMGE.jar +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/BMGE.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/C60SR4.nex +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/CompareMCMC.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/ConcateMSA.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/ConvertMSA.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/Dir.rb +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/ExtractMarkerSeq.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/FastRoot.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/FastRoot_backup.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/FigTree.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/GTDB_tree.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/GeneTree.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/KEGG_Luo17.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/LcaToLeaves.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/MarkerRef2Tree.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/MarkerSeq2Tree.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/MarkerSeq2Tree_backup.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/ModifyTopo.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/Newick_tree_plotter.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/OMA.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/OMA2.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/OneLineAln.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/PB.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/PMSF.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/PhyloBiAssoc.R +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/PhyloBiAssoc.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/PlotMCMC.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/PlotMcmcNode.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/PlotMcmcNode_old.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/RootTree.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/RootTreeGTDB.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/RootTreeGTDB214.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/RootTreeGTDB220.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/SequentialDating.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/SingleAleHGT.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/SingleLinePhy.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/SliceMSA.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/SplitScore.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/SplitScore1.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/SplitScore1OMA.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/SplitScore2.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/TaxaCountStats.R +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/TaxonTree.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/TreeSAK_config.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/VisHPD95.R +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/VisHPD95.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/__init__.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/ale_parser.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/ale_splitter.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/alignment_pruner.pl +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/assessOG.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/catfasta2phy.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/cogTree.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/compare_trees.R +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/compare_trees.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/dating.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/dating_ss.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/deltall.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/do_rrtc.rb +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/fa2phy.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/filter_rename_ar53.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/format_leaf_name.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/gap_stats.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/get_SCG_tree.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/get_arCOG_seq.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/global_functions.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/gnm_leaves.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/iTOL.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/iTOL_gene_tree.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/itol_msa_stats.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/keep_highest_rrtc.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/koTree.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/label_gene_tree_by_gnm.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/label_tree.R +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/label_tree.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/mad.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/mcmc2tree.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/mcmcTC copy.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/mcmcTC.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/mcmctree_vs_reltime.R +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/mcmctree_vs_reltime.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/merge_pdf.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/pRTC.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/parse_mcmctree.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/parse_reltime.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/phy2fa.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/plot_distruibution_th.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/prep_mcmctree_ctl.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/print_leaves.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/pruneMSA.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/recode.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/remove_bias.R +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/rename_leaves.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/replace_clade.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/root_with_out_group.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/subsample_drep_gnms.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/subset.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/supertree.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/tmp_1.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/tmp_2.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/tmp_3.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/tmp_4.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/TreeSAK/weighted_rand.rb +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/bin/TreeSAK +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/setup.cfg +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/setup.py +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/treesak.egg-info/SOURCES.txt +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/treesak.egg-info/dependency_links.txt +0 -0
- {treesak-1.53.0 → treesak-1.53.1}/treesak.egg-info/requires.txt +0 -0
- {treesak-1.53.0 → treesak-1.53.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.53.
|
|
3
|
+
Version: 1.53.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.53.
|
|
27
|
+
TreeSAK v1.53.1
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import glob
|
|
3
3
|
import argparse
|
|
4
|
+
from pathlib import Path
|
|
4
5
|
from itolapi import Itol
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
batch_itol_usage = '''
|
|
8
9
|
======================================= batch_itol example commands =======================================
|
|
9
10
|
|
|
10
|
-
BioSAK batch_itol -
|
|
11
|
-
BioSAK batch_itol -
|
|
11
|
+
BioSAK batch_itol -api API_key -project batch_access_tmp -a annotation_files.txt -i input.tree -o out.pdf
|
|
12
|
+
BioSAK batch_itol -api API_key -project batch_access_tmp -a annotation_files.txt -i tree_dir -x tree -o out_pdf
|
|
13
|
+
|
|
14
|
+
Manual
|
|
15
|
+
https://github.com/albertyw/itolapi
|
|
16
|
+
http://itol.embl.de/help.cgi#batch
|
|
12
17
|
|
|
13
18
|
===========================================================================================================
|
|
14
19
|
'''
|
|
@@ -30,9 +35,6 @@ def itol_single_tree(tree_file, annotation_files_txt, project_name, APIkey, op_p
|
|
|
30
35
|
for each_file in open(annotation_files_txt):
|
|
31
36
|
annotation_file_list.append(each_file.strip())
|
|
32
37
|
|
|
33
|
-
# https://github.com/albertyw/itolapi
|
|
34
|
-
# http://itol.embl.de/help.cgi#batch
|
|
35
|
-
|
|
36
38
|
op_plot_ext = op_plot.split('.')[-1]
|
|
37
39
|
|
|
38
40
|
# upload tree to iTOL
|
|
@@ -40,11 +42,11 @@ def itol_single_tree(tree_file, annotation_files_txt, project_name, APIkey, op_p
|
|
|
40
42
|
itol_uploader.params['projectName'] = project_name # better to create a project with a unique name.
|
|
41
43
|
itol_uploader.params['APIkey'] = APIkey # sine we are the same account, we can use the same APIkey
|
|
42
44
|
itol_uploader.params['treeName'] = tree_file
|
|
43
|
-
itol_uploader.add_file(tree_file)
|
|
45
|
+
itol_uploader.add_file(Path(tree_file))
|
|
44
46
|
|
|
45
47
|
# upload annotation files to iTOL
|
|
46
48
|
for annotation_file in annotation_file_list:
|
|
47
|
-
itol_uploader.add_file(annotation_file)
|
|
49
|
+
itol_uploader.add_file(Path(annotation_file))
|
|
48
50
|
|
|
49
51
|
status = itol_uploader.upload()
|
|
50
52
|
# import pdb;pdb.set_trace()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: treesak
|
|
3
|
-
Version: 1.53.
|
|
3
|
+
Version: 1.53.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.53.
|
|
27
|
+
TreeSAK v1.53.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|