TreeSAK 1.45.3__tar.gz → 1.45.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.45.3/TreeSAK.egg-info → TreeSAK-1.45.4}/PKG-INFO +2 -2
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/VERSION +1 -1
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/iTOL.py +26 -10
- {TreeSAK-1.45.3 → TreeSAK-1.45.4/TreeSAK.egg-info}/PKG-INFO +2 -2
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/LICENSE +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/MANIFEST.in +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/README.md +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/ALE.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/ALE1.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/ALE2.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/ALE2RTC.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/ALE3.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/ALE4.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/ALE5.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/ALE6.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/ALE7.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/ALE_backup.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/AssessCVG.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/AssessMarker.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/AssessMarkerPA.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/AssessPB.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/BMGE.jar +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/BMGE.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/CompareMCMC.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/ConcateMSA.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/ConvertMSA.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/Dir.rb +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/ExtractMarkerSeq.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/FastRoot.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/FastRoot_backup.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/FunTree.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/GTDB_tree.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/KEGG_Luo17.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/LcaToLeaves.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/MarkerRef2Tree.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/MarkerSeq2Tree.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/ModifyTopo.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/Newick_tree_plotter.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/OMA.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/OMA2.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/OneLineAln.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/PB.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/PMSF.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/PhyloBiAssoc.R +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/PhyloBiAssoc.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/PlotMCMC.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/PlotMcmcNode.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/RootTree.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/RootTreeGTDB214.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/RootTreeGTDB220.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/SequentialDating.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/SingleAleHGT.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/SingleLinePhy.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/SliceMSA.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/SplitScore.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/SplitScore1.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/SplitScore1OMA.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/SplitScore2.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/TaxaCountStats.R +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/TaxonTree.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/TreeSAK_config.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/VisHPD95.R +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/VisHPD95.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/__init__.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/ale_parser.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/ale_splitter.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/alignment_pruner.pl +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/catfasta2phy.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/compare_trees.R +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/compare_trees.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/dating.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/dating_ss.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/deltall.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/do_rrtc.rb +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/fa2phy.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/format_leaf_name.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/gap_stats.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/get_SCG_tree.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/get_arCOG_seq.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/global_functions.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/gnm_leaves.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/iTOL_gene_tree.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/keep_highest_rrtc.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/label_tree.R +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/label_tree.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/mad.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/mcmc2tree.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/mcmcTC.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/merge_pdf.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/pRTC.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/plot_distruibution_th.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/prep_mcmctree_ctl.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/print_leaves.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/pruneMSA.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/recode.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/rename_leaves.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/replace_clade.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/root_with_out_group.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/subsample_drep_gnms.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/subset.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/supertree.py +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK/weighted_rand.rb +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK.egg-info/SOURCES.txt +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK.egg-info/dependency_links.txt +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK.egg-info/requires.txt +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/TreeSAK.egg-info/top_level.txt +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/bin/TreeSAK +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/setup.cfg +0 -0
- {TreeSAK-1.45.3 → TreeSAK-1.45.4}/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.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.45.
|
|
27
|
+
TreeSAK v1.45.4
|
|
@@ -135,6 +135,7 @@ def iTOL(args):
|
|
|
135
135
|
scale_str = args['scale']
|
|
136
136
|
LegendTitle = args['lt']
|
|
137
137
|
FileOut = args['o']
|
|
138
|
+
show_color_strip_legend = args['legend']
|
|
138
139
|
|
|
139
140
|
# General
|
|
140
141
|
STRIP_WIDTH = 100
|
|
@@ -232,17 +233,32 @@ def iTOL(args):
|
|
|
232
233
|
FileOut_handle.write('\n# customize strip attributes here\n')
|
|
233
234
|
FileOut_handle.write('STRIP_WIDTH\t%s\n' % STRIP_WIDTH)
|
|
234
235
|
FileOut_handle.write('MARGIN\t%s\n' % MARGIN)
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
236
|
+
|
|
237
|
+
if show_color_strip_legend is False:
|
|
238
|
+
FileOut_handle.write('\n# customize labels on the trip\n')
|
|
239
|
+
FileOut_handle.write('SHOW_STRIP_LABELS\t1\n')
|
|
240
|
+
FileOut_handle.write('STRIP_LABEL_POSITION\tcenter\n')
|
|
241
|
+
FileOut_handle.write('STRIP_LABEL_ROTATION\t90\n')
|
|
242
|
+
else:
|
|
243
|
+
FileOut_handle.write('\n# uncomment to show labels on the trip\n')
|
|
244
|
+
FileOut_handle.write('# SHOW_STRIP_LABELS\t1\n')
|
|
245
|
+
FileOut_handle.write('# STRIP_LABEL_POSITION\tcenter\n')
|
|
246
|
+
FileOut_handle.write('# STRIP_LABEL_ROTATION\t90\n')
|
|
239
247
|
|
|
240
248
|
# write out legend info
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
249
|
+
if show_color_strip_legend is True:
|
|
250
|
+
FileOut_handle.write('\n# customize legend\n')
|
|
251
|
+
FileOut_handle.write('LEGEND_TITLE\t%s\n' % LegendTitle)
|
|
252
|
+
FileOut_handle.write('LEGEND_SHAPES\t%s\n' % '\t'.join(['1' for i in Group_to_Color_dict]))
|
|
253
|
+
FileOut_handle.write('LEGEND_COLORS\t%s\n' % '\t'.join(color_list))
|
|
254
|
+
FileOut_handle.write('LEGEND_LABELS\t%s\n' % '\t'.join(group_list))
|
|
255
|
+
else:
|
|
256
|
+
FileOut_handle.write('\n# uncomment if you want to show the legend\n')
|
|
257
|
+
FileOut_handle.write('# LEGEND_TITLE\t%s\n' % LegendTitle)
|
|
258
|
+
FileOut_handle.write('# LEGEND_SHAPES\t%s\n' % '\t'.join(['1' for i in Group_to_Color_dict]))
|
|
259
|
+
FileOut_handle.write('# LEGEND_COLORS\t%s\n' % '\t'.join(color_list))
|
|
260
|
+
FileOut_handle.write('# LEGEND_LABELS\t%s\n' % '\t'.join(group_list))
|
|
261
|
+
|
|
246
262
|
FileOut_handle.write('\n# provide data here\nDATA\n')
|
|
247
263
|
for leaf in Leaf_to_Group_dict:
|
|
248
264
|
leaf_group = Leaf_to_Group_dict[leaf]
|
|
@@ -624,7 +640,7 @@ if __name__ == '__main__':
|
|
|
624
640
|
iTOL_parser.add_argument('-dr', required=False, default=None, help='Donor to Recipient')
|
|
625
641
|
iTOL_parser.add_argument('-scale', required=False, default=None, help='Scale Values, in format 0-3-6-9')
|
|
626
642
|
iTOL_parser.add_argument('-lt', required=False, default=None, help='Legend Title')
|
|
627
|
-
iTOL_parser.add_argument('-
|
|
643
|
+
iTOL_parser.add_argument('-legend', required=False, action='store_true', help='show legend for ColorStrip')
|
|
628
644
|
iTOL_parser.add_argument('-o', required=True, help='Output filename')
|
|
629
645
|
args = vars(iTOL_parser.parse_args())
|
|
630
646
|
iTOL(args)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TreeSAK
|
|
3
|
-
Version: 1.45.
|
|
3
|
+
Version: 1.45.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.45.
|
|
27
|
+
TreeSAK v1.45.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
|