sumt 3.8.2__tar.gz → 3.8.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.
- {sumt-3.8.2 → sumt-3.8.4}/PKG-INFO +2 -2
- {sumt-3.8.2 → sumt-3.8.4}/README.md +1 -1
- {sumt-3.8.2 → sumt-3.8.4}/setup.cfg +1 -1
- {sumt-3.8.2 → sumt-3.8.4}/sumt.egg-info/PKG-INFO +2 -2
- {sumt-3.8.2 → sumt-3.8.4}/sumt.py +7 -5
- {sumt-3.8.2 → sumt-3.8.4}/LICENSE +0 -0
- {sumt-3.8.2 → sumt-3.8.4}/pyproject.toml +0 -0
- {sumt-3.8.2 → sumt-3.8.4}/sumt.egg-info/SOURCES.txt +0 -0
- {sumt-3.8.2 → sumt-3.8.4}/sumt.egg-info/dependency_links.txt +0 -0
- {sumt-3.8.2 → sumt-3.8.4}/sumt.egg-info/entry_points.txt +0 -0
- {sumt-3.8.2 → sumt-3.8.4}/sumt.egg-info/requires.txt +0 -0
- {sumt-3.8.2 → sumt-3.8.4}/sumt.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sumt
|
|
3
|
-
Version: 3.8.
|
|
3
|
+
Version: 3.8.4
|
|
4
4
|
Summary: Computes consensus trees and other phylogenetic tree summaries
|
|
5
5
|
Home-page: https://github.com/agormp/sumt
|
|
6
6
|
Author: Anders Gorm Pedersen
|
|
@@ -16,7 +16,7 @@ Requires-Dist: psutil
|
|
|
16
16
|
|
|
17
17
|
# sumt
|
|
18
18
|
|
|
19
|
-

|
|
20
20
|
[](https://pepy.tech/project/sumt)
|
|
21
21
|
[](https://zenodo.org/doi/10.5281/zenodo.10148693)
|
|
22
22
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# sumt
|
|
2
2
|
|
|
3
|
-

|
|
4
4
|
[](https://pepy.tech/project/sumt)
|
|
5
5
|
[](https://zenodo.org/doi/10.5281/zenodo.10148693)
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sumt
|
|
3
|
-
Version: 3.8.
|
|
3
|
+
Version: 3.8.4
|
|
4
4
|
Summary: Computes consensus trees and other phylogenetic tree summaries
|
|
5
5
|
Home-page: https://github.com/agormp/sumt
|
|
6
6
|
Author: Anders Gorm Pedersen
|
|
@@ -16,7 +16,7 @@ Requires-Dist: psutil
|
|
|
16
16
|
|
|
17
17
|
# sumt
|
|
18
18
|
|
|
19
|
-

|
|
20
20
|
[](https://pepy.tech/project/sumt)
|
|
21
21
|
[](https://zenodo.org/doi/10.5281/zenodo.10148693)
|
|
22
22
|
|
|
@@ -203,9 +203,11 @@ def parse_commandline(commandlist):
|
|
|
203
203
|
|
|
204
204
|
if args.burninfrac is None:
|
|
205
205
|
args.burninfrac = [0.0] * len(args.infilelist)
|
|
206
|
+
elif len(args.burninfrac) == 1:
|
|
207
|
+
burnin_value = args.burninfrac[0]
|
|
208
|
+
args.burninfrac = [burnin_value] * len(args.infilelist)
|
|
206
209
|
elif len(args.burninfrac) != len(args.infilelist):
|
|
207
|
-
|
|
208
|
-
raise parser.error(msg)
|
|
210
|
+
parser.error("either provide one burnin value, or one value per input file")
|
|
209
211
|
|
|
210
212
|
if any(x < 0 or x > 1 for x in args.burninfrac):
|
|
211
213
|
parser.error("option -b: NUM must be between 0.0 and 1.0")
|
|
@@ -372,7 +374,7 @@ def build_parser():
|
|
|
372
374
|
|
|
373
375
|
bayes_grp = parser.add_argument_group("Bayesian phylogeny options")
|
|
374
376
|
|
|
375
|
-
bayes_grp.add_argument("-b", dest="burninfrac", metavar="NUM", type=float, default=None, nargs='
|
|
377
|
+
bayes_grp.add_argument("-b", dest="burninfrac", metavar="NUM", type=float, default=None, nargs='+',
|
|
376
378
|
help="burnin: fraction of trees to discard [0 - 1; default: %(default)s]. "
|
|
377
379
|
+ "Either one value (used on all input files), or one value per input file.")
|
|
378
380
|
|
|
@@ -896,7 +898,7 @@ def compute_and_print_contree(treesummary, args, wt_count_burnin_filename_list):
|
|
|
896
898
|
elif args.rootminvar:
|
|
897
899
|
contree.rootminvar()
|
|
898
900
|
elif args.rootmaxfreq:
|
|
899
|
-
treesummary.root_maxfreq(contree)
|
|
901
|
+
contree = treesummary.root_maxfreq(contree)
|
|
900
902
|
|
|
901
903
|
# If MCC tree was re-rooted, then we need to recompute log clade credibility
|
|
902
904
|
if args.mcc and args.actively_rooted:
|
|
@@ -910,7 +912,7 @@ def compute_and_print_contree(treesummary, args, wt_count_burnin_filename_list):
|
|
|
910
912
|
sys.stdout.flush()
|
|
911
913
|
contree = treesummary.set_ca_node_depths(contree, wt_count_burnin_filename_list)
|
|
912
914
|
sys.stdout.write("done.\n")
|
|
913
|
-
elif args.biplen and
|
|
915
|
+
elif args.biplen and args.mcc:
|
|
914
916
|
contree = treesummary.set_mean_biplen(contree)
|
|
915
917
|
|
|
916
918
|
# If root is bifurcation and one child is leaf: Remove branchID (=leafname) and label from other child-branch
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|