TreeSAK 1.45.0__tar.gz → 1.45.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.45.0/TreeSAK.egg-info → TreeSAK-1.45.2}/PKG-INFO +2 -2
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/VERSION +3 -3
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/iTOL.py +4 -0
- TreeSAK-1.45.2/TreeSAK/iTOL_gene_tree.py +74 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2/TreeSAK.egg-info}/PKG-INFO +2 -2
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/bin/TreeSAK +4 -3
- TreeSAK-1.45.0/TreeSAK/iTOL_gene_tree.py +0 -57
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/LICENSE +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/MANIFEST.in +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/README.md +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/ALE.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/ALE1.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/ALE2.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/ALE2RTC.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/ALE3.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/ALE4.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/ALE5.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/ALE6.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/ALE7.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/ALE_backup.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/AssessCVG.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/AssessMarker.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/AssessMarkerPA.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/AssessPB.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/BMGE.jar +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/BMGE.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/CompareMCMC.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/ConcateMSA.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/ConvertMSA.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/Dir.rb +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/ExtractMarkerSeq.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/FastRoot.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/FastRoot_backup.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/FunTree.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/GTDB_tree.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/KEGG_Luo17.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/LcaToLeaves.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/MarkerRef2Tree.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/MarkerSeq2Tree.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/ModifyTopo.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/Newick_tree_plotter.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/OMA.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/OMA2.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/OneLineAln.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/PB.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/PMSF.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/PhyloBiAssoc.R +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/PhyloBiAssoc.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/PlotMCMC.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/PlotMcmcNode.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/RootTree.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/RootTreeGTDB214.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/RootTreeGTDB220.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/SequentialDating.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/SingleAleHGT.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/SingleLinePhy.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/SliceMSA.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/SplitScore.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/SplitScore1.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/SplitScore1OMA.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/SplitScore2.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/TaxaCountStats.R +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/TaxonTree.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/TreeSAK_config.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/VisHPD95.R +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/VisHPD95.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/__init__.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/ale_parser.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/ale_splitter.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/alignment_pruner.pl +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/catfasta2phy.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/compare_trees.R +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/compare_trees.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/dating.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/dating_ss.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/deltall.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/do_rrtc.rb +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/fa2phy.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/format_leaf_name.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/gap_stats.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/get_SCG_tree.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/get_arCOG_seq.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/global_functions.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/gnm_leaves.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/keep_highest_rrtc.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/label_tree.R +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/label_tree.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/mad.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/mcmc2tree.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/mcmcTC.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/merge_pdf.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/pRTC.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/plot_distruibution_th.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/prep_mcmctree_ctl.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/print_leaves.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/pruneMSA.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/recode.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/rename_leaves.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/replace_clade.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/root_with_out_group.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/subsample_drep_gnms.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/subset.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/supertree.py +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK/weighted_rand.rb +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK.egg-info/SOURCES.txt +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK.egg-info/dependency_links.txt +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK.egg-info/requires.txt +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/TreeSAK.egg-info/top_level.txt +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/setup.cfg +0 -0
- {TreeSAK-1.45.0 → TreeSAK-1.45.2}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TreeSAK
|
|
3
|
-
Version: 1.45.
|
|
3
|
+
Version: 1.45.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.45.
|
|
27
|
+
TreeSAK v1.45.2
|
|
@@ -232,6 +232,10 @@ def iTOL(args):
|
|
|
232
232
|
FileOut_handle.write('\n# customize strip attributes here\n')
|
|
233
233
|
FileOut_handle.write('STRIP_WIDTH\t%s\n' % STRIP_WIDTH)
|
|
234
234
|
FileOut_handle.write('MARGIN\t%s\n' % MARGIN)
|
|
235
|
+
FileOut_handle.write('\n# customize labels on the trip\n')
|
|
236
|
+
FileOut_handle.write('SHOW_STRIP_LABELS\t1\n')
|
|
237
|
+
FileOut_handle.write('STRIP_LABEL_POSITION\tcenter\n')
|
|
238
|
+
FileOut_handle.write('STRIP_LABEL_ROTATION\t90\n')
|
|
235
239
|
|
|
236
240
|
# write out legend info
|
|
237
241
|
FileOut_handle.write('\n# customize legend here\n')
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import argparse
|
|
3
|
+
from ete3 import Tree
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
iTOL_gene_tree_usage = '''
|
|
7
|
+
====================== iTOL_gene_tree example commands ======================
|
|
8
|
+
|
|
9
|
+
TreeSAK iTOL_gene_tree -tree genes.tree -i gnm_taxon.txt -o gene_taxon.txt
|
|
10
|
+
TreeSAK iTOL_gene_tree -txt gene_id.txt -i gnm_taxon.txt -o gene_taxon.txt
|
|
11
|
+
|
|
12
|
+
=============================================================================
|
|
13
|
+
'''
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def iTOL_gene_tree(args):
|
|
17
|
+
|
|
18
|
+
input_tree_file = args['tree']
|
|
19
|
+
input_txt_file = args['txt']
|
|
20
|
+
meta_txt = args['i']
|
|
21
|
+
op_txt = args['o']
|
|
22
|
+
|
|
23
|
+
if (input_tree_file is None) and (input_txt_file is None):
|
|
24
|
+
print('Please provide gene id with at least one approach, program exited!')
|
|
25
|
+
exit()
|
|
26
|
+
|
|
27
|
+
if os.path.isfile(meta_txt) is False:
|
|
28
|
+
print('Metadata file not found, program exited!')
|
|
29
|
+
exit()
|
|
30
|
+
|
|
31
|
+
metadata_dict = dict()
|
|
32
|
+
for each_gnm in open(meta_txt):
|
|
33
|
+
each_gnm_split = each_gnm.strip().split('\t')
|
|
34
|
+
if len(each_gnm_split) == 2:
|
|
35
|
+
gnm_id = each_gnm_split[0]
|
|
36
|
+
meta_value = each_gnm_split[1]
|
|
37
|
+
metadata_dict[gnm_id] = meta_value
|
|
38
|
+
|
|
39
|
+
gene_id_set = set()
|
|
40
|
+
if input_tree_file is not None:
|
|
41
|
+
if os.path.isfile(input_tree_file) is False:
|
|
42
|
+
print('Tree file not found, program exited!')
|
|
43
|
+
exit()
|
|
44
|
+
else:
|
|
45
|
+
for leaf in Tree(input_tree_file, format=1):
|
|
46
|
+
gene_id_set.add(leaf.name)
|
|
47
|
+
|
|
48
|
+
if input_txt_file is not None:
|
|
49
|
+
if os.path.isfile(input_txt_file) is False:
|
|
50
|
+
print('Txt file not found, program exited!')
|
|
51
|
+
exit()
|
|
52
|
+
else:
|
|
53
|
+
for each_id in open(input_txt_file):
|
|
54
|
+
gene_id_set.add(each_id.strip())
|
|
55
|
+
|
|
56
|
+
op_txt_handle = open(op_txt, 'w')
|
|
57
|
+
for gene_id in gene_id_set:
|
|
58
|
+
gnm_id = '_'.join(gene_id.split('_')[:-1])
|
|
59
|
+
gnm_meta = metadata_dict.get(gnm_id, 'na')
|
|
60
|
+
op_txt_handle.write('%s\t%s\n' % (gene_id, gnm_meta))
|
|
61
|
+
op_txt_handle.close()
|
|
62
|
+
|
|
63
|
+
print('Done!')
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
if __name__ == '__main__':
|
|
67
|
+
|
|
68
|
+
iTOL_gene_tree_parser = argparse.ArgumentParser(usage=iTOL_gene_tree_usage)
|
|
69
|
+
iTOL_gene_tree_parser.add_argument('-i', required=True, help='input metadata')
|
|
70
|
+
iTOL_gene_tree_parser.add_argument('-tree', required=False, default=None, help='gene id, in tree file')
|
|
71
|
+
iTOL_gene_tree_parser.add_argument('-txt', required=False, default=None, help='gene id, in txt file')
|
|
72
|
+
iTOL_gene_tree_parser.add_argument('-o', required=True, help='output metadata')
|
|
73
|
+
args = vars(iTOL_gene_tree_parser.parse_args())
|
|
74
|
+
iTOL_gene_tree(args)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TreeSAK
|
|
3
|
-
Version: 1.45.
|
|
3
|
+
Version: 1.45.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.45.
|
|
27
|
+
TreeSAK v1.45.2
|
|
@@ -846,9 +846,10 @@ if __name__ == '__main__':
|
|
|
846
846
|
elif sys.argv[1] == 'iTOL_gene_tree':
|
|
847
847
|
from TreeSAK import iTOL_gene_tree
|
|
848
848
|
iTOL_gene_tree_parser = subparsers.add_parser('iTOL_gene_tree', usage=iTOL_gene_tree.iTOL_gene_tree_usage)
|
|
849
|
-
iTOL_gene_tree_parser.add_argument('-i',
|
|
850
|
-
iTOL_gene_tree_parser.add_argument('-
|
|
851
|
-
iTOL_gene_tree_parser.add_argument('-
|
|
849
|
+
iTOL_gene_tree_parser.add_argument('-i', required=True, help='input metadata')
|
|
850
|
+
iTOL_gene_tree_parser.add_argument('-tree', required=False, default=None, help='gene id, in tree file')
|
|
851
|
+
iTOL_gene_tree_parser.add_argument('-txt', required=False, default=None, help='gene id, in txt file')
|
|
852
|
+
iTOL_gene_tree_parser.add_argument('-o', required=True, help='output metadata')
|
|
852
853
|
args = vars(parser.parse_args())
|
|
853
854
|
iTOL_gene_tree.iTOL_gene_tree(args)
|
|
854
855
|
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import os
|
|
2
|
-
import argparse
|
|
3
|
-
from ete3 import Tree
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
iTOL_gene_tree_usage = '''
|
|
7
|
-
================== iTOL_gene_tree example commands ==================
|
|
8
|
-
|
|
9
|
-
TreeSAK -g gene.tree -i genome_taxon.txt -o gene_taxon.txt
|
|
10
|
-
TreeSAK -g gene.tree -i genome_habitat.txt -o gene_habitat.txt
|
|
11
|
-
TreeSAK -g gene.tree -i genome_abundance.txt -o gene_abundance.txt
|
|
12
|
-
|
|
13
|
-
=====================================================================
|
|
14
|
-
'''
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
def iTOL_gene_tree(args):
|
|
18
|
-
|
|
19
|
-
tree_file = args['g']
|
|
20
|
-
meta_txt = args['i']
|
|
21
|
-
op_txt = args['o']
|
|
22
|
-
|
|
23
|
-
if os.path.isfile(tree_file) is False:
|
|
24
|
-
print('Tree file not found, program exited!')
|
|
25
|
-
exit()
|
|
26
|
-
|
|
27
|
-
if os.path.isfile(meta_txt) is False:
|
|
28
|
-
print('Metadata file not found, program exited!')
|
|
29
|
-
exit()
|
|
30
|
-
|
|
31
|
-
metadata_dict = dict()
|
|
32
|
-
for each_gnm in open(meta_txt):
|
|
33
|
-
each_gnm_split = each_gnm.strip().split('\t')
|
|
34
|
-
if len(each_gnm_split) == 2:
|
|
35
|
-
gnm_id = each_gnm_split[0]
|
|
36
|
-
meta_value = each_gnm_split[1]
|
|
37
|
-
metadata_dict[gnm_id] = meta_value
|
|
38
|
-
|
|
39
|
-
op_txt_handle = open(op_txt, 'w')
|
|
40
|
-
for leaf in Tree(tree_file, format=1):
|
|
41
|
-
leaf_name = leaf.name
|
|
42
|
-
gnm_name = '_'.join(leaf_name.split('_')[:-1])
|
|
43
|
-
gnm_meta = metadata_dict.get(gnm_name, 'na')
|
|
44
|
-
op_txt_handle.write('%s\t%s\n' % (leaf_name, gnm_meta))
|
|
45
|
-
op_txt_handle.close()
|
|
46
|
-
|
|
47
|
-
print('Done!')
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
if __name__ == '__main__':
|
|
51
|
-
|
|
52
|
-
iTOL_gene_tree_parser = argparse.ArgumentParser(usage=iTOL_gene_tree_usage)
|
|
53
|
-
iTOL_gene_tree_parser.add_argument('-i', required=True, help='input metadata')
|
|
54
|
-
iTOL_gene_tree_parser.add_argument('-g', required=True, help='gene tree file')
|
|
55
|
-
iTOL_gene_tree_parser.add_argument('-o', required=True, help='output metadata')
|
|
56
|
-
args = vars(iTOL_gene_tree_parser.parse_args())
|
|
57
|
-
iTOL_gene_tree(args)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|