TreeSAK 1.46.5__tar.gz → 1.46.7__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.46.5/TreeSAK.egg-info → TreeSAK-1.46.7}/PKG-INFO +2 -2
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/VERSION +1 -1
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/iTOL.py +55 -47
- {TreeSAK-1.46.5 → TreeSAK-1.46.7/TreeSAK.egg-info}/PKG-INFO +2 -2
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/bin/TreeSAK +24 -23
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/LICENSE +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/MANIFEST.in +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/README.md +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/ALE.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/ALE1.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/ALE2.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/ALE2RTC.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/ALE3.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/ALE4.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/ALE5.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/ALE6.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/ALE7.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/ALE_backup.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/AssessCVG.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/AssessMarker.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/AssessMarkerPA.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/AssessPB.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/BMGE.jar +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/BMGE.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/CompareMCMC.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/ConcateMSA.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/ConvertMSA.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/Dir.rb +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/ExtractMarkerSeq.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/FastRoot.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/FastRoot_backup.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/FigTree.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/GTDB_tree.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/KEGG_Luo17.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/LcaToLeaves.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/MarkerRef2Tree.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/MarkerSeq2Tree.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/ModifyTopo.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/Newick_tree_plotter.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/OMA.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/OMA2.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/OneLineAln.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/PB.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/PMSF.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/PhyloBiAssoc.R +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/PhyloBiAssoc.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/PlotMCMC.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/PlotMcmcNode.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/PlotMcmcNode_old.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/RootTree.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/RootTreeGTDB214.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/RootTreeGTDB220.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/SequentialDating.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/SingleAleHGT.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/SingleLinePhy.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/SliceMSA.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/SplitScore.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/SplitScore1.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/SplitScore1OMA.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/SplitScore2.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/TaxaCountStats.R +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/TaxonTree.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/TreeSAK_config.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/VisHPD95.R +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/VisHPD95.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/__init__.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/ale_parser.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/ale_splitter.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/alignment_pruner.pl +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/catfasta2phy.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/cogTree.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/compare_trees.R +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/compare_trees.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/dating.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/dating_ss.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/deltall.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/do_rrtc.rb +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/fa2phy.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/format_leaf_name.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/gap_stats.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/get_SCG_tree.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/get_arCOG_seq.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/global_functions.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/gnm_leaves.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/iTOL_gene_tree.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/keep_highest_rrtc.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/koTree.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/label_tree.R +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/label_tree.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/mad.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/mcmc2tree.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/mcmcTC.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/merge_pdf.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/pRTC.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/plot_distruibution_th.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/prep_mcmctree_ctl.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/print_leaves.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/pruneMSA.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/recode.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/rename_leaves.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/replace_clade.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/root_with_out_group.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/subsample_drep_gnms.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/subset.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/supertree.py +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK/weighted_rand.rb +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK.egg-info/SOURCES.txt +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK.egg-info/dependency_links.txt +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK.egg-info/requires.txt +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/TreeSAK.egg-info/top_level.txt +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/setup.cfg +0 -0
- {TreeSAK-1.46.5 → TreeSAK-1.46.7}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TreeSAK
|
|
3
|
-
Version: 1.46.
|
|
3
|
+
Version: 1.46.7
|
|
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.46.
|
|
27
|
+
TreeSAK v1.46.7
|
|
@@ -113,29 +113,30 @@ def scale_str_to_size_list(scale_str):
|
|
|
113
113
|
def iTOL(args):
|
|
114
114
|
|
|
115
115
|
# read in arguments
|
|
116
|
-
Labels
|
|
117
|
-
ColorStrip
|
|
118
|
-
ColorRange
|
|
119
|
-
SimpleBar
|
|
120
|
-
Heatmap
|
|
121
|
-
ExternalShape
|
|
122
|
-
Binary
|
|
123
|
-
BinaryID
|
|
124
|
-
Connection
|
|
125
|
-
PieChart
|
|
126
|
-
Collapse
|
|
127
|
-
leaf_id_txt
|
|
128
|
-
LeafGroup
|
|
129
|
-
GroupColor
|
|
130
|
-
ColumnColor_txt
|
|
131
|
-
LeafValue
|
|
132
|
-
LeafLabel
|
|
133
|
-
LeafMatrix
|
|
134
|
-
d2r
|
|
135
|
-
scale_str
|
|
136
|
-
LegendTitle
|
|
137
|
-
FileOut
|
|
116
|
+
Labels = args['Labels']
|
|
117
|
+
ColorStrip = args['ColorStrip']
|
|
118
|
+
ColorRange = args['ColorRange']
|
|
119
|
+
SimpleBar = args['SimpleBar']
|
|
120
|
+
Heatmap = args['Heatmap']
|
|
121
|
+
ExternalShape = args['ExternalShape']
|
|
122
|
+
Binary = args['Binary']
|
|
123
|
+
BinaryID = args['BinaryID']
|
|
124
|
+
Connection = args['Connection']
|
|
125
|
+
PieChart = args['PieChart']
|
|
126
|
+
Collapse = args['Collapse']
|
|
127
|
+
leaf_id_txt = args['id']
|
|
128
|
+
LeafGroup = args['lg']
|
|
129
|
+
GroupColor = args['gc']
|
|
130
|
+
ColumnColor_txt = args['cc']
|
|
131
|
+
LeafValue = args['lv']
|
|
132
|
+
LeafLabel = args['ll']
|
|
133
|
+
LeafMatrix = args['lm']
|
|
134
|
+
d2r = args['dr']
|
|
135
|
+
scale_str = args['scale']
|
|
136
|
+
LegendTitle = args['lt']
|
|
137
|
+
FileOut = args['o']
|
|
138
138
|
show_color_strip_legend = args['legend']
|
|
139
|
+
show_strip_labels = args['show_strip_labels']
|
|
139
140
|
|
|
140
141
|
# General
|
|
141
142
|
STRIP_WIDTH = 100
|
|
@@ -236,12 +237,18 @@ def iTOL(args):
|
|
|
236
237
|
|
|
237
238
|
if show_color_strip_legend is False:
|
|
238
239
|
FileOut_handle.write('\n# customize labels on the trip\n')
|
|
239
|
-
|
|
240
|
+
if show_strip_labels is True:
|
|
241
|
+
FileOut_handle.write('SHOW_STRIP_LABELS\t1\n')
|
|
242
|
+
else:
|
|
243
|
+
FileOut_handle.write('SHOW_STRIP_LABELS\t0\n')
|
|
240
244
|
FileOut_handle.write('STRIP_LABEL_POSITION\tcenter\n')
|
|
241
245
|
FileOut_handle.write('STRIP_LABEL_ROTATION\t90\n')
|
|
242
246
|
else:
|
|
243
247
|
FileOut_handle.write('\n# uncomment to show labels on the trip\n')
|
|
244
|
-
|
|
248
|
+
if show_strip_labels is True:
|
|
249
|
+
FileOut_handle.write('# SHOW_STRIP_LABELS\t1\n')
|
|
250
|
+
else:
|
|
251
|
+
FileOut_handle.write('# SHOW_STRIP_LABELS\t0\n')
|
|
245
252
|
FileOut_handle.write('# STRIP_LABEL_POSITION\tcenter\n')
|
|
246
253
|
FileOut_handle.write('# STRIP_LABEL_ROTATION\t90\n')
|
|
247
254
|
|
|
@@ -619,28 +626,29 @@ if __name__ == '__main__':
|
|
|
619
626
|
|
|
620
627
|
# initialize the options parser
|
|
621
628
|
iTOL_parser = argparse.ArgumentParser(usage=iTOL_usage)
|
|
622
|
-
iTOL_parser.add_argument('-Labels',
|
|
623
|
-
iTOL_parser.add_argument('-ColorStrip',
|
|
624
|
-
iTOL_parser.add_argument('-ColorRange',
|
|
625
|
-
iTOL_parser.add_argument('-SimpleBar',
|
|
626
|
-
iTOL_parser.add_argument('-Heatmap',
|
|
627
|
-
iTOL_parser.add_argument('-ExternalShape',
|
|
628
|
-
iTOL_parser.add_argument('-Binary',
|
|
629
|
-
iTOL_parser.add_argument('-BinaryID',
|
|
630
|
-
iTOL_parser.add_argument('-Connection',
|
|
631
|
-
iTOL_parser.add_argument('-PieChart',
|
|
632
|
-
iTOL_parser.add_argument('-Collapse',
|
|
633
|
-
iTOL_parser.add_argument('-id',
|
|
634
|
-
iTOL_parser.add_argument('-ll',
|
|
635
|
-
iTOL_parser.add_argument('-lg',
|
|
636
|
-
iTOL_parser.add_argument('-gc',
|
|
637
|
-
iTOL_parser.add_argument('-cc',
|
|
638
|
-
iTOL_parser.add_argument('-lv',
|
|
639
|
-
iTOL_parser.add_argument('-lm',
|
|
640
|
-
iTOL_parser.add_argument('-dr',
|
|
641
|
-
iTOL_parser.add_argument('-scale',
|
|
642
|
-
iTOL_parser.add_argument('-lt',
|
|
643
|
-
iTOL_parser.add_argument('-legend',
|
|
644
|
-
iTOL_parser.add_argument('-
|
|
629
|
+
iTOL_parser.add_argument('-Labels', required=False, action='store_true', help='Labels')
|
|
630
|
+
iTOL_parser.add_argument('-ColorStrip', required=False, action='store_true', help='ColorStrip')
|
|
631
|
+
iTOL_parser.add_argument('-ColorRange', required=False, action='store_true', help='ColorRange')
|
|
632
|
+
iTOL_parser.add_argument('-SimpleBar', required=False, action='store_true', help='SimpleBar')
|
|
633
|
+
iTOL_parser.add_argument('-Heatmap', required=False, action='store_true', help='Heatmap')
|
|
634
|
+
iTOL_parser.add_argument('-ExternalShape', required=False, action='store_true', help='ExternalShape')
|
|
635
|
+
iTOL_parser.add_argument('-Binary', required=False, action='store_true', help='Binary')
|
|
636
|
+
iTOL_parser.add_argument('-BinaryID', required=False, action='store_true', help='Binary specified IDs as 1')
|
|
637
|
+
iTOL_parser.add_argument('-Connection', required=False, action='store_true', help='Connection')
|
|
638
|
+
iTOL_parser.add_argument('-PieChart', required=False, action='store_true', help='PieChart')
|
|
639
|
+
iTOL_parser.add_argument('-Collapse', required=False, action='store_true', help='Collapse')
|
|
640
|
+
iTOL_parser.add_argument('-id', required=False, default=None, help='File contains leaf id')
|
|
641
|
+
iTOL_parser.add_argument('-ll', required=False, default=None, help='Leaf Label')
|
|
642
|
+
iTOL_parser.add_argument('-lg', required=False, default=None, help='Leaf Group')
|
|
643
|
+
iTOL_parser.add_argument('-gc', required=False, default=None, help='Specify Group/column Color (optional)')
|
|
644
|
+
iTOL_parser.add_argument('-cc', required=False, default=None, help='Specify Column Color (for ExternalShape format) (optional)')
|
|
645
|
+
iTOL_parser.add_argument('-lv', required=False, default=None, help='Leaf Value')
|
|
646
|
+
iTOL_parser.add_argument('-lm', required=False, default=None, help='Leaf Matrix')
|
|
647
|
+
iTOL_parser.add_argument('-dr', required=False, default=None, help='Donor to Recipient')
|
|
648
|
+
iTOL_parser.add_argument('-scale', required=False, default=None, help='Scale Values, in format 0-3-6-9')
|
|
649
|
+
iTOL_parser.add_argument('-lt', required=False, default=None, help='Legend Title')
|
|
650
|
+
iTOL_parser.add_argument('-legend', required=False, action='store_true', help='show legend for ColorStrip')
|
|
651
|
+
iTOL_parser.add_argument('-show_strip_labels', required=False, action='store_true', help='SHOW_STRIP_LABELS')
|
|
652
|
+
iTOL_parser.add_argument('-o', required=True, help='Output filename')
|
|
645
653
|
args = vars(iTOL_parser.parse_args())
|
|
646
654
|
iTOL(args)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TreeSAK
|
|
3
|
-
Version: 1.46.
|
|
3
|
+
Version: 1.46.7
|
|
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.46.
|
|
27
|
+
TreeSAK v1.46.7
|
|
@@ -758,29 +758,30 @@ if __name__ == '__main__':
|
|
|
758
758
|
elif sys.argv[1] == 'iTOL':
|
|
759
759
|
from TreeSAK import iTOL
|
|
760
760
|
iTOL_parser = subparsers.add_parser('iTOL', description='Decorate tree with iTOL', usage=iTOL.iTOL_usage)
|
|
761
|
-
iTOL_parser.add_argument('-Labels',
|
|
762
|
-
iTOL_parser.add_argument('-ColorStrip',
|
|
763
|
-
iTOL_parser.add_argument('-ColorRange',
|
|
764
|
-
iTOL_parser.add_argument('-SimpleBar',
|
|
765
|
-
iTOL_parser.add_argument('-Heatmap',
|
|
766
|
-
iTOL_parser.add_argument('-ExternalShape',
|
|
767
|
-
iTOL_parser.add_argument('-Binary',
|
|
768
|
-
iTOL_parser.add_argument('-BinaryID',
|
|
769
|
-
iTOL_parser.add_argument('-Connection',
|
|
770
|
-
iTOL_parser.add_argument('-PieChart',
|
|
771
|
-
iTOL_parser.add_argument('-Collapse',
|
|
772
|
-
iTOL_parser.add_argument('-id',
|
|
773
|
-
iTOL_parser.add_argument('-ll',
|
|
774
|
-
iTOL_parser.add_argument('-gc',
|
|
775
|
-
iTOL_parser.add_argument('-cc',
|
|
776
|
-
iTOL_parser.add_argument('-lg',
|
|
777
|
-
iTOL_parser.add_argument('-lv',
|
|
778
|
-
iTOL_parser.add_argument('-lm',
|
|
779
|
-
iTOL_parser.add_argument('-dr',
|
|
780
|
-
iTOL_parser.add_argument('-scale',
|
|
781
|
-
iTOL_parser.add_argument('-lt',
|
|
782
|
-
iTOL_parser.add_argument('-legend',
|
|
783
|
-
iTOL_parser.add_argument('-
|
|
761
|
+
iTOL_parser.add_argument('-Labels', required=False, action='store_true', help='Labels')
|
|
762
|
+
iTOL_parser.add_argument('-ColorStrip', required=False, action='store_true', help='ColorStrip')
|
|
763
|
+
iTOL_parser.add_argument('-ColorRange', required=False, action='store_true', help='ColorRange')
|
|
764
|
+
iTOL_parser.add_argument('-SimpleBar', required=False, action='store_true', help='SimpleBar')
|
|
765
|
+
iTOL_parser.add_argument('-Heatmap', required=False, action='store_true', help='Heatmap')
|
|
766
|
+
iTOL_parser.add_argument('-ExternalShape', required=False, action='store_true', help='ExternalShape')
|
|
767
|
+
iTOL_parser.add_argument('-Binary', required=False, action='store_true', help='Binary')
|
|
768
|
+
iTOL_parser.add_argument('-BinaryID', required=False, action='store_true', help='Binary specified IDs as 1')
|
|
769
|
+
iTOL_parser.add_argument('-Connection', required=False, action='store_true', help='Connection')
|
|
770
|
+
iTOL_parser.add_argument('-PieChart', required=False, action='store_true', help='PieChart')
|
|
771
|
+
iTOL_parser.add_argument('-Collapse', required=False, action='store_true', help='Collapse')
|
|
772
|
+
iTOL_parser.add_argument('-id', required=False, default=None, help='File contains leaf id')
|
|
773
|
+
iTOL_parser.add_argument('-ll', required=False, default=None, help='Leaf Label')
|
|
774
|
+
iTOL_parser.add_argument('-gc', required=False, default=None, help='Specify Group/column Color (optional)')
|
|
775
|
+
iTOL_parser.add_argument('-cc', required=False, default=None, help='Specify Column Color (for ExternalShape format) (optional)')
|
|
776
|
+
iTOL_parser.add_argument('-lg', required=False, default=None, help='Leaf to Group')
|
|
777
|
+
iTOL_parser.add_argument('-lv', required=False, default=None, help='Leaf to Value')
|
|
778
|
+
iTOL_parser.add_argument('-lm', required=False, default=None, help='Leaf to data Matrix')
|
|
779
|
+
iTOL_parser.add_argument('-dr', required=False, default=None, help='Donor to Recipient')
|
|
780
|
+
iTOL_parser.add_argument('-scale', required=False, default=None, help='Scale Values, in format 0-3-6-9')
|
|
781
|
+
iTOL_parser.add_argument('-lt', required=False, default=None, help='Legend Title')
|
|
782
|
+
iTOL_parser.add_argument('-legend', required=False, action='store_true', help='show legend for ColorStrip')
|
|
783
|
+
iTOL_parser.add_argument('-show_strip_labels', required=False, action='store_true', help='SHOW_STRIP_LABELS')
|
|
784
|
+
iTOL_parser.add_argument('-o', required=True, help='Output filename')
|
|
784
785
|
args = vars(parser.parse_args())
|
|
785
786
|
iTOL.iTOL(args)
|
|
786
787
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|