TreeSAK 1.57.3__tar.gz → 1.57.4__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.57.3/treesak.egg-info → treesak-1.57.4}/PKG-INFO +2 -2
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/VERSION +1 -1
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/guide_tree.py +61 -42
- {treesak-1.57.3 → treesak-1.57.4}/bin/TreeSAK +4 -3
- {treesak-1.57.3 → treesak-1.57.4/treesak.egg-info}/PKG-INFO +2 -2
- {treesak-1.57.3 → treesak-1.57.4}/LICENSE +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/MANIFEST.in +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/README.md +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/ALE.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/ALE1.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/ALE2.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/ALE2RTC.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/ALE3.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/ALE4.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/ALE5.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/ALE6.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/ALE7.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/ALE_backup.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/AssessCVG.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/AssessMarker.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/AssessMarkerPA.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/BMGE.jar +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/BMGE.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/C60SR4.nex +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/CompareMCMC.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/ConcateMSA.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/ConvertMSA.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/Dir.rb +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/ExtractMarkerSeq.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/FastRoot.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/FastRoot_backup.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/FigTree.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/GTDB_tree.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/GeneTree.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/KEGG_Luo17.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/LcaToLeaves.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/MarkerRef2Tree.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/MarkerSeq2Tree.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/MarkerSeq2Tree_backup.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/ModifyTopo.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/Newick_tree_plotter.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/OMA.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/OMA2.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/OneLineAln.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/PB.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/PMSF.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/PhyloBiAssoc.R +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/PhyloBiAssoc.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/PlotMCMC.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/PlotMcmcNode.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/PlotMcmcNode_old.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/RootTree.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/RootTreeGTDB.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/RootTreeGTDB214.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/RootTreeGTDB220.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/SequentialDating.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/SingleAleHGT.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/SingleLinePhy.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/SliceMSA.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/SplitScore.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/SplitScore1.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/SplitScore1OMA.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/SplitScore2.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/Tanglegram.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/TaxaCountStats.R +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/TaxonTree.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/TimeScale.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/TreeSAK_config.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/VisHPD95.R +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/VisHPD95.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/__init__.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/ale_parser.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/ale_splitter.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/alignment_pruner.pl +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/assessOG.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/assessPB.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/batch_itol.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/catfasta2phy.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/cogTree.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/compare_trees.R +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/compare_trees.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/cophyloplot.R +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/cophyloplot.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/dating.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/dating_ss.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/deltall.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/do_rrtc.rb +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/fa2phy.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/filter_rename_ar53.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/format_leaf_name.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/gap_stats.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/get_SCG_tree.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/get_arCOG_seq.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/get_lca_id.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/global_functions.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/gnm_leaves.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/iTOL.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/iTOL_gene_tree.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/itol_msa_stats.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/keep_highest_rrtc.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/koTree.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/label_gene_tree_by_gnm.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/label_tree.R +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/label_tree.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/mad.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/mcmc2tree.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/mcmcTC copy.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/mcmcTC.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/mcmctree_out.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/mcmctree_vs_reltime.R +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/mcmctree_vs_reltime.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/merge_pdf.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/pRTC.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/parse_mcmctree.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/parse_reltime.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/phy2fa.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/plot_distruibution_th.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/prep_mcmctree_ctl.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/print_leaves.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/pruneMSA.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/recode.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/remove_bias.R +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/rename_leaves.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/replace_clade.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/root_with_out_group.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/subsample_drep_gnms.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/subset.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/supertree.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/tmp_1.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/tmp_2.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/tmp_3.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/tmp_4.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/tree_fmt.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/TreeSAK/weighted_rand.rb +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/setup.cfg +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/setup.py +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/treesak.egg-info/SOURCES.txt +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/treesak.egg-info/dependency_links.txt +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/treesak.egg-info/requires.txt +0 -0
- {treesak-1.57.3 → treesak-1.57.4}/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.57.
|
|
3
|
+
Version: 1.57.4
|
|
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.57.
|
|
27
|
+
TreeSAK v1.57.4
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import argparse
|
|
3
3
|
from ete3 import Tree
|
|
4
|
+
from Bio import SeqIO
|
|
4
5
|
|
|
6
|
+
guide_tree_usage = '''
|
|
7
|
+
============================== guide_tree example command ==============================
|
|
8
|
+
|
|
9
|
+
TreeSAK guide_tree -i in.tree -g gnm_group.txt -o out.tree
|
|
10
|
+
TreeSAK guide_tree -i in.tree -g gnm_group.txt -o out.tree -id interested_gnm.txt
|
|
11
|
+
TreeSAK guide_tree -i in.tree -g gnm_group.txt -o out.tree -id representative_gene.fa
|
|
12
|
+
TreeSAK guide_tree -i in.tree -g gnm_group.txt -o out.tree -id representative_gene.aln
|
|
13
|
+
|
|
14
|
+
========================================================================================
|
|
15
|
+
'''
|
|
5
16
|
|
|
6
17
|
def sep_path_basename_ext(file_in):
|
|
7
18
|
|
|
@@ -14,45 +25,43 @@ def sep_path_basename_ext(file_in):
|
|
|
14
25
|
return f_name, f_path, f_base, f_ext
|
|
15
26
|
|
|
16
27
|
|
|
17
|
-
|
|
18
|
-
======================== guide_tree example command ========================
|
|
19
|
-
|
|
20
|
-
TreeSAK guide_tree -i in.tree -g gnm_group.txt -o out.tree
|
|
28
|
+
def guide_tree(args):
|
|
21
29
|
|
|
22
|
-
|
|
23
|
-
|
|
30
|
+
tree_in = args['i']
|
|
31
|
+
gnm_group_txt = args['g']
|
|
32
|
+
interested_gene_gnm_txt_fa = args['id']
|
|
33
|
+
tree_out = args['o']
|
|
24
34
|
|
|
25
|
-
|
|
26
|
-
''
|
|
35
|
+
if os.path.isfile(tree_in) is False:
|
|
36
|
+
print('%s not exist, program exited!' % tree_in)
|
|
37
|
+
exit()
|
|
27
38
|
|
|
39
|
+
count_all_gene_genome = True
|
|
40
|
+
interested_gene_genome_set = set()
|
|
41
|
+
if interested_gene_gnm_txt_fa is not None:
|
|
28
42
|
|
|
29
|
-
|
|
43
|
+
if os.path.isfile(interested_gene_gnm_txt_fa) is False:
|
|
44
|
+
print('%s not exist, program exited!' % interested_gene_gnm_txt_fa)
|
|
45
|
+
exit()
|
|
30
46
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
47
|
+
count_all_gene_genome = False
|
|
48
|
+
_, _, _, id_f_ext = sep_path_basename_ext(interested_gene_gnm_txt_fa)
|
|
49
|
+
if id_f_ext in ['fa', 'fasta','fas','ffn','faa','fna', 'aln']:
|
|
50
|
+
for each_seq in SeqIO.parse(open(interested_gene_gnm_txt_fa), 'fasta'):
|
|
51
|
+
interested_gene_genome_set.add(each_seq.id)
|
|
52
|
+
else:
|
|
53
|
+
for each_line in open(interested_gene_gnm_txt_fa):
|
|
54
|
+
interested_gene_genome_set.add(each_line.strip().split('')[0])
|
|
34
55
|
|
|
35
|
-
|
|
56
|
+
# define output/tmp file name
|
|
57
|
+
_, _, f_in_base, f_in_ext = sep_path_basename_ext(tree_in)
|
|
36
58
|
_, f_out_path, f_out_base, f_out_ext = sep_path_basename_ext(tree_out)
|
|
37
59
|
tree_in_subset_file = '%s/%s_subset.%s' % (f_out_path, f_in_base, f_in_ext)
|
|
38
60
|
seqs_not_on_guide_tree_txt = '%s/%s_seqs_not_on_guide_tree.txt' % (f_out_path, f_out_base)
|
|
39
61
|
|
|
40
|
-
if os.path.isfile(tree_in) is False:
|
|
41
|
-
print('%s is not exist' % tree_in)
|
|
42
|
-
exit()
|
|
43
|
-
|
|
44
62
|
t_in = Tree(tree_in, format=0)
|
|
45
63
|
topo_tree_leaves = [i.name for i in t_in.get_leaves()]
|
|
46
64
|
|
|
47
|
-
group_to_member_dict = dict()
|
|
48
|
-
for each in open(gnm_group_txt):
|
|
49
|
-
each_split = each.strip().split('\t')
|
|
50
|
-
gnm_id = each_split[0]
|
|
51
|
-
gnm_grp = each_split[1]
|
|
52
|
-
if gnm_grp not in group_to_member_dict:
|
|
53
|
-
group_to_member_dict[gnm_grp] = set()
|
|
54
|
-
group_to_member_dict[gnm_grp].add(gnm_id)
|
|
55
|
-
|
|
56
65
|
seq_to_tax_dict = dict()
|
|
57
66
|
grp_to_seq_dict = dict()
|
|
58
67
|
seq_to_grp_dict = dict()
|
|
@@ -60,22 +69,31 @@ def guide_tree(args):
|
|
|
60
69
|
for each_seq in open(gnm_group_txt):
|
|
61
70
|
each_seq_split = each_seq.strip().split('\t')
|
|
62
71
|
seq_id = each_seq_split[0]
|
|
63
|
-
seq_tax = each_seq_split[1]
|
|
64
|
-
seq_tax_split = seq_tax.strip().split(';')
|
|
65
|
-
seq_to_tax_dict[seq_id] = seq_tax
|
|
66
72
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
73
|
+
count_current_seq = False
|
|
74
|
+
if count_all_gene_genome is True:
|
|
75
|
+
count_current_seq = True
|
|
76
|
+
else:
|
|
77
|
+
if seq_id in interested_gene_genome_set:
|
|
78
|
+
count_current_seq = True
|
|
79
|
+
|
|
80
|
+
if count_current_seq is True:
|
|
81
|
+
seq_tax = each_seq_split[1]
|
|
82
|
+
seq_tax_split = seq_tax.strip().split(';')
|
|
83
|
+
seq_to_tax_dict[seq_id] = seq_tax
|
|
84
|
+
|
|
85
|
+
seq_grp = ''
|
|
86
|
+
for each_r in seq_tax_split:
|
|
87
|
+
if each_r in topo_tree_leaves:
|
|
88
|
+
seq_grp = each_r
|
|
71
89
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
90
|
+
seq_to_grp_dict[seq_id] = seq_grp
|
|
91
|
+
if seq_grp not in grp_to_seq_dict:
|
|
92
|
+
grp_to_seq_dict[seq_grp] = set()
|
|
93
|
+
grp_to_seq_dict[seq_grp].add(seq_id)
|
|
76
94
|
|
|
77
|
-
|
|
78
|
-
|
|
95
|
+
if seq_grp == '':
|
|
96
|
+
seqs_not_on_topo_tree.add(seq_id)
|
|
79
97
|
|
|
80
98
|
if len(seqs_not_on_topo_tree) > 0:
|
|
81
99
|
print('%s sequences can not be placed on guide tree, for details: %s' % (len(seqs_not_on_topo_tree), seqs_not_on_guide_tree_txt))
|
|
@@ -123,8 +141,9 @@ def guide_tree(args):
|
|
|
123
141
|
if __name__ == '__main__':
|
|
124
142
|
|
|
125
143
|
guide_tree_parser = argparse.ArgumentParser(usage=guide_tree_usage)
|
|
126
|
-
guide_tree_parser.add_argument('-i', required=True,
|
|
127
|
-
guide_tree_parser.add_argument('-g', required=True,
|
|
128
|
-
guide_tree_parser.add_argument('-
|
|
144
|
+
guide_tree_parser.add_argument('-i', required=True, help='input tree')
|
|
145
|
+
guide_tree_parser.add_argument('-g', required=True, help='gene/genome group/taxonomy')
|
|
146
|
+
guide_tree_parser.add_argument('-id', required=False, default=None, help='interested genes/genomes')
|
|
147
|
+
guide_tree_parser.add_argument('-o', required=True, help='output tree')
|
|
129
148
|
args = vars(guide_tree_parser.parse_args())
|
|
130
149
|
guide_tree(args)
|
|
@@ -966,9 +966,10 @@ if __name__ == '__main__':
|
|
|
966
966
|
elif sys.argv[1] == 'guide_tree':
|
|
967
967
|
from TreeSAK import guide_tree
|
|
968
968
|
guide_tree_parser = subparsers.add_parser('guide_tree', usage=guide_tree.guide_tree_usage)
|
|
969
|
-
guide_tree_parser.add_argument('-i',
|
|
970
|
-
guide_tree_parser.add_argument('-g',
|
|
971
|
-
guide_tree_parser.add_argument('-
|
|
969
|
+
guide_tree_parser.add_argument('-i', required=True, help='input tree')
|
|
970
|
+
guide_tree_parser.add_argument('-g', required=True, help='gene/genome group/taxonomy')
|
|
971
|
+
guide_tree_parser.add_argument('-id', required=False, default=None, help='interested genes/genomes')
|
|
972
|
+
guide_tree_parser.add_argument('-o', required=True, help='output tree')
|
|
972
973
|
args = vars(parser.parse_args())
|
|
973
974
|
guide_tree.guide_tree(args)
|
|
974
975
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: treesak
|
|
3
|
-
Version: 1.57.
|
|
3
|
+
Version: 1.57.4
|
|
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.57.
|
|
27
|
+
TreeSAK v1.57.4
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|