TreeSAK 1.45.2__tar.gz → 1.45.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.45.2/TreeSAK.egg-info → TreeSAK-1.45.3}/PKG-INFO +2 -2
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/VERSION +1 -1
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/iTOL_gene_tree.py +11 -5
- {TreeSAK-1.45.2 → TreeSAK-1.45.3/TreeSAK.egg-info}/PKG-INFO +2 -2
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/bin/TreeSAK +5 -4
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/LICENSE +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/MANIFEST.in +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/README.md +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/ALE.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/ALE1.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/ALE2.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/ALE2RTC.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/ALE3.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/ALE4.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/ALE5.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/ALE6.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/ALE7.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/ALE_backup.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/AssessCVG.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/AssessMarker.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/AssessMarkerPA.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/AssessPB.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/BMGE.jar +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/BMGE.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/CompareMCMC.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/ConcateMSA.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/ConvertMSA.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/Dir.rb +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/ExtractMarkerSeq.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/FastRoot.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/FastRoot_backup.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/FunTree.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/GTDB_tree.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/KEGG_Luo17.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/LcaToLeaves.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/MarkerRef2Tree.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/MarkerSeq2Tree.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/ModifyTopo.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/Newick_tree_plotter.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/OMA.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/OMA2.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/OneLineAln.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/PB.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/PMSF.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/PhyloBiAssoc.R +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/PhyloBiAssoc.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/PlotMCMC.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/PlotMcmcNode.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/RootTree.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/RootTreeGTDB214.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/RootTreeGTDB220.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/SequentialDating.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/SingleAleHGT.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/SingleLinePhy.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/SliceMSA.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/SplitScore.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/SplitScore1.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/SplitScore1OMA.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/SplitScore2.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/TaxaCountStats.R +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/TaxonTree.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/TreeSAK_config.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/VisHPD95.R +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/VisHPD95.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/__init__.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/ale_parser.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/ale_splitter.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/alignment_pruner.pl +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/catfasta2phy.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/compare_trees.R +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/compare_trees.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/dating.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/dating_ss.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/deltall.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/do_rrtc.rb +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/fa2phy.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/format_leaf_name.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/gap_stats.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/get_SCG_tree.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/get_arCOG_seq.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/global_functions.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/gnm_leaves.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/iTOL.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/keep_highest_rrtc.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/label_tree.R +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/label_tree.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/mad.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/mcmc2tree.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/mcmcTC.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/merge_pdf.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/pRTC.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/plot_distruibution_th.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/prep_mcmctree_ctl.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/print_leaves.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/pruneMSA.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/recode.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/rename_leaves.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/replace_clade.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/root_with_out_group.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/subsample_drep_gnms.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/subset.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/supertree.py +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK/weighted_rand.rb +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK.egg-info/SOURCES.txt +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK.egg-info/dependency_links.txt +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK.egg-info/requires.txt +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/TreeSAK.egg-info/top_level.txt +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/setup.cfg +0 -0
- {TreeSAK-1.45.2 → TreeSAK-1.45.3}/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.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.45.
|
|
27
|
+
TreeSAK v1.45.3
|
|
@@ -19,6 +19,7 @@ def iTOL_gene_tree(args):
|
|
|
19
19
|
input_txt_file = args['txt']
|
|
20
20
|
meta_txt = args['i']
|
|
21
21
|
op_txt = args['o']
|
|
22
|
+
include_na = args['na']
|
|
22
23
|
|
|
23
24
|
if (input_tree_file is None) and (input_txt_file is None):
|
|
24
25
|
print('Please provide gene id with at least one approach, program exited!')
|
|
@@ -57,7 +58,11 @@ def iTOL_gene_tree(args):
|
|
|
57
58
|
for gene_id in gene_id_set:
|
|
58
59
|
gnm_id = '_'.join(gene_id.split('_')[:-1])
|
|
59
60
|
gnm_meta = metadata_dict.get(gnm_id, 'na')
|
|
60
|
-
|
|
61
|
+
if include_na is True:
|
|
62
|
+
op_txt_handle.write('%s\t%s\n' % (gene_id, gnm_meta))
|
|
63
|
+
else:
|
|
64
|
+
if gnm_meta != 'na':
|
|
65
|
+
op_txt_handle.write('%s\t%s\n' % (gene_id, gnm_meta))
|
|
61
66
|
op_txt_handle.close()
|
|
62
67
|
|
|
63
68
|
print('Done!')
|
|
@@ -66,9 +71,10 @@ def iTOL_gene_tree(args):
|
|
|
66
71
|
if __name__ == '__main__':
|
|
67
72
|
|
|
68
73
|
iTOL_gene_tree_parser = argparse.ArgumentParser(usage=iTOL_gene_tree_usage)
|
|
69
|
-
iTOL_gene_tree_parser.add_argument('-i', required=True,
|
|
70
|
-
iTOL_gene_tree_parser.add_argument('-tree', required=False, default=None,
|
|
71
|
-
iTOL_gene_tree_parser.add_argument('-txt', required=False, default=None,
|
|
72
|
-
iTOL_gene_tree_parser.add_argument('-o', required=True,
|
|
74
|
+
iTOL_gene_tree_parser.add_argument('-i', required=True, help='input metadata')
|
|
75
|
+
iTOL_gene_tree_parser.add_argument('-tree', required=False, default=None, help='gene id, in tree file')
|
|
76
|
+
iTOL_gene_tree_parser.add_argument('-txt', required=False, default=None, help='gene id, in txt file')
|
|
77
|
+
iTOL_gene_tree_parser.add_argument('-o', required=True, help='output metadata')
|
|
78
|
+
iTOL_gene_tree_parser.add_argument('-na', required=False, action='store_true', help='include leaves with na values')
|
|
73
79
|
args = vars(iTOL_gene_tree_parser.parse_args())
|
|
74
80
|
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.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.45.
|
|
27
|
+
TreeSAK v1.45.3
|
|
@@ -846,10 +846,11 @@ 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', required=True,
|
|
850
|
-
iTOL_gene_tree_parser.add_argument('-tree', required=False, default=None,
|
|
851
|
-
iTOL_gene_tree_parser.add_argument('-txt', required=False, default=None,
|
|
852
|
-
iTOL_gene_tree_parser.add_argument('-o', required=True,
|
|
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')
|
|
853
|
+
iTOL_gene_tree_parser.add_argument('-na', required=False, action='store_true', help='include leaves with na values')
|
|
853
854
|
args = vars(parser.parse_args())
|
|
854
855
|
iTOL_gene_tree.iTOL_gene_tree(args)
|
|
855
856
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|