Add files using upload-large-folder tool
Browse files- runs/local-2026-10-22-localpp-strict-check/README.md +347 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/bin/count_polytomies.py +27 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/bin/genes.map +12 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/bin/job.sh +29 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/bin/ppcheck.py +539 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/bin/prep.sh +51 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/bin/queues.sh +25 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/1kp-extended.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/1kp-ref.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/a48-astralx.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/a48-default.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/a48-extended.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/a48-ref.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/angio-extended.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/angio-published.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/b10kex-default.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/b10kex-extended.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/b10kex-ref.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/b10kint-default.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/b10kint-ref.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/polytomies.tsv +12 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/s1000R1-default.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/s1000R1-true.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/s100R2-default.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/s100R2-true.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/s100R4-default.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/s100R4-true.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/s200R1-default.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/s200R1-true.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/s37R1-default.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/s37R1-true.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/s37R2-default.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/s37R2-true.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/s500R1-default.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/info/s500R1-true.json +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/logs/1kp-ref.qraft.log +0 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/logs/a48-extended.astral.time +23 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/logs/b10kint-default.astral.time +23 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/logs/s100R4-default.astral.time +23 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/logs/s100R4-default.qraft.time +23 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/logs/s37R1-default.infer.time +23 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/logs/s37R1-true.astral.time +23 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/logs/s500R1-default.qraft.log +0 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/trees/1kp-ref.tre +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/trees/a48-astralx.tre +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/trees/b10kex-extended.tre +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/trees/b10kex-ref.tre +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/trees/b10kint-default.tre +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/trees/s100R4-true.tre +1 -0
- runs/local-2026-10-22-localpp-strict-check/bdal/trees/s37R1-default.tre +1 -0
runs/local-2026-10-22-localpp-strict-check/README.md
ADDED
|
@@ -0,0 +1,347 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Strict check of QRAFT's local posterior probabilities (2026-10-22)
|
| 2 |
+
|
| 3 |
+
Question: do QRAFT's `pp1`, `pp2`, `pp3` (`--support localpp --support-frequencies gene
|
| 4 |
+
--support-detail`) equal ASTRAL-III 5.15.5 (`-q TREE -t 2`) and ASTER (`astral4 -C -c TREE -u 2`)
|
| 5 |
+
to the printed digits, on many trees from different data sets?
|
| 6 |
+
|
| 7 |
+
## Bottom line
|
| 8 |
+
|
| 9 |
+
- **QRAFT's numbers are right wherever a tool disagrees with it.** On every data set except 1KP,
|
| 10 |
+
the quartet frequencies (f1, f2, f3, EN) of all three tools agree within print rounding. Every
|
| 11 |
+
pp difference beyond the print tolerance is the other tool's arithmetic. QRAFT's printed pp is
|
| 12 |
+
within half a unit of its 6th significant digit of the 50-digit posterior on all 6,345 edges
|
| 13 |
+
checked (max error 4.9991e-7).
|
| 14 |
+
- **ASTRAL, outside 1KP: 40 of 24,938 edges are beyond tolerance (angio 19 + 18, 1000-taxon 1 + 1,
|
| 15 |
+
B10K exons 1).** ASTRAL computes `G = 1 - incompleteBeta(f+1, n-f+1, 1/3)` in double and
|
| 16 |
+
sets `G <= MACHEP` to 0 (`Posterior.java`). When the exact G of a minority topology is below
|
| 17 |
+
about 1e-16, the subtraction loses it, so ASTRAL prints that topology's pp as 0 or
|
| 18 |
+
imprecisely. ASTRAL then gives the lost mass to the other two topologies. The lost pp is
|
| 19 |
+
between 4.9e-8 and 2.3e-5. Re-running ASTRAL's own `Posterior` class on these edges
|
| 20 |
+
with ASTRAL's printed f values reproduces its printed pp to 3.5e-14. That is 39 rows, since the
|
| 21 |
+
1000-taxon edge is the same in both trees.
|
| 22 |
+
- **ASTER v1.24.4.8, outside 1KP: 113 of 24,218 edges are beyond tolerance. 95 of them are the shortcut.**
|
| 23 |
+
ASTER prints pp1 = 1, pp2 = pp3 = 0 exactly when f1 - max(f2,f3) > 5 sqrt(n) (n > 100), or
|
| 24 |
+
> 5 sqrt((f1+max)/4) (n > 1000). The exact pp1 on those 95 edges is as low as 0.9968, so the
|
| 25 |
+
shortcut changes pp1 by up to 3.2e-3. The other 18 edges (angio 9 + 7, 1000-taxon 1 + 1) take
|
| 26 |
+
ASTER's full formula. It computes `1.0 - incbeta(...)` with a continued fraction that stops
|
| 27 |
+
at relative 1e-8, which is the same cancellation as ASTRAL's. So the shortcut is not the only
|
| 28 |
+
source of ASTER differences. All other ASTER edges agree.
|
| 29 |
+
A line-by-line port of ASTER v1.24's code reproduces its printed values within 1e-6 on every
|
| 30 |
+
edge.
|
| 31 |
+
- **1KP differs by definition, not arithmetic.** Every 1KP gene tree has polytomies. ASTRAL
|
| 32 |
+
divides each gene's resolved quartet counts by all quartets around the edge, unresolved ones
|
| 33 |
+
included, so a partly unresolved gene contributes less than 1 to EN. QRAFT and ASTER divide by
|
| 34 |
+
the resolved count, so each such gene sums to 1. QRAFT and ASTER agree on all 1,175 1KP edges
|
| 35 |
+
(f to 7e-14 relative, pp to 2.7e-7). Against ASTRAL, 339 of 1,175 edges differ, by up to
|
| 36 |
+
|dpp| = 1. A brute-force quartet count on six 1KP edges reproduces both conventions exactly
|
| 37 |
+
([cmp/1kp-ref.polytomy-normalization.txt](cmp/1kp-ref.polytomy-normalization.txt)). So the
|
| 38 |
+
claim "Definition = ASTRAL's" holds only for gene trees without polytomies. On polytomous
|
| 39 |
+
gene trees, QRAFT matches ASTER. QRAFT's `--support-frequencies` help text says "as ASTRAL and
|
| 40 |
+
ASTER count them", which needs a qualifier for polytomous gene trees. The same holds for any
|
| 41 |
+
Methods text that says ASTRAL's definition.
|
| 42 |
+
|
| 43 |
+
## Summary table
|
| 44 |
+
|
| 45 |
+
The tolerance comes from QRAFT's print format (6 significant digits, so absolute 5e-7 for pp in
|
| 46 |
+
[0.1, 1]). ASTRAL prints full doubles, so the bound against it is 5e-7. ASTER also prints 6
|
| 47 |
+
significant digits, so the bound against it is 1e-6, one unit, because both sides round. "max
|
| 48 |
+
df/EN" is the largest |f_QRAFT - f_tool| / EN over f1-f3; ASTER prints no EN, so f1+f2+f3 serves
|
| 49 |
+
as EN there. "ASTER pp1=1" counts the edges where ASTER prints pp1 = 1, pp2 = pp3 = 0 exactly; the
|
| 50 |
+
number in parentheses is how many of them are beyond tolerance. The column also counts a few
|
| 51 |
+
edges where ASTER's full formula gives (1, 0, 0) because the minority terms underflow. The
|
| 52 |
+
ASTER port below separates the two kinds, and every edge beyond tolerance in that column is a
|
| 53 |
+
shortcut edge. Edges are matched by
|
| 54 |
+
bipartition. Every pair has the same edge set, all edges binary, so none are missing.
|
| 55 |
+
|
| 56 |
+
| data set | tree | tool | edges | max dpp1 | max dpp2 | max dpp3 | max df/EN | pp beyond tol | ASTER pp1=1 edges (beyond tol) | ASTER other edges beyond tol |
|
| 57 |
+
|---|---|---|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 58 |
+
| 37-taxon R1 | default | ASTRAL | 34 | 5.0e-07 | 3.5e-07 | 5.0e-07 | 2.5e-06 | 0 | | |
|
| 59 |
+
| 37-taxon R1 | default | ASTER | 34 | 0 | 1.8e-15 | 1.2e-15 | 0 | 0 | 22 (0) | 0 of 12 |
|
| 60 |
+
| 37-taxon R1 | true | ASTRAL | 34 | 4.8e-07 | 5.0e-07 | 2.6e-07 | 2.2e-06 | 0 | | |
|
| 61 |
+
| 37-taxon R1 | true | ASTER | 34 | 0 | 1.8e-15 | 1.2e-15 | 5.0e-07 | 0 | 22 (0) | 0 of 12 |
|
| 62 |
+
| 37-taxon R2 | default | ASTRAL | 34 | 4.1e-07 | 3.8e-07 | 4.8e-07 | 1.9e-06 | 0 | | |
|
| 63 |
+
| 37-taxon R2 | default | ASTER | 34 | 0 | 3.8e-15 | 4.0e-15 | 5.0e-08 | 0 | 21 (0) | 0 of 13 |
|
| 64 |
+
| 37-taxon R2 | true | ASTRAL | 34 | 4.1e-07 | 4.4e-07 | 4.8e-07 | 1.9e-06 | 0 | | |
|
| 65 |
+
| 37-taxon R2 | true | ASTER | 34 | 0 | 3.8e-15 | 4.0e-15 | 5.0e-08 | 0 | 21 (0) | 0 of 13 |
|
| 66 |
+
| 100-taxon R2 | default | ASTRAL | 98 | 4.4e-07 | 4.8e-07 | 4.9e-07 | 5.0e-07 | 0 | | |
|
| 67 |
+
| 100-taxon R2 | default | ASTER | 98 | 8.7e-04 | 3.4e-04 | 5.3e-04 | 0 | 4 | 91 (4) | 0 of 7 |
|
| 68 |
+
| 100-taxon R2 | true | ASTRAL | 98 | 4.4e-07 | 4.1e-07 | 4.9e-07 | 5.0e-07 | 0 | | |
|
| 69 |
+
| 100-taxon R2 | true | ASTER | 98 | 8.7e-04 | 5.3e-04 | 3.4e-04 | 0 | 4 | 92 (4) | 0 of 6 |
|
| 70 |
+
| 100-taxon R4 | default | ASTRAL | 98 | 4.4e-07 | 4.9e-07 | 3.2e-07 | 5.0e-07 | 0 | | |
|
| 71 |
+
| 100-taxon R4 | default | ASTER | 98 | 3.9e-04 | 2.8e-04 | 1.2e-04 | 1.0e-06 | 2 | 84 (2) | 0 of 14 |
|
| 72 |
+
| 100-taxon R4 | true | ASTRAL | 98 | 4.4e-07 | 4.9e-07 | 3.2e-07 | 5.0e-07 | 0 | | |
|
| 73 |
+
| 100-taxon R4 | true | ASTER | 98 | 3.9e-04 | 2.8e-04 | 1.2e-04 | 1.0e-06 | 2 | 84 (2) | 0 of 14 |
|
| 74 |
+
| 200-taxon R1 | default | ASTRAL | 198 | 4.9e-07 | 3.1e-07 | 4.4e-07 | 5.0e-07 | 0 | | |
|
| 75 |
+
| 200-taxon R1 | default | ASTER | 198 | 0 | 1.8e-14 | 6.1e-09 | 0 | 0 | 166 (0) | 0 of 32 |
|
| 76 |
+
| 200-taxon R1 | true | ASTRAL | 198 | 4.9e-07 | 3.2e-07 | 4.4e-07 | 5.0e-07 | 0 | | |
|
| 77 |
+
| 200-taxon R1 | true | ASTER | 198 | 0 | 1.8e-14 | 2.4e-09 | 0 | 0 | 167 (0) | 0 of 31 |
|
| 78 |
+
| 500-taxon R1 | default | ASTRAL | 498 | 5.0e-07 | 5.0e-07 | 4.0e-07 | 5.0e-07 | 0 | | |
|
| 79 |
+
| 500-taxon R1 | default | ASTER | 498 | 0 | 1.0e-06 | 7.7e-08 | 1.1e-14 | 0 | 398 (0) | 0 of 100 |
|
| 80 |
+
| 500-taxon R1 | true | ASTRAL | 498 | 5.0e-07 | 5.0e-07 | 4.9e-07 | 5.0e-07 | 0 | | |
|
| 81 |
+
| 500-taxon R1 | true | ASTER | 498 | 3.1e-04 | 1.8e-04 | 1.3e-04 | 2.8e-14 | 2 | 414 (2) | 0 of 84 |
|
| 82 |
+
| 1000-taxon R1 | default | ASTRAL | 998 | 5.0e-07 | 1.2e-06 | 1.3e-06 | 5.0e-07 | 1 | | |
|
| 83 |
+
| 1000-taxon R1 | default | ASTER | 998 | 3.2e-03 | 1.6e-03 | 1.7e-03 | 0 | 24 | 908 (23) | 1 of 90 |
|
| 84 |
+
| 1000-taxon R1 | true | ASTRAL | 998 | 5.0e-07 | 1.2e-06 | 1.3e-06 | 5.0e-07 | 1 | | |
|
| 85 |
+
| 1000-taxon R1 | true | ASTER | 998 | 3.2e-03 | 1.7e-03 | 1.6e-03 | 0 | 27 | 922 (26) | 1 of 76 |
|
| 86 |
+
| avian-48 | astralx | ASTRAL | 45 | 4.9e-07 | 2.3e-07 | 3.5e-07 | 3.5e-06 | 0 | | |
|
| 87 |
+
| avian-48 | astralx | ASTER | 45 | 0 | 1.0e-08 | 3.9e-13 | 0 | 0 | 33 (0) | 0 of 12 |
|
| 88 |
+
| avian-48 | default | ASTRAL | 45 | 5.0e-07 | 4.4e-07 | 4.7e-07 | 3.5e-06 | 0 | | |
|
| 89 |
+
| avian-48 | default | ASTER | 45 | 5.0e-06 | 3.5e-06 | 1.5e-06 | 0 | 1 | 33 (1) | 0 of 12 |
|
| 90 |
+
| avian-48 | extended | ASTRAL | 45 | 4.8e-07 | 2.3e-07 | 4.7e-07 | 3.5e-06 | 0 | | |
|
| 91 |
+
| avian-48 | extended | ASTER | 45 | 6.5e-05 | 3.7e-05 | 2.8e-05 | 0 | 2 | 34 (2) | 0 of 11 |
|
| 92 |
+
| avian-48 | ref | ASTRAL | 45 | 4.5e-07 | 1.1e-07 | 4.0e-07 | 3.5e-06 | 0 | | |
|
| 93 |
+
| avian-48 | ref | ASTER | 45 | 2.0e-06 | 1.3e-06 | 8.1e-07 | 0 | 1 | 35 (1) | 0 of 10 |
|
| 94 |
+
| B10K exons | default | ASTRAL | 360 | 4.8e-07 | 4.8e-07 | 4.9e-07 | 3.7e-06 | 0 | | |
|
| 95 |
+
| B10K exons | default | ASTER | 360 | 2.7e-04 | 1.2e-04 | 1.9e-04 | 0 | 9 | 315 (9) | 0 of 45 |
|
| 96 |
+
| B10K exons | extended | ASTRAL | 360 | 5.4e-07 | 4.9e-07 | 4.6e-07 | 3.6e-06 | 1 | | |
|
| 97 |
+
| B10K exons | extended | ASTER | 360 | 5.0e-04 | 3.5e-04 | 1.8e-04 | 0 | 10 | 320 (10) | 0 of 40 |
|
| 98 |
+
| B10K exons | ref | ASTRAL | 360 | 4.8e-07 | 4.9e-07 | 4.8e-07 | 3.6e-06 | 0 | | |
|
| 99 |
+
| B10K exons | ref | ASTER | 360 | 1.7e-03 | 1.1e-03 | 6.7e-04 | 0 | 9 | 318 (9) | 0 of 42 |
|
| 100 |
+
| B10K intergenic | default | ASTRAL | 360 | 4.8e-07 | 2.5e-07 | 2.5e-07 | 1.0e-06 | 0 | | |
|
| 101 |
+
| B10K intergenic | ref | ASTRAL | 360 | 3.9e-07 | 3.0e-07 | 2.5e-07 | 1.0e-06 | 0 | | |
|
| 102 |
+
| angio | extended | ASTRAL | 9521 | 1.6e-05 | 2.0e-05 | 2.3e-05 | 3.9e-06 | 19 | | |
|
| 103 |
+
| angio | extended | ASTER | 9521 | 1.5e-05 | 8.0e-06 | 2.3e-05 | 3.2e-13 | 9 | 4197 (0) | 9 of 5324 |
|
| 104 |
+
| angio | published | ASTRAL | 9521 | 1.6e-05 | 2.0e-05 | 2.2e-05 | 3.9e-06 | 18 | | |
|
| 105 |
+
| angio | published | ASTER | 9521 | 1.1e-05 | 6.3e-06 | 1.2e-05 | 5.1e-14 | 7 | 4205 (0) | 7 of 5316 |
|
| 106 |
+
| 1KP | extended | ASTRAL | 1175 | 1.0e+00 | 8.5e-01 | 1.0e+00 | 5.9e+00 | 339 | | |
|
| 107 |
+
| 1KP | ref | ASTRAL | 1175 | 1.0e+00 | 7.6e-01 | 1.0e+00 | 5.9e+00 | 339 | | |
|
| 108 |
+
| 1KP | ref | ASTER | 1175 | 0 | 2.7e-07 | 1.0e-07 | 7.3e-14 | 0 | 698 (0) | 0 of 477 |
|
| 109 |
+
|
| 110 |
+
"max df/EN" is within the f print rounding on every row except the 1KP ASTRAL rows: no f
|
| 111 |
+
differs by more than half a unit of QRAFT's 6th digit (plus ASTER's when ASTER prints it).
|
| 112 |
+
That is 0 of about 147,000 f values. So outside 1KP, all differences are in the posterior
|
| 113 |
+
arithmetic and not in the counts.
|
| 114 |
+
|
| 115 |
+
## The edges beyond tolerance, against the exact posterior
|
| 116 |
+
|
| 117 |
+
For every edge beyond tolerance, plus a random sample of up to 200 other edges per comparison,
|
| 118 |
+
`ppcheck.py` evaluates the posterior with mpmath at 50 digits. It uses ASTRAL's full-precision
|
| 119 |
+
f1-f3 (n = f1+f2+f3), and for the ASTER comparisons the ASTRAL output of the same tree:
|
| 120 |
+
|
| 121 |
+
w_i = (1 - I_{1/3}(f_i+1, n-f_i+1)) 2^{f_i} Gamma(f_i+1) Gamma(n-f_i+1), pp_i = w_i / sum w
|
| 122 |
+
|
| 123 |
+
`1 - I_{1/3}(a,b) = I_{2/3}(b,a)` is evaluated in log space by a continued fraction on the
|
| 124 |
+
convergent side, so no cancellation occurs. `scripts/selftest_exact.py` checks it against an
|
| 125 |
+
independent positive-term series (2F1) to within a relative 1e-45.
|
| 126 |
+
|
| 127 |
+
| data set | tree | tool | beyond tol | QRAFT within its rounding of exact | tool prints 0 where exact > 0 (exact range) | max tool err vs exact | ASTER branch of these edges |
|
| 128 |
+
|---|---|---|---:|---:|---|---:|---|
|
| 129 |
+
| 100-taxon R2 | default | ASTER | 4 | 4 | 4 (5.0e-06 to 5.3e-04) | 8.7e-04 | 4 shortcut |
|
| 130 |
+
| 100-taxon R2 | true | ASTER | 4 | 4 | 4 (5.0e-06 to 5.3e-04) | 8.7e-04 | 4 shortcut |
|
| 131 |
+
| 100-taxon R4 | default | ASTER | 2 | 2 | 2 (5.6e-06 to 2.8e-04) | 3.9e-04 | 2 shortcut |
|
| 132 |
+
| 100-taxon R4 | true | ASTER | 2 | 2 | 2 (4.3e-06 to 2.8e-04) | 3.9e-04 | 2 shortcut |
|
| 133 |
+
| 500-taxon R1 | true | ASTER | 2 | 2 | 2 (2.4e-05 to 1.8e-04) | 3.1e-04 | 2 shortcut |
|
| 134 |
+
| 1000-taxon R1 | default | ASTRAL | 1 | 1 | 1 (1.3e-06) | 1.3e-06 | |
|
| 135 |
+
| 1000-taxon R1 | default | ASTER | 24 | 24 | 24 (8.2e-07 to 1.7e-03) | 3.2e-03 | 23 shortcut, 1 formula |
|
| 136 |
+
| 1000-taxon R1 | true | ASTRAL | 1 | 1 | 1 (1.3e-06) | 1.3e-06 | |
|
| 137 |
+
| 1000-taxon R1 | true | ASTER | 27 | 27 | 27 (8.2e-07 to 1.7e-03) | 3.2e-03 | 26 shortcut, 1 formula |
|
| 138 |
+
| avian-48 | default | ASTER | 1 | 1 | 1 (1.5e-06 to 3.5e-06) | 4.9e-06 | 1 shortcut |
|
| 139 |
+
| avian-48 | extended | ASTER | 2 | 2 | 2 (1.5e-06 to 3.7e-05) | 6.5e-05 | 2 shortcut |
|
| 140 |
+
| avian-48 | ref | ASTER | 1 | 1 | 1 (8.1e-07 to 1.3e-06) | 2.1e-06 | 1 shortcut |
|
| 141 |
+
| B10K exons | default | ASTER | 9 | 9 | 9 (3.1e-07 to 1.9e-04) | 2.7e-04 | 9 shortcut |
|
| 142 |
+
| B10K exons | extended | ASTRAL | 1 | 1 | 1 (4.9e-08) | 4.9e-08 | |
|
| 143 |
+
| B10K exons | extended | ASTER | 10 | 10 | 10 (3.2e-07 to 3.5e-04) | 5.0e-04 | 10 shortcut |
|
| 144 |
+
| B10K exons | ref | ASTER | 9 | 9 | 9 (3.2e-07 to 1.1e-03) | 1.7e-03 | 9 shortcut |
|
| 145 |
+
| angio | extended | ASTRAL | 19 | 19 | 16 (1.3e-07 to 2.3e-05) | 2.3e-05 | |
|
| 146 |
+
| angio | extended | ASTER | 9 | 9 | 6 (1.7e-06 to 2.3e-05) | 2.3e-05 | 9 formula |
|
| 147 |
+
| angio | published | ASTRAL | 18 | 18 | 16 (1.3e-07 to 2.2e-05) | 2.2e-05 | |
|
| 148 |
+
| angio | published | ASTER | 7 | 7 | 4 (2.2e-06 to 1.2e-05) | 1.2e-05 | 7 formula |
|
| 149 |
+
|
| 150 |
+
In every row, QRAFT is within half a unit of its last printed digit of the exact value. On the
|
| 151 |
+
sampled edges (6,345 edges in all, 1KP ASTRAL excluded), QRAFT's max error is 4.9991e-7.
|
| 152 |
+
ASTRAL's error is 3e-14 to 5e-8 on the sampled edges, except where the cancellation below
|
| 153 |
+
bites. ASTER's error is up to 3.2e-3 on shortcut edges and below 1e-6 elsewhere, apart from
|
| 154 |
+
the 18 formula edges in the table. Per-comparison numbers are in
|
| 155 |
+
[cmp/tables.md](cmp/tables.md); per-edge rows are in `cmp/<tree>.<tool>.csv` (all edges) and
|
| 156 |
+
`cmp/<tree>.<tool>.beyond.csv` (beyond tolerance, with the exact values).
|
| 157 |
+
|
| 158 |
+
### Why ASTRAL differs (Posterior.java, astral.5.15.5.jar)
|
| 159 |
+
|
| 160 |
+
`G(x) = 1 - Gamma.incompleteBeta(x+1, n-x+2*lambda, 1/3)`, then `if (g <= MACHEP) g = 0`, and
|
| 161 |
+
`pp1 = G(f1) / (G(f1) + G(f2) r(f2) + G(f3) r(f3))` with
|
| 162 |
+
`r(mi) = exp(ln2 (mi-f1) + lnGamma(mi+1) + lnGamma(n-mi+1) - lnGamma(f1+1) - lnGamma(n-f1+1))`.
|
| 163 |
+
For a minority topology with f well below n/3, the exact G is far below double epsilon, but r
|
| 164 |
+
can exceed 1e12, so G r is not negligible. Two cases follow:
|
| 165 |
+
|
| 166 |
+
- The subtraction returns 0 or 1 ulp (1.11e-16), and the MACHEP clamp makes it 0. Example from
|
| 167 |
+
the 1000-taxon tree: f = (388.108, 402.556, 209.336), n = 1000. The exact G3 is 2.87e-18 and
|
| 168 |
+
the exact pp3 is 1.2793e-6. ASTRAL computes G3 = 1.11e-16, clamps it to 0 and prints
|
| 169 |
+
pp3 = 0.0 and pp2 = 0.9797842 (exact 0.9797829). QRAFT prints 1.27929e-06 and 0.979783.
|
| 170 |
+
Example from angio: f = (73.377, 72.329, 6.294). The exact G3 is 6.39e-19 and the exact pp3
|
| 171 |
+
is 2.3426e-5. ASTRAL prints pp3 = 0.0 and pp1 = 0.6547644 (exact 0.6547490); QRAFT prints
|
| 172 |
+
2.34258e-05 and 0.654749.
|
| 173 |
+
- The subtraction keeps a few correct digits: G = 6.4e-15 carries a relative error of about
|
| 174 |
+
1e-2. Example: pp3 = 7.5948e-5, exact 7.6215e-5 (3 angio edges).
|
| 175 |
+
|
| 176 |
+
`scripts/java/AstralPosterior.java` calls ASTRAL's own `Posterior` class. On the 39 ASTRAL
|
| 177 |
+
mismatch edges it reproduces ASTRAL's printed pp to 3.5e-14
|
| 178 |
+
([cmp/astral-beyond-java.txt](cmp/astral-beyond-java.txt); the last three columns are ASTRAL's
|
| 179 |
+
G values). `ppcheck.astral_emulated_pp1` gives the same values with an exactly rounded I.
|
| 180 |
+
QRAFT evaluates `log I_{2/3}(b, a)` directly (`src/solver/support.cpp`), so it has no
|
| 181 |
+
cancellation.
|
| 182 |
+
|
| 183 |
+
### Why ASTER differs (algorithms.hpp, ASTER v1.24, commit 4aedfbfdef)
|
| 184 |
+
|
| 185 |
+
The binary prints `Version: v1.24.4.8`, which is ALG_VERSION.OBJECTIVE_VERSION.DRIVER_VERSION.
|
| 186 |
+
ALG_VERSION "v1.24" ran from commit 4aedfbfdef (2025-11-26) to 0be618bd09 (2026-03-27), and the
|
| 187 |
+
local-PP block and `incbeta.c` are byte-identical across that range. Commit a2e43727bf
|
| 188 |
+
(2026-04-20, "bug fix for LPP", v1.25) changed this code. Its
|
| 189 |
+
`computeOptimalSubtreeWithSupport` does three things:
|
| 190 |
+
|
| 191 |
+
1. `if (tscore > 100 && f1 - max(f2,f3) > 5*sqrt(tscore))` gives pp = (1, 0, 0);
|
| 192 |
+
2. `else if (tscore > 1000 && f1 - max(f2,f3) > 5*sqrt((f1 + max(f2,f3)) * 0.25))` gives
|
| 193 |
+
(1, 0, 0);
|
| 194 |
+
3. otherwise it uses `i_k = 1.0 - incbeta(f_k+1, n-f_k+1, 1/3)`, with `incbeta.c` stopping its
|
| 195 |
+
continued fraction at `|1-cd| < 1e-8`. It uses the same ratio form as ASTRAL, without the
|
| 196 |
+
clamp.
|
| 197 |
+
|
| 198 |
+
Rules 1 and 2 are the shortcut: ASTER prints pp1 = 1 exactly where the exact pp1 can be as low
|
| 199 |
+
as 0.99677 (1000-taxon), 0.99826 (B10K exons) or 0.99994 (avian-48). Rule 3 has the same
|
| 200 |
+
`1 - (number near 1)` cancellation as ASTRAL. It accounts for the 9 + 7 angio edges and the one
|
| 201 |
+
1000-taxon edge, which is the same edge ASTRAL gets wrong. `ppcheck.aster_v124_pp` ports these
|
| 202 |
+
lines. Fed ASTRAL's full-precision f values, it reproduces ASTER's printed pp within 1e-6 on
|
| 203 |
+
all 24,218 edges (max 9.6e-7), so within ASTER's own 6-digit print. It takes a shortcut on
|
| 204 |
+
12,843 edges. ASTER prints exactly (1, 0, 0) on 12,902; on the others the formula itself
|
| 205 |
+
underflows the minority terms. On 1000-gene simulated edges, ASTER's tscore lands on either
|
| 206 |
+
side of the `> 1000` threshold through floating-point rounding. On those 59 edges the port
|
| 207 |
+
tries both sides and keeps the one that matches.
|
| 208 |
+
|
| 209 |
+
Excluding the shortcut, ASTER agrees with QRAFT on all edges except those 18. They are
|
| 210 |
+
cancellation in ASTER, and QRAFT is within rounding of the exact value on each of them.
|
| 211 |
+
|
| 212 |
+
### Why 1KP differs from ASTRAL (gene-tree polytomies)
|
| 213 |
+
|
| 214 |
+
All 410 1KP gene trees (`Best.33.FAA`) contain polytomies; no other gene set here does
|
| 215 |
+
([bdal/info/polytomies.tsv](bdal/info/polytomies.tsv)). The two conventions differ:
|
| 216 |
+
|
| 217 |
+
- **ASTRAL** (`BipartitionWeightCalculator.getWeight`): `efffreq = fi / (2*mi)`, where
|
| 218 |
+
`mi = maxPossible()` is the product of the four arms' taxon counts in the gene. That count
|
| 219 |
+
includes quartets the gene leaves unresolved. EN is then the sum of the f values, which
|
| 220 |
+
`WQInferenceConsumer` notes "should only happen as a result of polytomies".
|
| 221 |
+
- **QRAFT**: each gene's three resolved counts are divided by their sum. **ASTER** does the same:
|
| 222 |
+
its f agree with QRAFT's to 7e-14 relative on all 1,175 edges.
|
| 223 |
+
|
| 224 |
+
`scripts/verify_polytomy_norm.py` counts quartets by brute force around 6 edges of the form
|
| 225 |
+
{a} | {b} | {s} | rest. It reproduces ASTRAL's f and EN to all 10 printed digits with the
|
| 226 |
+
"/ all quartets" rule, and QRAFT's printed f and EN with the "/ resolved" rule. Example:
|
| 227 |
+
edge PRIQ,QRTH | ZLQE. ASTRAL has f = (145, 0.0073, 0.0096), EN 145.017; QRAFT and ASTER have
|
| 228 |
+
f = (145, 0.967, 1.033), EN 147. Some genes resolve only a small fraction of the quartets around
|
| 229 |
+
this edge, and all of those as alternatives. They add 0.017 to ASTRAL's f2 + f3 and 2 to QRAFT's
|
| 230 |
+
and ASTER's.
|
| 231 |
+
|
| 232 |
+
The posterior arithmetic agrees on 1KP as well:
|
| 233 |
+
- QRAFT's pp against the exact posterior of QRAFT's own printed f: max 2.0e-5, which is within
|
| 234 |
+
the change that the 6-digit rounding of f allows, on all 1,175 edges (`qraft_self_exact` in
|
| 235 |
+
`cmp/1kp-*.astral.json`).
|
| 236 |
+
- ASTRAL's pp against the exact posterior of its own f: max 3.7e-10.
|
| 237 |
+
|
| 238 |
+
## Other observations
|
| 239 |
+
|
| 240 |
+
- **Numbering of the two alternatives.** Which alternative is "2" and which is "3" is a
|
| 241 |
+
per-tool convention. QRAFT's `alternative1` is an NNI swap of arms, while ASTRAL and ASTER
|
| 242 |
+
follow the rooting and child order of their output trees. The comparison pairs the tools'
|
| 243 |
+
alternatives by their f values, and pp2/pp3 follow. The swap counts per comparison are in
|
| 244 |
+
`cmp/*.json` (`tool_23_swapped_edges`; for example, 6175 of 9521 angio-extended edges
|
| 245 |
+
against ASTRAL). This is a labelling difference only.
|
| 246 |
+
- ASTER logs `Warning: Polytomy detected! Resolving arbitrarily!` for every QRAFT-written tree.
|
| 247 |
+
QRAFT writes the unrooted tree with a trifurcating root, and ASTER resolves that root. The
|
| 248 |
+
edge set is unchanged: all comparisons have 0 edges present in only one tree.
|
| 249 |
+
- ASTRAL prints a negative "Final quartet score" for angio-published (-3.46e17, normalized
|
| 250 |
+
-4.96). That is apparently an overflow in the score sum. The per-branch f values are unaffected:
|
| 251 |
+
f on that tree agree with QRAFT's within rounding on all 9,521 edges.
|
| 252 |
+
- ASTRAL prints pp = 0.0 wherever QRAFT prints values such as 2.8e-71. That is the MACHEP clamp
|
| 253 |
+
again, and it stays inside the tolerance.
|
| 254 |
+
|
| 255 |
+
## Deviations from the brief
|
| 256 |
+
|
| 257 |
+
- **ASTER tolerance.** The bound against ASTER is 1e-6, one unit, not half a unit. Both sides
|
| 258 |
+
round to 6 significant digits, so the same value can print one unit apart. At 5e-7, 49 more
|
| 259 |
+
ASTER edges would count: 31 on angio and 18 elsewhere. All of them differ by at most 1e-6, which
|
| 260 |
+
is one printed unit for pp in [0.1, 1).
|
| 261 |
+
- **Exact posterior for ASTER mismatches.** It uses ASTRAL's full-precision f of the same tree,
|
| 262 |
+
not ASTER's 6-digit f. A 6-digit f cannot pin pp to 5e-7 on contested edges. Outside 1KP,
|
| 263 |
+
the f values of ASTER and ASTRAL agree within ASTER's rounding on every edge. On 1KP the
|
| 264 |
+
ASTRAL f values were not used.
|
| 265 |
+
- **Comparison script.** `scripts/ppcheck.py` is new; its Newick parsing follows
|
| 266 |
+
`localpp-validate/compare_pp.py`, and the original is untouched.
|
| 267 |
+
- **Reused ASTER outputs.** The avian-48 and angio ASTER outputs come from the earlier run on
|
| 268 |
+
the original trees, which still had labels and, for angio-published, `NaN` lengths. Their
|
| 269 |
+
bipartition sets are identical to the stripped trees scored here.
|
| 270 |
+
- **Tree preparation.** Internal labels were stripped from the 1KP and B10K intergenic gene
|
| 271 |
+
files in advance, without waiting for a tool to reject them. The same stripped file went to
|
| 272 |
+
all three tools.
|
| 273 |
+
|
| 274 |
+
## What was run
|
| 275 |
+
|
| 276 |
+
QRAFT: `/home/risenfromashes/Documents/code/wQFM-turbo-localpp/build-rel/qraft`, sha256
|
| 277 |
+
`faffc6cca9b2fb13a0bfc94b3126fa33942c5b385b288b65cf461999ddf3a9ef` (the localpp worktree, built
|
| 278 |
+
from uncommitted changes on top of 8e9a03a). ASTRAL: `astral.5.15.5.jar` (ASTRAL-MP build),
|
| 279 |
+
Java 21. ASTER: `astral4` v1.24.4.8. Everything ran on BDAL in
|
| 280 |
+
`~/Documents/ark/qraft/ppcheck-2026-10-22/`, under `nice -n 19 ionice -c3` with a 900 s
|
| 281 |
+
`timeout` per job.
|
| 282 |
+
|
| 283 |
+
```bash
|
| 284 |
+
qraft -i GENES --starting-tree TREE --no-divide --no-nni --support localpp \
|
| 285 |
+
--support-frequencies gene --support-detail -t 6 --no-progress -o OUT.qraft.tre
|
| 286 |
+
java -Xmx32g -Djava.library.path=lib -jar astral.5.15.5.jar -C -T 4 -i GENES -q TREE -t 2 -o OUT.astral.tre
|
| 287 |
+
astral4 -C -c TREE -i GENES -u 2 -t 8 -o OUT.aster.tre
|
| 288 |
+
```
|
| 289 |
+
|
| 290 |
+
B10K intergenic used `-Xmx96g` for ASTRAL. The simulated "default" trees come from
|
| 291 |
+
`qraft -i GENES -t 6` (the release defaults). Scripts:
|
| 292 |
+
[scripts/prep.sh](scripts/prep.sh), [scripts/job.sh](scripts/job.sh),
|
| 293 |
+
[scripts/queues.sh](scripts/queues.sh) and [scripts/genes.map](scripts/genes.map) on BDAL.
|
| 294 |
+
[scripts/compare_all.sh](scripts/compare_all.sh), [scripts/ppcheck.py](scripts/ppcheck.py) and
|
| 295 |
+
[scripts/table.py](scripts/table.py) run on the desktop under
|
| 296 |
+
`systemd-run --user --scope --slice=experiments.slice -p MemoryMax=4G -- nice -n 10`.
|
| 297 |
+
|
| 298 |
+
Inputs:
|
| 299 |
+
|
| 300 |
+
| data set | taxa | genes | trees scored | gene file |
|
| 301 |
+
|---|---:|---:|---|---|
|
| 302 |
+
| 37-taxon R1, R2 (1X-200-500) | 37 | 200 | true, QRAFT default | stx-acc `all_gt.tre.rooted` |
|
| 303 |
+
| 100-taxon R2, R4 (inner100) | 101 | 1000 | true, QRAFT default | stx-acc `all_gt.tre.rooted` |
|
| 304 |
+
| 200-taxon R1 (inner200) | 201 | 1000 | true, QRAFT default | stx-acc `all_gt.tre.rooted` |
|
| 305 |
+
| 500-taxon R1 | 501 | 1000 | true, QRAFT default | stx-acc `gt.tre` |
|
| 306 |
+
| 1000-taxon R1 | 1001 | 1000 | true, QRAFT default | e1 `gt-cleaned-rooted-og-0.tre` |
|
| 307 |
+
| avian-48 | 48 | 14,446 | ref, default, extended, astralx | bio `a48-genes.tre` |
|
| 308 |
+
| B10K exons | 363 | 14,972 | ref, default, extended | bio `b10k-exons-genes.clean.tre` |
|
| 309 |
+
| B10K intergenic | 363 | 63,430 | ref (paper 63K), default | `63430.gene.trees`, internal labels stripped |
|
| 310 |
+
| angio | 9,524 | 353 | extended, published | pp `angio-genes.tre` |
|
| 311 |
+
| 1KP | 1,178 | 410 | ref (published), extended | `Best.33.FAA.genes.nwk`, internal labels stripped |
|
| 312 |
+
|
| 313 |
+
Gene files with internal labels (1KP bootstrap values, B10K intergenic `/0.999` values) were
|
| 314 |
+
stripped once by `ppcheck.py strip`, and the same file went to all three tools. Every scored
|
| 315 |
+
tree was stripped of labels and lengths; angio-published has `NaN` lengths. Each tree has the
|
| 316 |
+
same taxon set as its genes and is binary ([bdal/info/](bdal/info/)).
|
| 317 |
+
|
| 318 |
+
## Timings and skipped runs
|
| 319 |
+
|
| 320 |
+
Everything ran on BDAL between 15:29 and 16:14 UTC (21:29-22:14 BDT). Wall times are in
|
| 321 |
+
[cmp/timings.md](cmp/timings.md) (`/usr/bin/time -v`). QRAFT annotation took
|
| 322 |
+
under 17 s on every tree. Under load on the shared server (load average 45-67), ASTRAL took
|
| 323 |
+
14 min per angio tree, 7 min per B10K intergenic tree and 1.3 min per B10K exon tree. ASTER
|
| 324 |
+
took 11-13 min per B10K exon tree and 13.5 min for 1KP ref.
|
| 325 |
+
|
| 326 |
+
- The ASTER angio and avian-48 outputs were **reused** from `pp-2026-10-22` (34-35 min per
|
| 327 |
+
angio tree; same trees and gene file).
|
| 328 |
+
- **Skipped: ASTER on B10K intergenic.** With 63,430 genes it would take about 4x the 11-13 min
|
| 329 |
+
of B10K exons, beyond the 15-min cap. ASTRAL and QRAFT were run there; all 720 edges agree.
|
| 330 |
+
- **Skipped: ASTER on 1KP extended.** 1KP ref already took 13.5 min, and the extended tree shares
|
| 331 |
+
1,152 of its 1,175 edges.
|
| 332 |
+
- No job timed out.
|
| 333 |
+
|
| 334 |
+
## Files
|
| 335 |
+
|
| 336 |
+
- `scripts/`: everything run, as described above.
|
| 337 |
+
- `bdal/`: copied back from BDAL: `out/` (all annotated trees: `*.qraft.tre`, `*.astral.tre`,
|
| 338 |
+
`*.aster.tre`), `logs/` (tool logs and `*.time`), `trees/` (the stripped trees scored, and
|
| 339 |
+
`raw/` with the originals of the copied trees), `info/`, `progress` and `bin/`. `bin/` holds
|
| 340 |
+
the scripts as they ran on BDAL; its `ppcheck.py` is an earlier copy used only for `strip`
|
| 341 |
+
and `info`. The comparison used `scripts/ppcheck.py`. The large gene
|
| 342 |
+
files stay on BDAL.
|
| 343 |
+
- `cmp/`: `summary.jsonl` and `<tree>.<tool>.json` (one summary per comparison),
|
| 344 |
+
`<tree>.<tool>.csv` (every matched edge: printed values of both sides, the tool's 2/3 aligned
|
| 345 |
+
to QRAFT, the ASTER emulation, and the exact values where checked), `*.beyond.csv`,
|
| 346 |
+
`tables.md`, `timings.md`, `1kp-ref.polytomy-normalization.txt` and
|
| 347 |
+
`astral-beyond-java.txt`.
|
runs/local-2026-10-22-localpp-strict-check/bdal/bin/count_polytomies.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Count gene trees with a polytomy (an internal node of degree > 3, or a root of degree > 3).
|
| 2 |
+
Usage: python3 -I count_polytomies.py FILE..."""
|
| 3 |
+
import sys
|
| 4 |
+
for path in sys.argv[1:]:
|
| 5 |
+
trees = poly = 0
|
| 6 |
+
for line in open(path):
|
| 7 |
+
line = line.strip()
|
| 8 |
+
if not line:
|
| 9 |
+
continue
|
| 10 |
+
trees += 1
|
| 11 |
+
st, has = [], False
|
| 12 |
+
q = False
|
| 13 |
+
for ch in line:
|
| 14 |
+
if ch == "'":
|
| 15 |
+
q = not q
|
| 16 |
+
if q:
|
| 17 |
+
continue
|
| 18 |
+
if ch == '(':
|
| 19 |
+
st.append(1)
|
| 20 |
+
elif ch == ',':
|
| 21 |
+
st[-1] += 1
|
| 22 |
+
elif ch == ')':
|
| 23 |
+
k = st.pop()
|
| 24 |
+
if (st and k > 2) or (not st and k > 3):
|
| 25 |
+
has = True
|
| 26 |
+
poly += has
|
| 27 |
+
print(f'{path}\t{trees} trees\t{poly} with a polytomy')
|
runs/local-2026-10-22-localpp-strict-check/bdal/bin/genes.map
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
a48 ../bio-2026-10-22/a48-genes.tre
|
| 2 |
+
angio ../pp-2026-10-22/angio-genes.tre
|
| 3 |
+
b10kex ../bio-2026-10-22/b10k-exons-genes.clean.tre
|
| 4 |
+
b10kint data/b10kint.genes.clean.tre
|
| 5 |
+
1kp data/1kp.genes.clean.tre
|
| 6 |
+
s37R1 data/s37-R1.genes.tre
|
| 7 |
+
s37R2 data/s37-R2.genes.tre
|
| 8 |
+
s100R2 data/s100-R2.genes.tre
|
| 9 |
+
s100R4 data/s100-R4.genes.tre
|
| 10 |
+
s200R1 data/s200-R1.genes.tre
|
| 11 |
+
s500R1 data/s500-R1.genes.tre
|
| 12 |
+
s1000R1 data/s1000-R1.genes.tre
|
runs/local-2026-10-22-localpp-strict-check/bdal/bin/job.sh
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
# One annotation job: job.sh TOOL ID (ID = <dataset>-<tree>; genes from genes.map)
|
| 3 |
+
set -u
|
| 4 |
+
W=~/Documents/ark/qraft/ppcheck-2026-10-22
|
| 5 |
+
cd $W
|
| 6 |
+
tool=$1; id=$2; ds=${id%%-*}
|
| 7 |
+
genes=$(awk -v d=$ds '$1==d {print $2}' bin/genes.map)
|
| 8 |
+
G=$W/$genes; T=$W/trees/$id.tre; O=$W/out/$id.$tool.tre; L=$W/logs/$id.$tool
|
| 9 |
+
P="nice -n 19 ionice -c3"
|
| 10 |
+
# a job runs once, whichever queue reaches it first
|
| 11 |
+
[ -e $L.started ] && { echo "skip $tool $id (already started)"; exit 0; }
|
| 12 |
+
touch $L.started
|
| 13 |
+
start=$(date +%s)
|
| 14 |
+
case $tool in
|
| 15 |
+
qraft)
|
| 16 |
+
/usr/bin/time -v -o $L.time timeout 900 $P $W/bin/qraft -i $G --starting-tree $T \
|
| 17 |
+
--no-divide --no-nni --support localpp --support-frequencies gene --support-detail \
|
| 18 |
+
-t 6 --no-progress -o $O > $L.log 2>&1 ;;
|
| 19 |
+
astral)
|
| 20 |
+
mem=32g; [ $ds = b10kint ] && mem=96g
|
| 21 |
+
cd ~/Documents/ark/qraft/astral3-2026-10-22/Astral
|
| 22 |
+
/usr/bin/time -v -o $L.time timeout 900 $P java -Xmx$mem -Djava.library.path=lib \
|
| 23 |
+
-jar astral.5.15.5.jar -C -T 4 -i $G -q $T -t 2 -o $O > $L.log 2>&1 ;;
|
| 24 |
+
aster)
|
| 25 |
+
/usr/bin/time -v -o $L.time timeout 900 $P ~/Documents/ark/qraft/pp-2026-10-22/astral4 \
|
| 26 |
+
-C -c $T -i $G -u 2 -t 8 -o $O > $L.log 2>&1 ;;
|
| 27 |
+
esac
|
| 28 |
+
rc=$?
|
| 29 |
+
echo "$(date +%T) $tool $id exit=$rc wall=$(( $(date +%s) - start ))s $(grep -E 'Maximum resident' $L.time | tr -s ' \t' ' ')" >> $W/progress
|
runs/local-2026-10-22-localpp-strict-check/bdal/bin/ppcheck.py
ADDED
|
@@ -0,0 +1,539 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Strict check of QRAFT's local posterior probabilities against ASTRAL-III and ASTER.
|
| 2 |
+
|
| 3 |
+
Self-contained (run with python3 -I). Subcommands:
|
| 4 |
+
|
| 5 |
+
info TREE [GENES] leaf count, internal edges, binary or not; with GENES, the
|
| 6 |
+
taxa of the tree that never occur in a gene tree and vice versa
|
| 7 |
+
strip IN OUT [--lengths] drop internal node labels (and with --lengths all branch
|
| 8 |
+
lengths), one tree per line, streaming
|
| 9 |
+
compare QRAFT TOOL --tool astral|aster --name NAME [--exact] [--csv OUT.csv]
|
| 10 |
+
match edges by bipartition and compare the annotations;
|
| 11 |
+
prints one JSON summary line
|
| 12 |
+
exact F1 F2 F3 high-precision pp1..pp3 (mpmath, 50 digits)
|
| 13 |
+
|
| 14 |
+
Edges are keyed by the side of the split that does not contain the smallest taxon name.
|
| 15 |
+
"""
|
| 16 |
+
import json
|
| 17 |
+
import math
|
| 18 |
+
import random
|
| 19 |
+
import re
|
| 20 |
+
import sys
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
# ---------------------------------------------------------------- Newick parsing
|
| 24 |
+
|
| 25 |
+
def parse_newick(text):
|
| 26 |
+
"""Return (names, parent, children, raw_label, length) for one tree.
|
| 27 |
+
|
| 28 |
+
Leaves have their name in names[v]; internal nodes keep their label text (quoted or
|
| 29 |
+
not, quotes removed) in raw_label[v]."""
|
| 30 |
+
text = text.strip()
|
| 31 |
+
names, parent, children, label, length = [], [], [], [], []
|
| 32 |
+
|
| 33 |
+
def new(p):
|
| 34 |
+
names.append(None); parent.append(p); children.append([]); label.append(None)
|
| 35 |
+
length.append(None)
|
| 36 |
+
v = len(parent) - 1
|
| 37 |
+
if p >= 0:
|
| 38 |
+
children[p].append(v)
|
| 39 |
+
return v
|
| 40 |
+
|
| 41 |
+
def read_token(i):
|
| 42 |
+
"""Read a label (quoted or bare) at i; return (text, next index)."""
|
| 43 |
+
if i < n and text[i] == "'":
|
| 44 |
+
j = i + 1
|
| 45 |
+
out = []
|
| 46 |
+
while True:
|
| 47 |
+
k = text.index("'", j)
|
| 48 |
+
out.append(text[j:k])
|
| 49 |
+
if k + 1 < n and text[k + 1] == "'":
|
| 50 |
+
out.append("'"); j = k + 2
|
| 51 |
+
continue
|
| 52 |
+
return ''.join(out), k + 1
|
| 53 |
+
j = i
|
| 54 |
+
while j < n and text[j] not in ',():;':
|
| 55 |
+
j += 1
|
| 56 |
+
return text[i:j].strip(), j
|
| 57 |
+
|
| 58 |
+
def read_length(i):
|
| 59 |
+
if i < n and text[i] == ':':
|
| 60 |
+
j = i + 1
|
| 61 |
+
while j < n and text[j] not in ',();':
|
| 62 |
+
j += 1
|
| 63 |
+
return text[i + 1:j].strip(), j
|
| 64 |
+
return None, i
|
| 65 |
+
|
| 66 |
+
n = len(text)
|
| 67 |
+
cur, i = -1, 0
|
| 68 |
+
root = None
|
| 69 |
+
while i < n:
|
| 70 |
+
c = text[i]
|
| 71 |
+
if c == '(':
|
| 72 |
+
cur = new(cur)
|
| 73 |
+
if root is None:
|
| 74 |
+
root = cur
|
| 75 |
+
i += 1
|
| 76 |
+
elif c in ', \n\t\r':
|
| 77 |
+
i += 1
|
| 78 |
+
elif c == ')':
|
| 79 |
+
i += 1
|
| 80 |
+
tok, i = read_token(i)
|
| 81 |
+
label[cur] = tok if tok != '' else None
|
| 82 |
+
ln, i = read_length(i)
|
| 83 |
+
length[cur] = ln
|
| 84 |
+
cur = parent[cur]
|
| 85 |
+
elif c == ';':
|
| 86 |
+
break
|
| 87 |
+
else:
|
| 88 |
+
v = new(cur)
|
| 89 |
+
tok, i = read_token(i)
|
| 90 |
+
names[v] = tok
|
| 91 |
+
ln, i = read_length(i)
|
| 92 |
+
length[v] = ln
|
| 93 |
+
return names, parent, children, label, length
|
| 94 |
+
|
| 95 |
+
|
| 96 |
+
def parse_annotation(raw):
|
| 97 |
+
"""Parse '[k=v;k=v]' into {k: (float, text)}; a bare number becomes {'support': ...}."""
|
| 98 |
+
if raw is None:
|
| 99 |
+
return None
|
| 100 |
+
raw = raw.strip()
|
| 101 |
+
if raw.startswith('[') and raw.endswith(']'):
|
| 102 |
+
d = {}
|
| 103 |
+
for kv in raw[1:-1].split(';'):
|
| 104 |
+
if '=' in kv:
|
| 105 |
+
k, v = kv.split('=', 1)
|
| 106 |
+
try:
|
| 107 |
+
d[k.strip()] = (float(v), v.strip())
|
| 108 |
+
except ValueError:
|
| 109 |
+
pass
|
| 110 |
+
return d
|
| 111 |
+
try:
|
| 112 |
+
return {'support': (float(raw), raw)}
|
| 113 |
+
except ValueError:
|
| 114 |
+
return None
|
| 115 |
+
|
| 116 |
+
|
| 117 |
+
def bipartitions(path_or_text, is_text=False):
|
| 118 |
+
"""Return (taxa, splits, dup_conflicts) for one tree file.
|
| 119 |
+
|
| 120 |
+
splits maps a bitmask key (side without taxa[0]) to the annotation dict (or None).
|
| 121 |
+
A split seen twice (both children of a binary root) keeps the annotated copy; if both
|
| 122 |
+
copies are annotated and differ, it is counted in dup_conflicts."""
|
| 123 |
+
text = path_or_text if is_text else open(path_or_text).read()
|
| 124 |
+
names, parent, children, label, _ = parse_newick(text)
|
| 125 |
+
leaves = [v for v in range(len(parent)) if not children[v]]
|
| 126 |
+
taxa = sorted(names[v] for v in leaves)
|
| 127 |
+
if len(set(taxa)) != len(taxa):
|
| 128 |
+
raise SystemExit(f'duplicate leaf names in {path_or_text if not is_text else "tree"}')
|
| 129 |
+
index = {t: i for i, t in enumerate(taxa)}
|
| 130 |
+
full = (1 << len(taxa)) - 1
|
| 131 |
+
order, stack = [], [0]
|
| 132 |
+
while stack:
|
| 133 |
+
v = stack.pop(); order.append(v); stack.extend(children[v])
|
| 134 |
+
mask = [0] * len(parent)
|
| 135 |
+
splits, dup_conflicts = {}, 0
|
| 136 |
+
for v in reversed(order):
|
| 137 |
+
if not children[v]:
|
| 138 |
+
mask[v] = 1 << index[names[v]]
|
| 139 |
+
continue
|
| 140 |
+
m = 0
|
| 141 |
+
for c in children[v]:
|
| 142 |
+
m |= mask[c]
|
| 143 |
+
mask[v] = m
|
| 144 |
+
size = m.bit_count()
|
| 145 |
+
if 2 <= size <= len(taxa) - 2:
|
| 146 |
+
key = m if not (m & 1) else full ^ m
|
| 147 |
+
ann = parse_annotation(label[v])
|
| 148 |
+
if key in splits:
|
| 149 |
+
old = splits[key]
|
| 150 |
+
if old is not None and ann is not None and old != ann:
|
| 151 |
+
dup_conflicts += 1
|
| 152 |
+
if old is None:
|
| 153 |
+
splits[key] = ann
|
| 154 |
+
else:
|
| 155 |
+
splits[key] = ann
|
| 156 |
+
return taxa, splits, dup_conflicts
|
| 157 |
+
|
| 158 |
+
|
| 159 |
+
# ---------------------------------------------------------------- info / strip
|
| 160 |
+
|
| 161 |
+
def cmd_info(args):
|
| 162 |
+
tree = args[0]
|
| 163 |
+
taxa, splits, _ = bipartitions(tree)
|
| 164 |
+
n = len(taxa)
|
| 165 |
+
out = {'tree': tree, 'taxa': n, 'internal_edges': len(splits), 'binary': len(splits) == n - 3}
|
| 166 |
+
if len(args) > 1:
|
| 167 |
+
seen = set()
|
| 168 |
+
leaf_re = re.compile(r"[(,]\s*([^(),:;\[\]]+?)\s*(?=[:,)])")
|
| 169 |
+
with open(args[1]) as fh:
|
| 170 |
+
for line in fh:
|
| 171 |
+
if line.strip():
|
| 172 |
+
seen.update(m.group(1) for m in leaf_re.finditer(line))
|
| 173 |
+
out['gene_taxa'] = len(seen)
|
| 174 |
+
out['tree_only'] = sorted(set(taxa) - seen)[:10]
|
| 175 |
+
out['tree_only_count'] = len(set(taxa) - seen)
|
| 176 |
+
out['genes_only_count'] = len(seen - set(taxa))
|
| 177 |
+
out['genes_only'] = sorted(seen - set(taxa))[:10]
|
| 178 |
+
print(json.dumps(out))
|
| 179 |
+
|
| 180 |
+
|
| 181 |
+
INTERNAL_LABEL = re.compile(r"\)[^:,;()]+")
|
| 182 |
+
LENGTH = re.compile(r":[^,;()]+")
|
| 183 |
+
|
| 184 |
+
|
| 185 |
+
def cmd_strip(args):
|
| 186 |
+
src, dst = args[0], args[1]
|
| 187 |
+
drop_lengths = '--lengths' in args
|
| 188 |
+
count = 0
|
| 189 |
+
with open(src) as fi, open(dst, 'w') as fo:
|
| 190 |
+
for line in fi:
|
| 191 |
+
line = line.strip()
|
| 192 |
+
if not line:
|
| 193 |
+
continue
|
| 194 |
+
if "'" in line or '[' in line:
|
| 195 |
+
raise SystemExit(f'quoted label or comment in tree {count + 1}; not handled')
|
| 196 |
+
line = INTERNAL_LABEL.sub(')', line)
|
| 197 |
+
if drop_lengths:
|
| 198 |
+
line = LENGTH.sub('', line)
|
| 199 |
+
fo.write(line + '\n')
|
| 200 |
+
count += 1
|
| 201 |
+
print(json.dumps({'in': src, 'out': dst, 'trees': count, 'lengths_dropped': drop_lengths}))
|
| 202 |
+
|
| 203 |
+
|
| 204 |
+
# ---------------------------------------------------------------- tolerances
|
| 205 |
+
|
| 206 |
+
def half_unit_6sig(x):
|
| 207 |
+
"""Half a unit in the 6th significant digit of x (C++ setprecision(6) output)."""
|
| 208 |
+
if x == 0 or not math.isfinite(x):
|
| 209 |
+
return 0.0
|
| 210 |
+
return 0.5 * 10.0 ** (math.floor(math.log10(abs(x))) - 5)
|
| 211 |
+
|
| 212 |
+
|
| 213 |
+
# ---------------------------------------------------------------- exact posterior
|
| 214 |
+
|
| 215 |
+
def exact_pp(f1, f2, f3, digits=50):
|
| 216 |
+
"""pp1..pp3 with mpmath at `digits` digits from f's given as decimal strings or floats.
|
| 217 |
+
|
| 218 |
+
w_i = (1 - I_{1/3}(f_i + 1, n - f_i + 1)) 2^{f_i} Gamma(f_i + 1) Gamma(n - f_i + 1),
|
| 219 |
+
n = f1 + f2 + f3. 1 - I_{1/3}(a, b) = I_{2/3}(b, a) is evaluated by the continued
|
| 220 |
+
fraction on whichever side converges, in log space, so no cancellation occurs."""
|
| 221 |
+
import mpmath as mp
|
| 222 |
+
mp.mp.dps = digits
|
| 223 |
+
f = [mp.mpf(str(x)) for x in (f1, f2, f3)]
|
| 224 |
+
n = f[0] + f[1] + f[2]
|
| 225 |
+
logw = [log_upper_tail(fi + 1, n - fi + 1) + fi * mp.log(2) + mp.loggamma(fi + 1)
|
| 226 |
+
+ mp.loggamma(n - fi + 1) for fi in f]
|
| 227 |
+
top = max(logw)
|
| 228 |
+
w = [mp.e ** (x - top) for x in logw]
|
| 229 |
+
s = w[0] + w[1] + w[2]
|
| 230 |
+
return [x / s for x in w]
|
| 231 |
+
|
| 232 |
+
|
| 233 |
+
def _betacf(a, b, x):
|
| 234 |
+
"""Continued fraction of the incomplete beta (modified Lentz), mpmath precision."""
|
| 235 |
+
import mpmath as mp
|
| 236 |
+
tiny = mp.mpf(10) ** (-(mp.mp.dps + 30))
|
| 237 |
+
eps = mp.mpf(10) ** (-(mp.mp.dps + 5))
|
| 238 |
+
qab, qap, qam = a + b, a + 1, a - 1
|
| 239 |
+
c = mp.mpf(1)
|
| 240 |
+
d = 1 - qab * x / qap
|
| 241 |
+
if abs(d) < tiny:
|
| 242 |
+
d = tiny
|
| 243 |
+
d = 1 / d
|
| 244 |
+
h = d
|
| 245 |
+
for m in range(1, 10 ** 7):
|
| 246 |
+
m2 = 2 * m
|
| 247 |
+
aa = m * (b - m) * x / ((qam + m2) * (a + m2))
|
| 248 |
+
d = 1 + aa * d
|
| 249 |
+
if abs(d) < tiny: d = tiny
|
| 250 |
+
c = 1 + aa / c
|
| 251 |
+
if abs(c) < tiny: c = tiny
|
| 252 |
+
d = 1 / d
|
| 253 |
+
h *= d * c
|
| 254 |
+
aa = -(a + m) * (qab + m) * x / ((a + m2) * (qap + m2))
|
| 255 |
+
d = 1 + aa * d
|
| 256 |
+
if abs(d) < tiny: d = tiny
|
| 257 |
+
c = 1 + aa / c
|
| 258 |
+
if abs(c) < tiny: c = tiny
|
| 259 |
+
d = 1 / d
|
| 260 |
+
delta = d * c
|
| 261 |
+
h *= delta
|
| 262 |
+
if abs(delta - 1) < eps:
|
| 263 |
+
return h
|
| 264 |
+
raise RuntimeError('continued fraction did not converge')
|
| 265 |
+
|
| 266 |
+
|
| 267 |
+
def _log_reg_beta(a, b, x):
|
| 268 |
+
"""log I_x(a, b), accurate in relative terms whichever side of the mean x lies."""
|
| 269 |
+
import mpmath as mp
|
| 270 |
+
log_front = (mp.loggamma(a + b) - mp.loggamma(a) - mp.loggamma(b)
|
| 271 |
+
+ a * mp.log(x) + b * mp.log(1 - x))
|
| 272 |
+
if x < (a + 1) / (a + b + 2):
|
| 273 |
+
return log_front + mp.log(_betacf(a, b, x) / a)
|
| 274 |
+
# I_x(a,b) = 1 - I_{1-x}(b,a); the subtracted term is small here
|
| 275 |
+
return mp.log(1 - mp.e ** log_front * _betacf(b, a, 1 - x) / b)
|
| 276 |
+
|
| 277 |
+
|
| 278 |
+
def log_upper_tail(a, b):
|
| 279 |
+
"""log(1 - I_{1/3}(a, b)) = log I_{2/3}(b, a)."""
|
| 280 |
+
import mpmath as mp
|
| 281 |
+
return _log_reg_beta(b, a, mp.mpf(2) / 3)
|
| 282 |
+
|
| 283 |
+
|
| 284 |
+
def astral_emulated_pp1(f1, f2, f3):
|
| 285 |
+
"""ASTRAL 5.15.5 Posterior.post() in double precision, with the regularized incomplete
|
| 286 |
+
beta I_{1/3} taken exactly (mpmath) and rounded to double, i.e. the best case for
|
| 287 |
+
Colt's incompleteBeta. G = 1 - I in double, set to 0 when <= MACHEP; r(mi) =
|
| 288 |
+
exp(ln2 (mi - f1) + lnG(mi+1) + lnG(n-mi+1) - lnG(f1+1) - lnG(n-f1+1))."""
|
| 289 |
+
import mpmath as mp
|
| 290 |
+
mp.mp.dps = 50
|
| 291 |
+
MACHEP = 1.11022302462515654042e-16
|
| 292 |
+
f1, f2, f3 = float(f1), float(f2), float(f3)
|
| 293 |
+
n = f1 + f2 + f3
|
| 294 |
+
|
| 295 |
+
def G(x):
|
| 296 |
+
incb = float(mp.e ** _log_reg_beta(mp.mpf(x) + 1, mp.mpf(n) - x + 1, mp.mpf(1) / 3))
|
| 297 |
+
g = 1.0 - incb
|
| 298 |
+
return 0.0 if g <= MACHEP else g
|
| 299 |
+
|
| 300 |
+
def r(mi):
|
| 301 |
+
a = (math.lgamma(mi + 1) + math.lgamma(n - mi + 1)
|
| 302 |
+
- math.lgamma(f1 + 1) - math.lgamma(n - f1 + 1))
|
| 303 |
+
return math.exp(math.log(2.0) * (mi - f1) + a)
|
| 304 |
+
|
| 305 |
+
def rG(mi):
|
| 306 |
+
x = G(mi) * r(mi)
|
| 307 |
+
if math.isnan(x) or math.isinf(x):
|
| 308 |
+
if mi * 3 < n:
|
| 309 |
+
return 0.0
|
| 310 |
+
return 0.0 if f1 > mi else math.inf
|
| 311 |
+
return x
|
| 312 |
+
g2, g3 = rG(f2), rG(f3)
|
| 313 |
+
g1 = G(f1)
|
| 314 |
+
return g1 / (g1 + g2 + g3)
|
| 315 |
+
|
| 316 |
+
|
| 317 |
+
def cmd_exact(args):
|
| 318 |
+
pp = exact_pp(*args[:3])
|
| 319 |
+
print(' '.join(str(x) for x in pp))
|
| 320 |
+
|
| 321 |
+
|
| 322 |
+
# ---------------------------------------------------------------- compare
|
| 323 |
+
|
| 324 |
+
def get(d, k):
|
| 325 |
+
v = d.get(k)
|
| 326 |
+
return None if v is None else v[0]
|
| 327 |
+
|
| 328 |
+
|
| 329 |
+
def cmd_compare(args):
|
| 330 |
+
import argparse
|
| 331 |
+
ap = argparse.ArgumentParser(prog='ppcheck.py compare')
|
| 332 |
+
ap.add_argument('qraft'); ap.add_argument('tool')
|
| 333 |
+
ap.add_argument('--tool', dest='tool_name', required=True, choices=['astral', 'aster'])
|
| 334 |
+
ap.add_argument('--name', required=True)
|
| 335 |
+
ap.add_argument('--exact', action='store_true',
|
| 336 |
+
help='mpmath posterior from ASTRAL f values (tool must be astral)')
|
| 337 |
+
ap.add_argument('--exact-sample', type=int, default=200)
|
| 338 |
+
ap.add_argument('--csv')
|
| 339 |
+
ap.add_argument('--mismatch-csv')
|
| 340 |
+
a = ap.parse_args(args)
|
| 341 |
+
|
| 342 |
+
tq, sq, dq = bipartitions(a.qraft)
|
| 343 |
+
tt, st, dt = bipartitions(a.tool)
|
| 344 |
+
if tq != tt:
|
| 345 |
+
raise SystemExit(f'leaf sets differ: {len(tq)} vs {len(tt)}')
|
| 346 |
+
q_ann = {k: v for k, v in sq.items() if v and 'pp1' in v}
|
| 347 |
+
t_ann = {k: v for k, v in st.items() if v and 'pp1' in v}
|
| 348 |
+
common = sorted(set(q_ann) & set(t_ann))
|
| 349 |
+
# pp tolerance: QRAFT prints 6 significant digits (half unit 5e-7 for pp in [0.1, 1]);
|
| 350 |
+
# ASTRAL prints full doubles, ASTER 6 significant digits like QRAFT.
|
| 351 |
+
tol_pp = 5e-7 if a.tool_name == 'astral' else 1e-6
|
| 352 |
+
tool_rounds = a.tool_name == 'aster'
|
| 353 |
+
taxa = tq
|
| 354 |
+
first = lambda key: taxa[(key & -key).bit_length() - 1]
|
| 355 |
+
|
| 356 |
+
summ = {
|
| 357 |
+
'name': a.name, 'tool': a.tool_name, 'taxa': len(taxa),
|
| 358 |
+
'qraft_splits': len(sq), 'tool_splits': len(st),
|
| 359 |
+
'qraft_only_splits': len(set(sq) - set(st)), 'tool_only_splits': len(set(st) - set(sq)),
|
| 360 |
+
'qraft_annotated': len(q_ann), 'tool_annotated': len(t_ann),
|
| 361 |
+
'dup_conflicts': dq + dt, 'matched': len(common), 'tol_pp': tol_pp,
|
| 362 |
+
}
|
| 363 |
+
worst = {k: 0.0 for k in ('pp1', 'pp2', 'pp3', 'f_over_EN', 'q1', 'EN_rel')}
|
| 364 |
+
worst_at = {}
|
| 365 |
+
beyond, beyond_pp = [], {'pp1': 0, 'pp2': 0, 'pp3': 0}
|
| 366 |
+
f_beyond = 0
|
| 367 |
+
strict_beyond = 0
|
| 368 |
+
tool_zero_clamped = 0
|
| 369 |
+
shortcut = [] # ASTER prints pp1 = 1, pp2 = pp3 = 0
|
| 370 |
+
nonshort = {'pp1': 0.0, 'pp2': 0.0, 'pp3': 0.0, 'beyond': 0, 'edges': 0}
|
| 371 |
+
rows = []
|
| 372 |
+
n_swapped = 0
|
| 373 |
+
for key in common:
|
| 374 |
+
x, y = q_ann[key], t_ann[key]
|
| 375 |
+
# Which alternative topology is numbered 2 and which 3 is a per-tool convention
|
| 376 |
+
# (it depends on how the tool orders the edge's four arms). Pair the tool's two
|
| 377 |
+
# alternatives with QRAFT's by their frequencies; pp2/pp3 and q2/q3 follow.
|
| 378 |
+
fq0 = [get(x, f'f{i}') for i in (1, 2, 3)]
|
| 379 |
+
ft0 = [get(y, f'f{i}') for i in (1, 2, 3)]
|
| 380 |
+
swapped = (abs(fq0[1] - ft0[2]) + abs(fq0[2] - ft0[1])
|
| 381 |
+
< abs(fq0[1] - ft0[1]) + abs(fq0[2] - ft0[2]))
|
| 382 |
+
if swapped:
|
| 383 |
+
y = dict(y)
|
| 384 |
+
for p, q in (('f2', 'f3'), ('pp2', 'pp3'), ('q2', 'q3')):
|
| 385 |
+
if p in y and q in y:
|
| 386 |
+
y[p], y[q] = y[q], y[p]
|
| 387 |
+
n_swapped += 1
|
| 388 |
+
fq = [get(x, f'f{i}') for i in (1, 2, 3)]
|
| 389 |
+
ft = [get(y, f'f{i}') for i in (1, 2, 3)]
|
| 390 |
+
en_t = get(y, 'EN') if 'EN' in y else sum(ft)
|
| 391 |
+
en_q = get(x, 'EN')
|
| 392 |
+
en = en_t if en_t else 1.0
|
| 393 |
+
row = {'key_first_taxon': first(key), 'split_size': key.bit_count(),
|
| 394 |
+
'EN_qraft': en_q, 'EN_tool': en_t, 'tool_23_swapped': swapped}
|
| 395 |
+
for i in (1, 2, 3):
|
| 396 |
+
row[f'f{i}_qraft'] = x[f'f{i}'][1]; row[f'f{i}_tool'] = y[f'f{i}'][1]
|
| 397 |
+
row[f'pp{i}_qraft'] = x[f'pp{i}'][1]; row[f'pp{i}_tool'] = y[f'pp{i}'][1]
|
| 398 |
+
# f agreement
|
| 399 |
+
for i in range(3):
|
| 400 |
+
d = abs(fq[i] - ft[i])
|
| 401 |
+
tol_f = half_unit_6sig(fq[i]) + (half_unit_6sig(ft[i]) if tool_rounds else 0.0) \
|
| 402 |
+
+ 1e-9 * max(1.0, en)
|
| 403 |
+
if d > tol_f:
|
| 404 |
+
f_beyond += 1
|
| 405 |
+
if d / en > worst['f_over_EN']:
|
| 406 |
+
worst['f_over_EN'] = d / en; worst_at['f_over_EN'] = row
|
| 407 |
+
if en_q is not None and en_t:
|
| 408 |
+
d = abs(en_q - en_t) / max(1.0, en_t)
|
| 409 |
+
worst['EN_rel'] = max(worst['EN_rel'], d)
|
| 410 |
+
if 'q1' in x and 'q1' in y:
|
| 411 |
+
worst['q1'] = max(worst['q1'], abs(get(x, 'q1') - get(y, 'q1')))
|
| 412 |
+
# pp agreement
|
| 413 |
+
edge_beyond = False
|
| 414 |
+
edge_strict = False
|
| 415 |
+
for i in (1, 2, 3):
|
| 416 |
+
k = f'pp{i}'
|
| 417 |
+
pq, pt = get(x, k), get(y, k)
|
| 418 |
+
d = abs(pq - pt)
|
| 419 |
+
if d > worst[k]:
|
| 420 |
+
worst[k] = d; worst_at[k] = row
|
| 421 |
+
if d > tol_pp:
|
| 422 |
+
beyond_pp[k] += 1; edge_beyond = True
|
| 423 |
+
# strict: half a unit of each printed value at its own magnitude
|
| 424 |
+
stol = half_unit_6sig(pq) + (half_unit_6sig(pt) if tool_rounds else 0.0) \
|
| 425 |
+
+ 1e-15
|
| 426 |
+
if pt == 0.0 and pq != 0.0 and pq < tol_pp:
|
| 427 |
+
tool_zero_clamped += 1
|
| 428 |
+
elif d > stol:
|
| 429 |
+
edge_strict = True
|
| 430 |
+
row['beyond'] = edge_beyond
|
| 431 |
+
if edge_beyond:
|
| 432 |
+
beyond.append(row)
|
| 433 |
+
if edge_strict:
|
| 434 |
+
strict_beyond += 1
|
| 435 |
+
if a.tool_name == 'aster':
|
| 436 |
+
is_short = get(y, 'pp1') == 1.0 and get(y, 'pp2') == 0.0 and get(y, 'pp3') == 0.0
|
| 437 |
+
row['aster_pp1_exactly_1'] = is_short
|
| 438 |
+
if is_short:
|
| 439 |
+
shortcut.append(row)
|
| 440 |
+
else:
|
| 441 |
+
nonshort['edges'] += 1
|
| 442 |
+
for i in (1, 2, 3):
|
| 443 |
+
k = f'pp{i}'
|
| 444 |
+
nonshort[k] = max(nonshort[k], abs(get(x, k) - get(y, k)))
|
| 445 |
+
if edge_beyond:
|
| 446 |
+
nonshort['beyond'] += 1
|
| 447 |
+
rows.append(row)
|
| 448 |
+
|
| 449 |
+
summ.update({f'max_d{k}': v for k, v in worst.items()})
|
| 450 |
+
summ['tool_23_swapped_edges'] = n_swapped
|
| 451 |
+
summ['beyond_tol_edges'] = len(beyond)
|
| 452 |
+
summ['beyond_tol_by_pp'] = beyond_pp
|
| 453 |
+
summ['f_beyond_rounding'] = f_beyond
|
| 454 |
+
summ['strict6sig_beyond_edges'] = strict_beyond
|
| 455 |
+
summ['tool_prints_zero_where_qraft_tiny'] = tool_zero_clamped
|
| 456 |
+
if a.tool_name == 'aster':
|
| 457 |
+
sb = [r for r in shortcut if r['beyond']]
|
| 458 |
+
summ['aster_pp1_eq_1_edges'] = len(shortcut)
|
| 459 |
+
summ['aster_pp1_eq_1_beyond_tol'] = len(sb)
|
| 460 |
+
summ['aster_rest'] = nonshort
|
| 461 |
+
if sb:
|
| 462 |
+
summ['aster_pp1_eq_1_beyond_min_qraft_pp1'] = min(float(r['pp1_qraft']) for r in sb)
|
| 463 |
+
summ['aster_pp1_eq_1_beyond_EN_range'] = [min(r['EN_tool'] for r in sb),
|
| 464 |
+
max(r['EN_tool'] for r in sb)]
|
| 465 |
+
# the largest QRAFT 1 - pp1 that ASTER still rounds to exactly 1, and the smallest
|
| 466 |
+
# 1 - pp1 that ASTER does not
|
| 467 |
+
if shortcut:
|
| 468 |
+
summ['aster_pp1_eq_1_max_qraft_1mpp1'] = max(1 - float(r['pp1_qraft']) for r in shortcut)
|
| 469 |
+
rest = [r for r in rows if not r['aster_pp1_exactly_1']]
|
| 470 |
+
if rest:
|
| 471 |
+
summ['aster_rest_min_tool_1mpp1'] = min(1 - float(r['pp1_tool']) for r in rest)
|
| 472 |
+
|
| 473 |
+
if a.exact:
|
| 474 |
+
if a.tool_name != 'astral':
|
| 475 |
+
raise SystemExit('--exact needs ASTRAL output (full-precision f)')
|
| 476 |
+
rng = random.Random(20261022)
|
| 477 |
+
others = [r for r in rows if not r['beyond']]
|
| 478 |
+
sample = rng.sample(others, min(a.exact_sample, len(others)))
|
| 479 |
+
ex = {'checked': 0, 'beyond_checked': len(beyond), 'sample_checked': len(sample),
|
| 480 |
+
'max_qraft_err': 0.0, 'max_tool_err': 0.0,
|
| 481 |
+
'beyond_qraft_closer': 0, 'beyond_tool_closer': 0,
|
| 482 |
+
'max_qraft_err_beyond': 0.0, 'max_tool_err_beyond': 0.0,
|
| 483 |
+
'max_emul_minus_tool_beyond': 0.0}
|
| 484 |
+
for r in beyond + sample:
|
| 485 |
+
pp = exact_pp(r['f1_tool'], r['f2_tool'], r['f3_tool'])
|
| 486 |
+
eq = max(abs(float(r[f'pp{i}_qraft']) - float(pp[i - 1])) for i in (1, 2, 3))
|
| 487 |
+
et = max(abs(float(r[f'pp{i}_tool']) - float(pp[i - 1])) for i in (1, 2, 3))
|
| 488 |
+
r['exact_pp1'] = mp_str(pp[0]); r['exact_pp2'] = mp_str(pp[1])
|
| 489 |
+
r['exact_pp3'] = mp_str(pp[2])
|
| 490 |
+
r['qraft_err'] = eq; r['tool_err'] = et
|
| 491 |
+
ex['checked'] += 1
|
| 492 |
+
ex['max_qraft_err'] = max(ex['max_qraft_err'], eq)
|
| 493 |
+
ex['max_tool_err'] = max(ex['max_tool_err'], et)
|
| 494 |
+
if r['beyond']:
|
| 495 |
+
ex['max_qraft_err_beyond'] = max(ex['max_qraft_err_beyond'], eq)
|
| 496 |
+
ex['max_tool_err_beyond'] = max(ex['max_tool_err_beyond'], et)
|
| 497 |
+
if eq < et:
|
| 498 |
+
ex['beyond_qraft_closer'] += 1
|
| 499 |
+
else:
|
| 500 |
+
ex['beyond_tool_closer'] += 1
|
| 501 |
+
em = astral_emulated_pp1(r['f1_tool'], r['f2_tool'], r['f3_tool'])
|
| 502 |
+
r['astral_emulated_pp1'] = repr(em)
|
| 503 |
+
ex['max_emul_minus_tool_beyond'] = max(ex['max_emul_minus_tool_beyond'],
|
| 504 |
+
abs(em - float(r['pp1_tool'])))
|
| 505 |
+
summ['exact'] = ex
|
| 506 |
+
|
| 507 |
+
if a.csv:
|
| 508 |
+
write_csv(a.csv, rows)
|
| 509 |
+
if a.mismatch_csv:
|
| 510 |
+
write_csv(a.mismatch_csv, beyond)
|
| 511 |
+
worst_rows = {k: worst_at[k] for k in ('pp1', 'pp2', 'pp3') if k in worst_at}
|
| 512 |
+
summ['worst_pp_edges'] = {k: {kk: v[kk] for kk in ('EN_tool', 'f1_tool', 'f2_tool', 'f3_tool',
|
| 513 |
+
f'{k}_qraft', f'{k}_tool')}
|
| 514 |
+
for k, v in worst_rows.items()}
|
| 515 |
+
print(json.dumps(summ))
|
| 516 |
+
|
| 517 |
+
|
| 518 |
+
def mp_str(x):
|
| 519 |
+
import mpmath as mp
|
| 520 |
+
return mp.nstr(x, 20)
|
| 521 |
+
|
| 522 |
+
|
| 523 |
+
def write_csv(path, rows):
|
| 524 |
+
import csv
|
| 525 |
+
keys = []
|
| 526 |
+
for r in rows:
|
| 527 |
+
for k in r:
|
| 528 |
+
if k not in keys:
|
| 529 |
+
keys.append(k)
|
| 530 |
+
with open(path, 'w', newline='') as fh:
|
| 531 |
+
w = csv.DictWriter(fh, fieldnames=keys)
|
| 532 |
+
w.writeheader()
|
| 533 |
+
for r in rows:
|
| 534 |
+
w.writerow(r)
|
| 535 |
+
|
| 536 |
+
|
| 537 |
+
if __name__ == '__main__':
|
| 538 |
+
cmd, rest = sys.argv[1], sys.argv[2:]
|
| 539 |
+
{'info': cmd_info, 'strip': cmd_strip, 'compare': cmd_compare, 'exact': cmd_exact}[cmd](rest)
|
runs/local-2026-10-22-localpp-strict-check/bdal/bin/prep.sh
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
# Prepare inputs on BDAL: strip internal labels (genes keep lengths; species trees lose
|
| 3 |
+
# labels and lengths), QRAFT default trees for the simulated replicates, input checks.
|
| 4 |
+
set -u
|
| 5 |
+
W=~/Documents/ark/qraft/ppcheck-2026-10-22
|
| 6 |
+
cd $W
|
| 7 |
+
P="nice -n 19 ionice -c3"
|
| 8 |
+
PY="$P python3 -I bin/ppcheck.py"
|
| 9 |
+
BIO=../bio-2026-10-22; PP=../pp-2026-10-22; BI=../b10k-int-2026-10-22
|
| 10 |
+
mkdir -p trees/raw info logs out
|
| 11 |
+
log() { echo "$(date +%T) $*" >> progress; }
|
| 12 |
+
|
| 13 |
+
# gene files that carry internal labels: strip once, the same file goes to all three tools
|
| 14 |
+
$PY strip data/1kp.genes.tre data/1kp.genes.clean.tre >> logs/prep.log
|
| 15 |
+
log "strip 1kp genes done"
|
| 16 |
+
$PY strip $BI/63430.gene.trees data/b10kint.genes.clean.tre >> logs/prep.log
|
| 17 |
+
log "strip b10kint genes done"
|
| 18 |
+
|
| 19 |
+
# species trees: name -> source
|
| 20 |
+
declare -A SRC=(
|
| 21 |
+
[a48-ref]=$BIO/a48-ref.tre [a48-default]=$BIO/a48-default.tre
|
| 22 |
+
[a48-extended]=$BIO/a48-extended.tre [a48-astralx]=$BIO/a48-astralx.tre
|
| 23 |
+
[angio-extended]=$PP/angio-extended.tre [angio-published]=$PP/angio-published.tre
|
| 24 |
+
[b10kex-ref]=$BIO/b10k-ref.tre [b10kex-default]=$BIO/b10k-default.tre
|
| 25 |
+
[b10kex-extended]=$BIO/b10k-extended.tre
|
| 26 |
+
[b10kint-ref]=$BI/ref-paper-st-63K.tre [b10kint-default]=$BI/qraft-default.tre
|
| 27 |
+
[1kp-ref]=data/1kp-ref.tre [1kp-extended]=data/1kp-extended.tre
|
| 28 |
+
[s37R1-true]=data/s37.true.tre [s37R2-true]=data/s37.true.tre
|
| 29 |
+
[s100R2-true]=data/s100-R2.true.tre [s100R4-true]=data/s100-R4.true.tre
|
| 30 |
+
[s200R1-true]=data/s200-R1.true.tre [s500R1-true]=data/s500-R1.true.tre
|
| 31 |
+
[s1000R1-true]=data/s1000-R1.true.tre
|
| 32 |
+
)
|
| 33 |
+
for id in "${!SRC[@]}"; do
|
| 34 |
+
cp "${SRC[$id]}" trees/raw/$id.tre
|
| 35 |
+
$PY strip trees/raw/$id.tre trees/$id.tre --lengths >> logs/prep.log
|
| 36 |
+
done
|
| 37 |
+
log "species trees stripped"
|
| 38 |
+
|
| 39 |
+
# QRAFT default trees for the simulated replicates
|
| 40 |
+
declare -A SG=([s37R1]=data/s37-R1.genes.tre [s37R2]=data/s37-R2.genes.tre
|
| 41 |
+
[s100R2]=data/s100-R2.genes.tre [s100R4]=data/s100-R4.genes.tre
|
| 42 |
+
[s200R1]=data/s200-R1.genes.tre [s500R1]=data/s500-R1.genes.tre
|
| 43 |
+
[s1000R1]=data/s1000-R1.genes.tre)
|
| 44 |
+
for ds in s37R1 s37R2 s100R2 s100R4 s200R1 s500R1 s1000R1; do
|
| 45 |
+
/usr/bin/time -v -o logs/$ds-default.infer.time timeout 900 $P bin/qraft -i ${SG[$ds]} \
|
| 46 |
+
-t 6 --no-progress -o trees/raw/$ds-default.tre > logs/$ds-default.infer.log 2>&1
|
| 47 |
+
rc=$?
|
| 48 |
+
$PY strip trees/raw/$ds-default.tre trees/$ds-default.tre --lengths >> logs/prep.log
|
| 49 |
+
log "qraft default $ds exit=$rc $(grep -E 'Elapsed' logs/$ds-default.infer.time | tr -s ' ')"
|
| 50 |
+
done
|
| 51 |
+
echo DONE-PREP >> progress
|
runs/local-2026-10-22-localpp-strict-check/bdal/bin/queues.sh
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
# Three queues in parallel: QRAFT (sequential, -t 6), ASTRAL (3 at a time, -T 4),
|
| 3 |
+
# ASTER (sequential, -t 8). Every job is capped at 900 s by job.sh.
|
| 4 |
+
set -u
|
| 5 |
+
W=~/Documents/ark/qraft/ppcheck-2026-10-22
|
| 6 |
+
cd $W
|
| 7 |
+
SIMS="s37R1 s37R2 s100R2 s100R4 s200R1 s500R1 s1000R1"
|
| 8 |
+
ids=()
|
| 9 |
+
for s in $SIMS; do ids+=($s-true $s-default); done
|
| 10 |
+
ids+=(a48-ref a48-default a48-extended a48-astralx 1kp-ref 1kp-extended
|
| 11 |
+
b10kex-ref b10kex-default b10kex-extended angio-extended angio-published
|
| 12 |
+
b10kint-ref b10kint-default)
|
| 13 |
+
# ASTER -u 2 outputs of avian-48 and angio exist already (pp-2026-10-22, same trees)
|
| 14 |
+
for id in a48-ref a48-default a48-extended a48-astralx angio-extended angio-published; do
|
| 15 |
+
cp ../pp-2026-10-22/$id.u2.tre out/$id.aster.tre
|
| 16 |
+
cp ../pp-2026-10-22/$id.u2.time logs/$id.aster.time
|
| 17 |
+
cp ../pp-2026-10-22/$id.u2.log logs/$id.aster.log
|
| 18 |
+
done
|
| 19 |
+
printf '%s\n' "${ids[@]}" > logs/ids.txt
|
| 20 |
+
( for id in "${ids[@]}"; do bin/job.sh qraft $id; done; echo "$(date +%T) DONE-QRAFT" >> progress ) &
|
| 21 |
+
( printf '%s\n' "${ids[@]}" | xargs -P 3 -I{} bin/job.sh astral {}; echo "$(date +%T) DONE-ASTRAL" >> progress ) &
|
| 22 |
+
( for id in "${ids[@]}"; do case $id in a48-*|angio-*) continue;; esac; bin/job.sh aster $id; done
|
| 23 |
+
echo "$(date +%T) DONE-ASTER" >> progress ) &
|
| 24 |
+
wait
|
| 25 |
+
echo "$(date +%T) DONE-ALL" >> progress
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/1kp-extended.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/1kp-extended.tre", "taxa": 1178, "internal_edges": 1175, "binary": true, "gene_taxa": 1178, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/1kp-ref.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/1kp-ref.tre", "taxa": 1178, "internal_edges": 1175, "binary": true, "gene_taxa": 1178, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/a48-astralx.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/a48-astralx.tre", "taxa": 48, "internal_edges": 45, "binary": true, "gene_taxa": 48, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/a48-default.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/a48-default.tre", "taxa": 48, "internal_edges": 45, "binary": true, "gene_taxa": 48, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/a48-extended.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/a48-extended.tre", "taxa": 48, "internal_edges": 45, "binary": true, "gene_taxa": 48, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/a48-ref.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/a48-ref.tre", "taxa": 48, "internal_edges": 45, "binary": true, "gene_taxa": 48, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/angio-extended.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/angio-extended.tre", "taxa": 9524, "internal_edges": 9521, "binary": true, "gene_taxa": 9524, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/angio-published.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/angio-published.tre", "taxa": 9524, "internal_edges": 9521, "binary": true, "gene_taxa": 9524, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/b10kex-default.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/b10kex-default.tre", "taxa": 363, "internal_edges": 360, "binary": true, "gene_taxa": 363, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/b10kex-extended.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/b10kex-extended.tre", "taxa": 363, "internal_edges": 360, "binary": true, "gene_taxa": 363, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/b10kex-ref.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/b10kex-ref.tre", "taxa": 363, "internal_edges": 360, "binary": true, "gene_taxa": 363, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/b10kint-default.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/b10kint-default.tre", "taxa": 363, "internal_edges": 360, "binary": true}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/b10kint-ref.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/b10kint-ref.tre", "taxa": 363, "internal_edges": 360, "binary": true}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/polytomies.tsv
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
../bio-2026-10-22/a48-genes.tre 14446 trees 0 with a polytomy
|
| 2 |
+
../pp-2026-10-22/angio-genes.tre 353 trees 0 with a polytomy
|
| 3 |
+
data/s37-R1.genes.tre 200 trees 0 with a polytomy
|
| 4 |
+
data/s37-R2.genes.tre 200 trees 0 with a polytomy
|
| 5 |
+
data/s100-R2.genes.tre 1000 trees 0 with a polytomy
|
| 6 |
+
data/s100-R4.genes.tre 1000 trees 0 with a polytomy
|
| 7 |
+
data/s200-R1.genes.tre 1000 trees 0 with a polytomy
|
| 8 |
+
data/s500-R1.genes.tre 1000 trees 0 with a polytomy
|
| 9 |
+
data/s1000-R1.genes.tre 1000 trees 0 with a polytomy
|
| 10 |
+
data/1kp.genes.clean.tre 410 trees 410 with a polytomy
|
| 11 |
+
../bio-2026-10-22/b10k-exons-genes.clean.tre 14972 trees 0 with a polytomy
|
| 12 |
+
data/b10kint.genes.clean.tre 63430 trees 0 with a polytomy
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/s1000R1-default.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/s1000R1-default.tre", "taxa": 1001, "internal_edges": 998, "binary": true, "gene_taxa": 1001, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/s1000R1-true.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/s1000R1-true.tre", "taxa": 1001, "internal_edges": 998, "binary": true, "gene_taxa": 1001, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/s100R2-default.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/s100R2-default.tre", "taxa": 101, "internal_edges": 98, "binary": true, "gene_taxa": 101, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/s100R2-true.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/s100R2-true.tre", "taxa": 101, "internal_edges": 98, "binary": true, "gene_taxa": 101, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/s100R4-default.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/s100R4-default.tre", "taxa": 101, "internal_edges": 98, "binary": true, "gene_taxa": 101, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/s100R4-true.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/s100R4-true.tre", "taxa": 101, "internal_edges": 98, "binary": true, "gene_taxa": 101, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/s200R1-default.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/s200R1-default.tre", "taxa": 201, "internal_edges": 198, "binary": true, "gene_taxa": 201, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/s200R1-true.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/s200R1-true.tre", "taxa": 201, "internal_edges": 198, "binary": true, "gene_taxa": 201, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/s37R1-default.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/s37R1-default.tre", "taxa": 37, "internal_edges": 34, "binary": true, "gene_taxa": 37, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/s37R1-true.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/s37R1-true.tre", "taxa": 37, "internal_edges": 34, "binary": true, "gene_taxa": 37, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/s37R2-default.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/s37R2-default.tre", "taxa": 37, "internal_edges": 34, "binary": true, "gene_taxa": 37, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/s37R2-true.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/s37R2-true.tre", "taxa": 37, "internal_edges": 34, "binary": true, "gene_taxa": 37, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/s500R1-default.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/s500R1-default.tre", "taxa": 501, "internal_edges": 498, "binary": true, "gene_taxa": 501, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/info/s500R1-true.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tree": "trees/s500R1-true.tre", "taxa": 501, "internal_edges": 498, "binary": true, "gene_taxa": 501, "tree_only": [], "tree_only_count": 0, "genes_only_count": 0, "genes_only": []}
|
runs/local-2026-10-22-localpp-strict-check/bdal/logs/1kp-ref.qraft.log
ADDED
|
File without changes
|
runs/local-2026-10-22-localpp-strict-check/bdal/logs/a48-extended.astral.time
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Command being timed: "timeout 900 nice -n 19 ionice -c3 java -Xmx32g -Djava.library.path=lib -jar astral.5.15.5.jar -C -T 4 -i /home/gpuadmin/Documents/ark/qraft/ppcheck-2026-10-22/../bio-2026-10-22/a48-genes.tre -q /home/gpuadmin/Documents/ark/qraft/ppcheck-2026-10-22/trees/a48-extended.tre -t 2 -o /home/gpuadmin/Documents/ark/qraft/ppcheck-2026-10-22/out/a48-extended.astral.tre"
|
| 2 |
+
User time (seconds): 16.19
|
| 3 |
+
System time (seconds): 6.04
|
| 4 |
+
Percent of CPU this job got: 323%
|
| 5 |
+
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:06.86
|
| 6 |
+
Average shared text size (kbytes): 0
|
| 7 |
+
Average unshared data size (kbytes): 0
|
| 8 |
+
Average stack size (kbytes): 0
|
| 9 |
+
Average total size (kbytes): 0
|
| 10 |
+
Maximum resident set size (kbytes): 8195756
|
| 11 |
+
Average resident set size (kbytes): 0
|
| 12 |
+
Major (requiring I/O) page faults: 0
|
| 13 |
+
Minor (reclaiming a frame) page faults: 2187455
|
| 14 |
+
Voluntary context switches: 12166
|
| 15 |
+
Involuntary context switches: 1070
|
| 16 |
+
Swaps: 0
|
| 17 |
+
File system inputs: 0
|
| 18 |
+
File system outputs: 112
|
| 19 |
+
Socket messages sent: 0
|
| 20 |
+
Socket messages received: 0
|
| 21 |
+
Signals delivered: 0
|
| 22 |
+
Page size (bytes): 4096
|
| 23 |
+
Exit status: 0
|
runs/local-2026-10-22-localpp-strict-check/bdal/logs/b10kint-default.astral.time
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Command being timed: "timeout 900 nice -n 19 ionice -c3 java -Xmx96g -Djava.library.path=lib -jar astral.5.15.5.jar -C -T 4 -i /home/gpuadmin/Documents/ark/qraft/ppcheck-2026-10-22/data/b10kint.genes.clean.tre -q /home/gpuadmin/Documents/ark/qraft/ppcheck-2026-10-22/trees/b10kint-default.tre -t 2 -o /home/gpuadmin/Documents/ark/qraft/ppcheck-2026-10-22/out/b10kint-default.astral.tre"
|
| 2 |
+
User time (seconds): 2603.67
|
| 3 |
+
System time (seconds): 240.43
|
| 4 |
+
Percent of CPU this job got: 666%
|
| 5 |
+
Elapsed (wall clock) time (h:mm:ss or m:ss): 7:06.42
|
| 6 |
+
Average shared text size (kbytes): 0
|
| 7 |
+
Average unshared data size (kbytes): 0
|
| 8 |
+
Average stack size (kbytes): 0
|
| 9 |
+
Average total size (kbytes): 0
|
| 10 |
+
Maximum resident set size (kbytes): 58416256
|
| 11 |
+
Average resident set size (kbytes): 0
|
| 12 |
+
Major (requiring I/O) page faults: 0
|
| 13 |
+
Minor (reclaiming a frame) page faults: 150971034
|
| 14 |
+
Voluntary context switches: 125146
|
| 15 |
+
Involuntary context switches: 51585
|
| 16 |
+
Swaps: 0
|
| 17 |
+
File system inputs: 80
|
| 18 |
+
File system outputs: 3112
|
| 19 |
+
Socket messages sent: 0
|
| 20 |
+
Socket messages received: 0
|
| 21 |
+
Signals delivered: 0
|
| 22 |
+
Page size (bytes): 4096
|
| 23 |
+
Exit status: 0
|
runs/local-2026-10-22-localpp-strict-check/bdal/logs/s100R4-default.astral.time
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Command being timed: "timeout 900 nice -n 19 ionice -c3 java -Xmx32g -Djava.library.path=lib -jar astral.5.15.5.jar -C -T 4 -i /home/gpuadmin/Documents/ark/qraft/ppcheck-2026-10-22/data/s100-R4.genes.tre -q /home/gpuadmin/Documents/ark/qraft/ppcheck-2026-10-22/trees/s100R4-default.tre -t 2 -o /home/gpuadmin/Documents/ark/qraft/ppcheck-2026-10-22/out/s100R4-default.astral.tre"
|
| 2 |
+
User time (seconds): 6.52
|
| 3 |
+
System time (seconds): 2.02
|
| 4 |
+
Percent of CPU this job got: 369%
|
| 5 |
+
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:02.31
|
| 6 |
+
Average shared text size (kbytes): 0
|
| 7 |
+
Average unshared data size (kbytes): 0
|
| 8 |
+
Average stack size (kbytes): 0
|
| 9 |
+
Average total size (kbytes): 0
|
| 10 |
+
Maximum resident set size (kbytes): 3045456
|
| 11 |
+
Average resident set size (kbytes): 0
|
| 12 |
+
Major (requiring I/O) page faults: 0
|
| 13 |
+
Minor (reclaiming a frame) page faults: 771440
|
| 14 |
+
Voluntary context switches: 10017
|
| 15 |
+
Involuntary context switches: 296
|
| 16 |
+
Swaps: 0
|
| 17 |
+
File system inputs: 0
|
| 18 |
+
File system outputs: 192
|
| 19 |
+
Socket messages sent: 0
|
| 20 |
+
Socket messages received: 0
|
| 21 |
+
Signals delivered: 0
|
| 22 |
+
Page size (bytes): 4096
|
| 23 |
+
Exit status: 0
|
runs/local-2026-10-22-localpp-strict-check/bdal/logs/s100R4-default.qraft.time
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Command being timed: "timeout 900 nice -n 19 ionice -c3 /home/gpuadmin/Documents/ark/qraft/ppcheck-2026-10-22/bin/qraft -i /home/gpuadmin/Documents/ark/qraft/ppcheck-2026-10-22/data/s100-R4.genes.tre --starting-tree /home/gpuadmin/Documents/ark/qraft/ppcheck-2026-10-22/trees/s100R4-default.tre --no-divide --no-nni --support localpp --support-frequencies gene --support-detail -t 6 --no-progress -o /home/gpuadmin/Documents/ark/qraft/ppcheck-2026-10-22/out/s100R4-default.qraft.tre"
|
| 2 |
+
User time (seconds): 0.40
|
| 3 |
+
System time (seconds): 0.03
|
| 4 |
+
Percent of CPU this job got: 515%
|
| 5 |
+
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.08
|
| 6 |
+
Average shared text size (kbytes): 0
|
| 7 |
+
Average unshared data size (kbytes): 0
|
| 8 |
+
Average stack size (kbytes): 0
|
| 9 |
+
Average total size (kbytes): 0
|
| 10 |
+
Maximum resident set size (kbytes): 27648
|
| 11 |
+
Average resident set size (kbytes): 0
|
| 12 |
+
Major (requiring I/O) page faults: 0
|
| 13 |
+
Minor (reclaiming a frame) page faults: 8619
|
| 14 |
+
Voluntary context switches: 64
|
| 15 |
+
Involuntary context switches: 16
|
| 16 |
+
Swaps: 0
|
| 17 |
+
File system inputs: 0
|
| 18 |
+
File system outputs: 24
|
| 19 |
+
Socket messages sent: 0
|
| 20 |
+
Socket messages received: 0
|
| 21 |
+
Signals delivered: 0
|
| 22 |
+
Page size (bytes): 4096
|
| 23 |
+
Exit status: 0
|
runs/local-2026-10-22-localpp-strict-check/bdal/logs/s37R1-default.infer.time
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Command being timed: "timeout 900 nice -n 19 ionice -c3 bin/qraft -i data/s37-R1.genes.tre -t 6 --no-progress -o trees/raw/s37R1-default.tre"
|
| 2 |
+
User time (seconds): 0.21
|
| 3 |
+
System time (seconds): 0.03
|
| 4 |
+
Percent of CPU this job got: 408%
|
| 5 |
+
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.06
|
| 6 |
+
Average shared text size (kbytes): 0
|
| 7 |
+
Average unshared data size (kbytes): 0
|
| 8 |
+
Average stack size (kbytes): 0
|
| 9 |
+
Average total size (kbytes): 0
|
| 10 |
+
Maximum resident set size (kbytes): 7580
|
| 11 |
+
Average resident set size (kbytes): 0
|
| 12 |
+
Major (requiring I/O) page faults: 0
|
| 13 |
+
Minor (reclaiming a frame) page faults: 3309
|
| 14 |
+
Voluntary context switches: 93
|
| 15 |
+
Involuntary context switches: 4
|
| 16 |
+
Swaps: 0
|
| 17 |
+
File system inputs: 0
|
| 18 |
+
File system outputs: 8
|
| 19 |
+
Socket messages sent: 0
|
| 20 |
+
Socket messages received: 0
|
| 21 |
+
Signals delivered: 0
|
| 22 |
+
Page size (bytes): 4096
|
| 23 |
+
Exit status: 0
|
runs/local-2026-10-22-localpp-strict-check/bdal/logs/s37R1-true.astral.time
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Command being timed: "timeout 900 nice -n 19 ionice -c3 java -Xmx32g -Djava.library.path=lib -jar astral.5.15.5.jar -C -T 4 -i /home/gpuadmin/Documents/ark/qraft/ppcheck-2026-10-22/data/s37-R1.genes.tre -q /home/gpuadmin/Documents/ark/qraft/ppcheck-2026-10-22/trees/s37R1-true.tre -t 2 -o /home/gpuadmin/Documents/ark/qraft/ppcheck-2026-10-22/out/s37R1-true.astral.tre"
|
| 2 |
+
User time (seconds): 2.24
|
| 3 |
+
System time (seconds): 0.18
|
| 4 |
+
Percent of CPU this job got: 448%
|
| 5 |
+
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.54
|
| 6 |
+
Average shared text size (kbytes): 0
|
| 7 |
+
Average unshared data size (kbytes): 0
|
| 8 |
+
Average stack size (kbytes): 0
|
| 9 |
+
Average total size (kbytes): 0
|
| 10 |
+
Maximum resident set size (kbytes): 215308
|
| 11 |
+
Average resident set size (kbytes): 0
|
| 12 |
+
Major (requiring I/O) page faults: 0
|
| 13 |
+
Minor (reclaiming a frame) page faults: 57262
|
| 14 |
+
Voluntary context switches: 3822
|
| 15 |
+
Involuntary context switches: 213
|
| 16 |
+
Swaps: 0
|
| 17 |
+
File system inputs: 0
|
| 18 |
+
File system outputs: 136
|
| 19 |
+
Socket messages sent: 0
|
| 20 |
+
Socket messages received: 0
|
| 21 |
+
Signals delivered: 0
|
| 22 |
+
Page size (bytes): 4096
|
| 23 |
+
Exit status: 0
|
runs/local-2026-10-22-localpp-strict-check/bdal/logs/s500R1-default.qraft.log
ADDED
|
File without changes
|
runs/local-2026-10-22-localpp-strict-check/bdal/trees/1kp-ref.tre
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
(TVSH,(KEGA,(Phavu_v1.0,(SUAK,(NXOH,((RMWJ,((JTQQ,PEZP),(KNMB,(HJMP,MYMP)))),(VLNB,((CMFF,TTRG),(SLYR,(ZSSR,(((QZXQ,(VHZV,GEHT)),(KZED,(XOOE,(ZCDJ,PJSX)))),((RKLL,(JETM,RKFX)),(OQHZ,(OHAE,((TJLC,((SVVG,(HENI,(UZWG,NHUA))),((INSP,DXQW),(LNER,(LWDA,CWZU))))),(((AXAF,(OCTM,NNGU)),(((RBYC,(ZHEE,(WVEF,EILE))),(CQMG,((KYAD,(BJSW,AQGE)),((EDHN,XVJB),(WKCY,ACFP))))),((DHAW,(IANR,QNOC)),((SQCF,XFFT),(SXCE,((TJQY,(Prupe_v1.0,NCVK)),(ZPKK,(QIEH,(VCIN,(EAVM,BLVL)))))))))),((((ZHMB,(UDUT,KVAY)),((AJJE,((SWGX,WWQZ),((NEBM,FGDU),(Eucgr_v1.1,AYMT)))),((RJNQ,YNUE),(FEDW,(((UJGI,TLCA),(JKNQ,(AXNH,PMTB))),((SJAN,EQYT),(((HKMQ,CJGZ),(DZLN,GVCB)),(((ROLB,IDAU),(ZINQ,BZDF)),((ARYD,IMZV),(KBRW,YHLF)))))))))),(((IHCQ,MFEA),(((RHAU,PXYR),(PAZJ,(VVPY,(XNLP,Manes_v4.1)))),((YGAT,VNMY),((RPPC,ZTLR),((RVGH,(((NJLF,LPGY),(COAQ,(EZZT,(SIZE,ZIWB)))),(Poptr_v3.0,(INQX,(RZTJ,((LFOG,TDTF),(GLVK,(IEPQ,KKDQ)))))))),(((XPBC,(CKDK,TVCU)),((FWCQ,OSIP),(BNDE,NFXV))),((ZBVT,HBUQ),((AXPJ,(KCPT,(TXMP,VXOD))),(HNCF,((MYVH,(POZS,OODC)),(BVOF,(BHYC,AEPI)))))))))))),((JHCN,(TIUZ,(YZVJ,THHD))),((WWKL,(OBTI,((WAXR,(VFFP,HBHB)),((BCAA,(YUOM,(FCCA,JSZD))),(UHJR,((UVDC,RJIM),(QICX,IKFD))))))),(((PUDI,AWJM),((KPTE,(PKMO,WMUK)),(ATFX,(Theca_v1.1,(WYIG,(OLXF,ZSAB)))))),(((MYZV,HYZL),(CZPV,Carpa_ASGPBv0.4)),(CRNC,(DZTK,(JOIS,((SWPE,UAXP),(RTTY,(((QSKP,LVUS),(UPZX,VDKG)),(Arath_TAIR10,((CSUV,(VMNH,IPWB)),(TZWR,(GTSV,(HABV,(LJQF,(LAPO,(BXBF,UVQL)))))))))))))))))))),(((VYGG,PTLU),(HDWF,YGCX)),(((HTIP,(FYTP,(NUZN,(YKQR,(HQRJ,OMDH))))),(((IUSR,TOKV),(KWGC,(DRIL,ZJUL))),(UWFU,(SYHW,(FCBJ,((YKFU,(UHBY,CIAC)),((OOVX,CKKR),(ERIA,(SLOI,(DAYQ,CTSS)))))))))),((BGZG,(Vitvi_Genoscope.12X,(SZPD,BBBA))),((XKPS,(VGVI,((XGFU,RSPO),(QKMG,BSEY)))),((((WQUF,(FYSJ,WOBD)),(CVDF,(RUUB,(YNFJ,(((RXEN,(TJES,(FZQN,(OLES,(SKNL,SHEZ))))),((WGET,((FVXD,Betvu_v1.1),(SMMC,(CBJR,(AAXJ,ONLQ))))),((WMLW,XSSD),((PDQH,HDSY),(CUTE,((BWRK,ZBPY),(EYRD,OHKC))))))),(((BJKT,(OMYK,(BERS,(GJNX,(HZTS,EDIT))))),((GIWN,(MRKX,BKQU)),((AZBL,SFKQ),(JAFJ,(JGAB,((ZBTA,VJPU),(DVXD,EGOS))))))),((KJAA,(NXTS,(RNBN,SCAO))),(CTYH,(LKKX,((CPKP,JLOV),((UQCB,EZGR),(LLQV,((BYNZ,KDCH),(CPLT,(LDEL,(IWIS,GCYL)))))))))))))))),((QUTB,HAEU),((((VTLJ,(ZETY,QURC)),(VUSY,(BFJL,FWBF))),((BNTL,JEXA),(((YSRZ,(FNEN,WVMY)),((OXYP,(BEFC,WRPP)),(KVFU,(VKJD,(PTFA,(ODDO,DAAD)))))),(NGRR,((JPDJ,(AXBO,(ADHK,UFHF))),((QAUE,HUSX),((LRTN,SERM),(AVJK,(WXVX,PPPZ))))))))),(((((CLNU,CLMX),((ZJRC,HLJG),((CAQZ,GSZA),(JTRM,FFFY)))),(SBZH,((QIKZ,MVSE),((NTEO,SALZ),((OINM,(SUVN,EDBB)),(AJFN,(WEQK,(CWYJ,TQKZ)))))))),((IHPC,IZLO),(FXGI,((AUIP,(TPEM,GIOY)),(IXVJ,(HUQC,(((CFRN,EYKJ),((JNKW,RFSD),(DDRL,(FUPX,(KFZY,KGJF))))),((BMSE,((DUQG,(OAGK,GUMF)),(DOVJ,(XRCX,(TEZA,(DESP,MHYG)))))),(AFQQ,(DUNJ,(UBLN,(BIDT,((AQZD,YRBQ),((LYPZ,(JYMN,UYED)),(NVSO,((QXWF,HXCD),(ZCUA,JEPE))))))))))))))))),(((GIPR,SZUO),(QACK,(DFYF,(ASMV,SXML)))),(QZZU,((((AHRN,(CPOC,((ALUC,(IZNU,ERWT)),((OQBM,(QSLH,NHAG)),((XQRV,VXKB),(EMBR,NAUM)))))),(MKZR,((BOLZ,(OSMU,LWCK)),((AIOU,JNVS),((UGJI,(NMDZ,LQJY)),((GHLP,DLJZ),(Solly_iTAGv2.3,DLAI))))))),((DKFZ,(YQIJ,((EMAL,(SMUR,HANM)),((DIHD,XVRU),(NIGS,(OEKO,((IDGE,OUER),(MDJK,(JWEY,(MZOB,ABEH)))))))))),((WQRD,(ZSGF,(KTWL,PCNH))),((HGSM,(KPUM,ECTD)),(GGJD,((UOYN,QEHE),(MGVU,(EDEQ,(JGYZ,((JCLQ,YFQX),(YADI,DSUV))))))))))),((COBX,(MZLD,(TORX,(KTAR,YZGX)))),((DCCI,(RWKR,DTNC)),((CLRW,((YRHD,XISJ),(GNRI,(PTBJ,YKZB)))),((GDZS,(EJBY,((XXYA,SIBR),(GRFT,XRLM)))),((WOHL,EDXZ),((ZRIN,((HRUR,(MXFG,JCMU)),(PCGJ,(AYIY,(NBMW,WEAC))))),(((GCFE,(PSHB,MQIV)),(TKEK,(UTQR,XAYK))),((Mimgu_v2.0,(UMUL,(OWAS,(EJCM,(VYDM,(FAMO,FROP)))))),((DMLT,((ATYL,(GETL,(EAAA,SNNC))),((UCNM,LRRR),(GNPX,RTNA)))),((BAHE,FYUH),((TAGM,(FDMM,EQDA)),((IYDF,(WHNV,XMBA)),(PHCE,(PUCW,FUMQ))))))))))))))))))))),((XMQO,EHNF),((IWMW,SWOH),((AALA,((FAKD,Nelnu_v1.0),(VQFW,(GRRW,(RQUG,SIIK))))),((QTJY,((CCID,((WFBF,YHFG),(VGHH,((UPOG,ZUHO),(GBVZ,Aquco_v1.1))))),((NMGG,(AUGV,(ZGQD,UDHA))),(EVOD,((XHKT,XMVD),(IRAF,(SSDU,(BEKN,(RQNK,QCOU))))))))),(NPND,(((WZFE,OSHQ),(((SJEV,WKSU),((PAWA,QDVW),((CSSK,OPDF),(MUNP,XSZI)))),((OBPL,((WBOD,XQWC),(DHPO,(PSJT,YZRI)))),((FALI,WPHN),((MAQO,WAIL),(BSVG,(KRJP,(VYLQ,(WIGA,(KAYP,(ABSS,BCGB))))))))))),((MTII,(((DWZT,(COCP,BYQM)),(Spipo_v2,(MFIN,YMES))),((OCWZ,((QOXT,SILJ),(VBHQ,(DGXS,VVVV)))),((((NSPR,(Elagu_v2.0,(HWUP,HXJE))),((Musac_v1.0,(XHHU,(UOEL,LSKK))),((LEMW,BDJQ),(JNUB,TZNS)))),((BYPY,(PPQR,BRUD)),((CIEA,(XPAF,(PWSG,WBIB))),(BSTR,(WXNT,((Orysa_v7.0,(IADP,RMVB)),(HATH,(((YXNR,EFCZ),(RCAH,YLWW)),((YPIC,(ROEI,Sorbi_v2.1)),(SOHV,((WCOR,XBKS),((ZMGN,BPKH),(NNOK,(BXAY,(XUAB,(VQYB,ZENX)))))))))))))))),(((AFLV,OOSO),((MWYQ,THEW),(GDKK,(QNPH,NHIX)))),((THDM,((JSAG,CNTZ),(MTHW,(XZME,(LELS,VTUS))))),((EMJJ,YJUG),((KYNE,RDYY),(LTZF,(SART,((JVBR,(FCEL,(WTDE,(BLAJ,JHUL)))),((PRFO,((GJPF,KBXS),(TRRQ,((DMIN,ZKPF),(LDME,(JDTY,DPFW)))))),(((IXEM,(SVTS,KOFB)),((PLBZ,CMCY),(KXSK,(ICNN,YBML)))),(MUMD,(FGRF,(ONBE,(MVRF,(LSJW,(TCYS,((RQZP,HOKG),(UZXL,(XFJG,RCUX)))))))))))))))))))))),((FZJL,(VZCI,NWMY)),((PZRT,WTKZ),((URDJ,Ambtr_v1.0.27),(((SGTW,(XZUY,(WLIC,(GNQG,KAWQ)))),((VDAO,(TOXE,GTHK)),(((GGEA,((VSRH,JUWL),(AQFM,(GAMH,AREG)))),((WVWN,IOVS),(NPRL,(AWQB,(IIOL,(Pinta_v2.0,(DZQM,(JBND,MFTM)))))))),(((XTZO,(RSCE,(MIXZ,ACWS))),(((EGLZ,KLGF),(OWFC,((JRNA,BBDD),(JZVE,(ZQWM,CDFR))))),(QCGM,(MHGD,(HILW,((FMWZ,(IZGN,(ROWR,QHBI))),((SCEB,XLGK),(UUJS,VGSX)))))))),(YFZK,(((IAJW,(EFMS,HQOM)),(NVGZ,((BTTS,YLPM),(ZYAX,WWSS)))),(ZQVF,(QSNJ,((XIRK,(NRXL,(QFAE,HBGV))),((GMHZ,(OXGJ,FHST)),(((ETCJ,(YYPE,OVIJ)),((AUDE,GKCZ),(IFLI,(RMMV,JDQB)))),((VFYZ,NKIN),((UEVI,AIGO),((XMGP,QNGJ),(FRPM,(CGDN,(XQSG,BUWV))))))))))))))))),(((JVSZ,CAPN),(((DFHO,(UGNK,NHCM)),((QVMR,ALVQ),(DJSE,(EEAQ,BEGM)))),((RFMZ,(UOMY,VIBO)),((MEKP,QIAD),((PBUU,CQPW),((CVEG,KIIX),((GANB,(EWXK,(UWOD,PNZO))),((VVRN,(YIXP,NOKI)),(((PIVW,(UJTT,(FLTD,POPJ))),(WQML,(((NDUV,SKYV),(BMJR,WCLG)),((XDDT,GSXD),(YCKE,(ZXJO,DCDT)))))),(MTGC,(((WGTU,RFRB),((FQGQ,JBLI),(NWWI,(OQWW,(ORJE,(UJWU,(ZQYU,(YLJA,(GYFU,(CJNT,IXLH)))))))))),((KJZG,(BMIF,PSKY)),((HEGQ,(HNDZ,((LHLE,RICC),(YOWV,XXHP)))),(OCZL,(MROH,((YQEC,YJJY),((HTFH,VITX),(FCHS,(UFJN,(URCP,AFPO)))))))))))))))))))),((((ZZEI,((CBAE,GAON),(YHZW,GKAG))),((UPMJ,ULKT),((PQTO,XNXF),(WAFT,ENQF)))),((PKOX,PYHZ),(KUXM,((ZFGK,(JKAA,ZYCD)),(KJYC,((LGDQ,ABIJ),(Selmo_v1.0,ZZOL))))))),(((ANON,((BSNI,TWUW),((FAJB,(WCZB,WEEQ)),(AKXB,(UCRN,(TCBC,DXOU)))))),(((HERT,(TXVB,((ILBQ,WJLO),(TFYI,(JPYU,HMHL))))),((PIUF,JHFI),(YFGP,(NRWZ,((HPXA,(TGKW,(BNCU,(KRUQ,UUHD)))),(LGOW,(RTMU,(WZYK,(YBQN,(IRBN,OFTV)))))))))),(SKQD,((GOWD,(RCBT,UHLI)),(WOGB,((HVBQ,(SZYG,ZTHV)),(HRWG,(AWOI,((KEFD,(YEPO,Phypa_v3.0)),(ZQRI,((BPSG,((ABCD,RDOO),((VMXJ,RGKI),(NGTD,(FFPD,GRKU))))),(YWNF,(ORKS,((BGXB,(XWHK,JMXW)),(CMEQ,(WNGH,(DHWX,(QKQO,((IGUH,ZACW),(TAVP,((EEMJ,LNSF),((QMWB,TMAJ),((MIRS,WSPM),(JADL,VBMM)))))))))))))))))))))))),((TPHT,((HAOX,((WSJO,WDCW),((YOXI,(VAZE,RPGL)),((HKZW,ZRMT),(JOJQ,(NBYP,MFZO)))))),((FFGR,KMNX),((SNOX,XRTZ),(KEYW,(DRFX,(AEKF,(YSQT,(RPQV,(HIDG,(RQFE,((GYRP,((MNNM,ISHC),(QWFV,(DFDS,GGWH)))),((WCQU,(BHBK,RPRU)),(MCHJ,((GBGT,MOYY),(STKJ,WDGV)))))))))))))))),((DRGY,(QPDY,VQBJ)),((Chabr_v0.1,MWXT),((BFIK,(FPCO,(Klefl_v1.0,FQLP))),((KYIO,(NNHQ,AZZW)),((XMCL,(HYHN,XJGM)),(((QFND,(JKHA,(POOW,PQED))),((Cyame_v1.0,(LLXJ,((JJZR,((RSOF,RTLC),(PVGP,OBUY))),(ZULJ,((VZWX,(YSBD,(UYFR,XAXW))),(((JEBK,(BWVJ,IHJY)),(IEHF,(CKXF,(SBLT,(WEJN,UGPM))))),((PYDB,(URSB,(IKIZ,ZJOJ))),(IKWM,((LJPN,VNAL),(PWKQ,FTRP)))))))))),(((ROZZ,BAKF),(IRZA,IAYV)),(((BAJW,LXRN),(EBWI,(RFAD,(LLEN,(VJED,NMAK))))),((BOGT,(VKVG,DBYD)),(APTP,(LIRF,(((FOMH,(HFIK,FIKG)),(RWXW,(LDRY,(YRMA,(JGGD,VYER))))),(FSQE,((FIDQ,(RAPY,SRSQ)),(ASZK,(QLMZ,(JCXF,(VRGZ,ULXR)))))))))))))),((EGNB,(JMTE,((TNAW,XIVI),((XOAL,BTFM),((Micpu_v3.0,QXSZ),(Ostlu_v2.0,MCPK)))))),((ISIM,MMKU),(TGNL,(AYPS,(((RRSV,PUAN),(FMVB,(DUMA,(HVNO,HHXJ)))),((((PFUD,(MFYC,MNCB)),(JQFK,(BILC,(AKCR,(Chlva_v1.0,EEJO))))),((WCLV,WXRI),((EATP,ZNUM),(NKXU,(GXBM,(QYXY,ETGN)))))),(((GYBH,JTIG),((BAZF,((DVYE,SDPC),(IJMT,((RAWF,ISGT),(VFIV,JMUI))))),(((DZPJ,(MXDS,ENAU)),(FOYQ,(BZSH,(OTQG,((MWAN,PZIF),(VJDZ,(XKWQ,XTON))))))),((VIAU,RUIF),(FXHG,((UTRE,(AOUJ,(LBRP,AJUW))),(((XDLL,OFUE),(IRYH,((QWRA,USIX),(JKKI,(BCYF,(Chlre_v5.5,(IHOI,(KUJU,(ISPU,((RNAT,RYJX),(Volca_v2.0,(JWGT,WRSL)))))))))))),(((ZIVZ,(LNIL,ACRY)),((TSBQ,GFUR),(JRGZ,(VALZ,MULF)))),(((KFEB,GUBD),(ZLQE,(PRIQ,QRTH))),(ZFXU,(SYJM,(UKUC,(RHVC,(WDWX,ZDIZ)))))))))))))),(((NATT,YDCQ),(VHIJ,VBLH)),((ALZF,NSTT),(KADG,((GJIY,(KSFK,((LSHT,NQYP),(OQON,(OAEZ,CQQP))))),(JIWJ,(AJAU,(LETF,CBNG)))))))))))))))))))))))))))))))))))))))))))))))))))))))));
|
runs/local-2026-10-22-localpp-strict-check/bdal/trees/a48-astralx.tre
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
((TINMA,(((MELGA,GALGA),ANAPL),((((CAPCA,(CHAPE,CALAN)),((((((((CORBR,(GEOFO,TAEGU)),MANVI),ACACH),(MELUN,NESNO)),FALPE),CARCR),((LEPDI,((BUCRH,(PICPU,MERNU)),APAVI)),COLST)),(((HALLE,HALAL),CATAU),TYTAL))),((TAUER,CHLUN),(OPHHO,(((((GAVST,(((NIPNI,(EGRGA,PELCR)),PHACA),((APTFO,PYGAD),FULGL))),BALRE),(EURHE,PHALE)),(PHORU,PODCR)),CHAVO)))),(((MESUN,PTEGU),COLLI),CUCCA)))),STRCA);
|
runs/local-2026-10-22-localpp-strict-check/bdal/trees/b10kex-extended.tre
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
((((((((((((((((((((((((((((((((((((((((((((((AGEPHO,MOLATE),QUIMEX),(SETCOR,SETKIR)),(((JUNHYE,ZONALB),MELMEL),SPIPAS)),(((GEOFOR,SPOHYP),NESACU),((PASAMO,PHEMEL),CARCAR))),(CALORN,EMBFUC)),RHOROS),(((LOXCUR,LOXLEU),SERCAN),(CHLVIR,HEMWIL))),MOTALB),(HYPCIN,PASDOM)),(PRUFUL,PRUHIM)),UROPYL),(((LONSTR,TAEGUT),(VIDCHA,VIDMAC)),PLONIG)),PEUTAE),IRECYA),(CHLCYA,CHLHAR)),(DICEXI,LEPASP)),PROCAF),((((((((((OENOEN,SAXMAU),FICALB),ERIRUB),(CERCOR,COPSEC)),CATFUS),((((LEUROT,STUVUL),RHAINO),TOXRED),BUPERY)),CINMEX),ELAFOR),((((CERBRA,CERFAM),(POLCAE,THRLUD)),SITEUR),TICMUR)),((BOMGAR,PHANIT),REGSAT))),(((((((((((((ILLCLE,LEILUT),PORRUF),((ZOSHYP,ZOSLAT),STEDEN)),((SYLATR,SYLBOR),SINWEB)),(BRAATR,PYCJOC)),((((CETCET,HORVUL),ERYMCC),(AEGCAU,HYLPRA)),(PHYTRO,RHASIB))),HIRRUS),(((DONATR,OXYMAD),LOCOCH),(ACRARU,HIPICT))),CISJUN),SYLVIR),NICCHL),(ALACHE,PANBIA)),(((PARMAJ,PSEHUM),POEATR),ANTMIN))),((CHAFRE,PICGYM),DRYBRU)),MELVER),CNELOR),(CALWIL,NOTCIN)),((((((((((DYACAS,MYSCRO),DRYGAM),RHALEU),(GYMTIB,MACNIG)),EULNIG),DAPCHR),((((ERPZAN,VIRALT),PTEMEL),OREARF),((ALERUF,FALFRO),(ORIORI,PACPHI)))),((((((CORBRA,CORCOR),CORMON),APHCOE),LANLUD),((((PARRAG,STRCIN),IFRKOW),MYIHEB),DICMEG)),(CHAPAP,RHIDAH))),(EDOCOE,MOHOCH)),PTILEU)),(ORTSPA,POSRUF)),((((ORISOL,PARPUN),GRAPIC),DASBRO),MALELE)),(CLIRUF,PTIVIO)),(ATRCLA,MENNOV)),((((((((((MIOMAC,TYRSAV),TACRUB),NEOCIN),PIPCHL),(ONYCOR,OXYCRI)),PACMIN),CEPORN),(LEPCOR,MANMAN)),(((((((CAMPRO,XIPELE),FURFIG),SCLMEX),FORRUF),SCYSUP),GRAVAR),(RHEHOF,SAKLUC))),((((CALVIR,SMICAP),SAPAEN),PITSOR),(NEOCOR,SERLUN)))),ACACHL),((((AGAROS,MELUND),AMAGUI),(EOLROS,PROATE)),NESNOT)),(((((((((RAMSUL,SEMFRA),EUBBOU),TRILEU),PSIHAE),(INDMAC,PICPUB)),(BUCCAP,GALDEA)),(((((CHLAEN,HALSEN),CEYCYA),BARMAR),TODMEX),((BRALEP,EURGUL),MERNUB))),((BUCABY,BUCRHI),(RHICYA,UPUEPO))),(APAVIT,TROMEL))),(COLSTR,UROIND)),((((((((((AQUCHR,SPITYR),(HALALB,HALLEU)),CIRPEC),PANHAL),SAGSER),CATAUR),(CARCRI,CHUBUR)),(((CICNIG,STROCC),GLABRA),TYTALB)),LEPDIS),((FALCHE,FALPER),HERCAC))),((((COLLIV,PATFAS),COLPIC),(ALOBEC,CALNIC)),(((PTEGUT,SYRPAR),PTEBUR),MESUNI))),((((CEUAER,PIACAY),CUCCAN),(CENBEN,CENUNI)),(CROSUL,GEOCAL))),(((((NYCBRA,NYCGRA),STECAR),PODSTR),((ANTCAR,CHOACU),NYCLEU)),(((CALANN,OREMEL),(CHAPEL,HEMCOM)),AEGBEN))),((((((((((((((((((NANAUR,NANBRA),NANHAR),URIPEL),PHACAR),(ANHANH,ANHRUF)),SULDAC),FREMAG),((((PELCRI,SCOUMB),BALREX),(COCCOC,EGRGAR)),(MESCAY,NIPNIP))),CICMAG),((((((CALBOR,PELURI),FULGLA),HYDTET),(FREGRA,OCEOCE)),THACHL),(APTFOR,PYGADE))),GAVSTE),PHALEP),((PODCRI,PODPOD),PHORUB)),((((BALREG,GRUAME),ARAGUA),PSOCRE),((ATLROG,ZAPATR),HELFUL))),OPIHOA),(((((((((CHRMAC,LARSMI),RISTRI),PHASIM),RYNNIG),((((URIAAL,URILOM),ALCTOR),CEPGRY),STEPAR)),((GLAPRA,RHIAFR),DROARD)),TURVEL),((((NYCSEM,ROSBEN),JACJAC),(PEDTOR,THIORB)),((AREINT,CALPUG),LIMLAP))),(((CHAALE,CHAVOC),(HIMHIM,IBISTR)),((CHIMIN,PLUSOC),BURBIS)))),(((ARDKOR,CHLMAC),LOPRUF),((CORCON,CORCRI),TAUERY))),(EURHEL,RHYJUB))),((((((((MELGAL,TYMCUP),PHACOL),(COTJAP,GALGAL)),((CALSQU,COLVIR),ODOGUJ)),NUMMEL),PENPIL),ALELAT),((((((ANAPLA,ANAZON),ASASCU),CAIMOS),ANSCYG),ANSSEM),CHATOR))),STRCAM),((((APTAUS,APTROW),(APTHAA,APTOWE)),(CASCAS,DRONOV)),(RHEAME,RHEPEN))),((((CRYCIN,CRYUND),CRYSOU),TINGUT),(NOTJUL,NOTNIG))),EUDELE),NOTPER),NOTORN,NOTPEN);
|
runs/local-2026-10-22-localpp-strict-check/bdal/trees/b10kex-ref.tre
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
(LEPDIS,(((((((ACACHL,((((((((CNELOR,(MELVER,((DRYBRU,(((PROCAF,(((IRECYA,(PEUTAE,((UROPYL,(((MOTALB,((RHOROS,((CALORN,EMBFUC),(((QUIMEX,(MOLATE,AGEPHO)),((SETKIR,SETCOR),(SPIPAS,(MELMEL,(JUNHYE,ZONALB))))),((CARCAR,(PHEMEL,PASAMO)),(NESACU,(GEOFOR,SPOHYP)))))),((HEMWIL,CHLVIR),(SERCAN,(LOXCUR,LOXLEU))))),(HYPCIN,PASDOM)),(PRUFUL,PRUHIM))),(PLONIG,((LONSTR,TAEGUT),(VIDCHA,VIDMAC)))))),(CHLHAR,CHLCYA)),(LEPASP,DICEXI))),((REGSAT,((ELAFOR,(CINMEX,((CATFUS,((COPSEC,CERCOR),(ERIRUB,(FICALB,(SAXMAU,OENOEN))))),(BUPERY,(TOXRED,(RHAINO,(STUVUL,LEUROT))))))),(TICMUR,(SITEUR,((CERBRA,CERFAM),(THRLUD,POLCAE)))))),(BOMGAR,PHANIT))),(((NICCHL,(SYLVIR,(CISJUN,((HIRRUS,(((BRAATR,PYCJOC),((SINWEB,(SYLBOR,SYLATR)),((STEDEN,(ZOSLAT,ZOSHYP)),(PORRUF,(LEILUT,ILLCLE))))),((PHYTRO,RHASIB),(HYLPRA,(AEGCAU,(ERYMCC,(CETCET,HORVUL))))))),((HIPICT,ACRARU),(OXYMAD,(DONATR,LOCOCH))))))),(PANBIA,ALACHE)),(ANTMIN,(POEATR,(PARMAJ,PSEHUM)))))),(CHAFRE,PICGYM)))),(CALWIL,NOTCIN)),(PTILEU,(MOHOCH,(EDOCOE,(((EULNIG,((FALFRO,ALERUF),((ORIORI,PACPHI),(OREARF,(PTEMEL,(ERPZAN,VIRALT)))))),(DAPCHR,((MACNIG,GYMTIB),(RHALEU,(DRYGAM,(DYACAS,MYSCRO)))))),((RHIDAH,CHAPAP),(DICMEG,(MYIHEB,((IFRKOW,(PARRAG,STRCIN)),(LANLUD,(APHCOE,(CORMON,(CORBRA,CORCOR))))))))))))),(ORTSPA,POSRUF)),(MALELE,(DASBRO,(GRAPIC,(PARPUN,ORISOL))))),(CLIRUF,PTIVIO)),(MENNOV,ATRCLA)),((((LEPCOR,MANMAN),(CEPORN,(PACMIN,((OXYCRI,ONYCOR),(PIPCHL,(NEOCIN,(TACRUB,(TYRSAV,MIOMAC)))))))),((SAKLUC,RHEHOF),(GRAVAR,(SCYSUP,(FORRUF,(SCLMEX,(FURFIG,(CAMPRO,XIPELE)))))))),((SERLUN,NEOCOR),(PITSOR,(SAPAEN,(CALVIR,SMICAP))))))),(NESNOT,((PROATE,EOLROS),(AMAGUI,(MELUND,AGAROS))))),(((((BUCCAP,GALDEA),((INDMAC,PICPUB),(PSIHAE,(TRILEU,(EUBBOU,(RAMSUL,SEMFRA)))))),(MERNUB,((BRALEP,EURGUL),(TODMEX,(BARMAR,(CEYCYA,(CHLAEN,HALSEN))))))),((BUCABY,BUCRHI),(RHICYA,UPUEPO))),(TROMEL,APAVIT))),(UROIND,COLSTR)),(((((((((OPIHOA,(((PHALEP,(GAVSTE,((CICMAG,((FREMAG,(SULDAC,((ANHRUF,ANHANH),(PHACAR,(URIPEL,(NANHAR,(NANBRA,NANAUR))))))),((MESCAY,NIPNIP),((EGRGAR,COCCOC),(PELCRI,(BALREX,SCOUMB)))))),((APTFOR,PYGADE),(THACHL,((OCEOCE,FREGRA),(HYDTET,(FULGLA,(CALBOR,PELURI))))))))),(PHORUB,(PODCRI,PODPOD))),((HELFUL,(ATLROG,ZAPATR)),(PSOCRE,(ARAGUA,(GRUAME,BALREG)))))),((STECAR,(NYCGRA,NYCBRA)),(NYCLEU,(ANTCAR,CHOACU)))),(RHYJUB,EURHEL)),((TAUERY,(CORCRI,CORCON)),(LOPRUF,(ARDKOR,CHLMAC)))),(((TURVEL,(((RYNNIG,(PHASIM,(RISTRI,(CHRMAC,LARSMI)))),(STEPAR,(CEPGRY,(ALCTOR,(URIAAL,URILOM))))),(DROARD,(GLAPRA,RHIAFR)))),((LIMLAP,(CALPUG,AREINT)),((THIORB,PEDTOR),(JACJAC,(NYCSEM,ROSBEN))))),((BURBIS,(PLUSOC,CHIMIN)),((CHAALE,CHAVOC),(HIMHIM,IBISTR))))),((STRCAM,((((NOTJUL,NOTNIG),(TINGUT,(CRYSOU,(CRYUND,CRYCIN)))),(EUDELE,(NOTPER,(NOTORN,NOTPEN)))),((RHEPEN,RHEAME),((CASCAS,DRONOV),((APTHAA,APTOWE),(APTAUS,APTROW)))))),((ALELAT,(PENPIL,(NUMMEL,((ODOGUJ,(CALSQU,COLVIR)),((GALGAL,COTJAP),(PHACOL,(MELGAL,TYMCUP))))))),(CHATOR,(ANSSEM,(ANSCYG,(CAIMOS,(ASASCU,(ANAPLA,ANAZON))))))))),((GEOCAL,CROSUL),((CENUNI,CENBEN),(CUCCAN,(CEUAER,PIACAY))))),((MESUNI,(PTEBUR,(PTEGUT,SYRPAR))),((CALNIC,ALOBEC),(COLPIC,(PATFAS,COLLIV))))),(PODSTR,(AEGBEN,((HEMCOM,CHAPEL),(CALANN,OREMEL)))))),(HERCAC,(FALPER,FALCHE))),((CARCRI,CHUBUR),((CATAUR,(SAGSER,(PANHAL,(CIRPEC,((SPITYR,AQUCHR),(HALALB,HALLEU)))))),(TYTALB,(GLABRA,(STROCC,CICNIG)))))));
|
runs/local-2026-10-22-localpp-strict-check/bdal/trees/b10kint-default.tre
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
(((((((((((((((((((((((((((((((((((((((((((((Junco_hyemalis,Zonotrichia_albicollis),Melospiza_melodia),Spizella_passerina),(((Molothrus_ater,Quiscalus_mexicanus),Agelaius_phoeniceus),(Setophaga_coronata,Setophaga_kirtlandii))),(((Cardinalis_cardinalis,Passerina_amoena),Pheucticus_melanocephalus),((Geospiza_fortis,Sporophila_hypoxantha),Nesospiza_acunhae))),(Calcarius_ornatus,Emberiza_fucata)),Rhodinocichla_rosea),(((Loxia_curvirostra,Loxia_leucoptera),Serinus_canaria),(Chlorodrepanis_virens,Hemignathus_wilsoni))),Motacilla_alba),(Hypocryptadius_cinnamomeus,Passer_domesticus)),(Prunella_fulvescens,Prunella_himalayana)),((((Lonchura_striata,Taeniopygia_guttata),(Vidua_chalybeata,Vidua_macroura)),Ploceus_nigricollis),Urocynchramus_pylzowi)),Peucedramus_taeniatus),Irena_cyanogastra),(Chloropsis_cyanopogon,Chloropsis_hardwickii)),(Dicaeum_eximium,Leptocoma_aspasia)),Promerops_cafer),(((((((((((Oenanthe_oenanthe,Saxicola_maurus),Ficedula_albicollis),Erithacus_rubecula),(Cercotrichas_coryphaeus,Copsychus_sechellarum)),Catharus_fuscescens),Cinclus_mexicanus),((((Leucopsar_rothschildi,Sturnus_vulgaris),Rhabdornis_inornatus),Toxostoma_redivivum),Buphagus_erythrorhynchus)),Elachura_formosa),((((Certhia_brachydactyla,Certhia_familiaris),(Polioptila_caerulea,Thryothorus_ludovicianus)),Sitta_europaea),Tichodroma_muraria)),Regulus_satrapa),(Bombycilla_garrulus,Phainopepla_nitens))),(((((((((((((Cettia_cetti,Horornis_vulcanius),Erythrocercus_mccallii),Aegithalos_caudatus),Hylia_prasina),(Phylloscopus_trochilus,Rhadina_sibilatrix)),(((((Illadopsis_cleaveri,Leiothrix_lutea),Pomatorhinus_ruficollis),((Zosterops_hypoxanthus,Zosterops_lateralis),Sterrhoptilus_dennistouni)),((Sylvia_atricapilla,Sylvia_borin),Sinosuthora_webbiana)),(Brachypodius_atriceps,Pycnonotus_jocosus))),Hirundo_rustica),(((Donacobius_atricapilla,Oxylabes_madagascariensis),Locustella_ochotensis),(Acrocephalus_arundinaceus,Hippolais_icterina))),Cisticola_juncidis),Sylvietta_virens),Nicator_chloris),(Alaudala_cheleensis,Panurus_biarmicus)),(((Parus_major,Pseudopodoces_humilis),Poecile_atricapillus),Anthoscopus_minutus))),((Chaetops_frenatus,Picathartes_gymnocephalus),Drymodes_brunneopygia)),(Callaeas_wilsoni,Notiomystis_cincta)),Melanocharis_versteri),Cnemophilus_loriae),((((((((((((Corvus_brachyrhynchos,Corvus_cornix),Corvus_moneduloides),Aphelocoma_coerulescens),Lanius_ludovicianus),Struthidea_cinerea),(Ifrita_kowaldi,Paradisaea_raggiana)),Myiagra_hebetior),Dicrurus_megarhynchus),(Chaetorhynchus_papuensis,Rhipidura_dahli)),(((((((((Erpornis_zantholeuca,Vireo_altiloquus),Pteruthius_melanotis),Oreocharis_arfaki),(Oriolus_oriolus,Pachycephala_philippinensis)),(Aleadryas_rufinucha,Falcunculus_frontatus)),Eulacestoma_nigropectus),(((((Dyaphorophyia_castanea,Mystacornis_crossleyi),Dryoscopus_gambensis),Rhagologus_leucostigma),Gymnorhina_tibicen),Machaerirhynchus_nigripectus)),Mohoua_ochrocephala),Daphoenositta_chrysoptera)),Edolisoma_coerulescens),Ptilorrhoa_leucosticta)),(Orthonyx_spaldingii,Pomatostomus_ruficeps)),((((Origma_solitaria,Pardalotus_punctatus),Grantiella_picta),Dasyornis_broadbenti),Malurus_elegans)),(Climacteris_rufus,Ptilonorhynchus_violaceus)),(Atrichornis_clamosus,Menura_novaehollandiae)),((((((((((Mionectes_macconnelli,Tyrannus_savana),Tachuris_rubrigastra),Neopipo_cinnamomea),Piprites_chloris),(Onychorhynchus_coronatus,Oxyruncus_cristatus)),Pachyramphus_minor),Cephalopterus_ornatus),(Lepidothrix_coronata,Manacus_manacus)),(((((((Campylorhamphus_procurvoides,Xiphorhynchus_elegans),Furnarius_figulus),Sclerurus_mexicanus),Formicarius_rufipectus),Scytalopus_superciliaris),Grallaria_varia),(Rhegmatorhina_hoffmannsi,Sakesphorus_luctuosus))),(((Calyptomena_viridis,Smithornis_capensis),(Pitta_sordida,Sapayoa_aenigma)),(Neodrepanis_coruscans,Serilophus_lunatus)))),Acanthisitta_chloris),((((Agapornis_roseicollis,Melopsittacus_undulatus),Amazona_guildingii),(Eolophus_roseicapillus,Probosciger_aterrimus)),Nestor_notabilis)),((Falco_cherrug,Falco_peregrinus),Herpetotheres_cachinnans)),(Cariama_cristata,Chunga_burmeisteri)),((((((((((((Ramphastos_sulfuratus,Semnornis_frantzii),Eubucco_bourcierii),Tricholaema_leucomelas),Psilopogon_haemacephalus),(Indicator_maculatus,Picoides_pubescens)),(Bucco_capensis,Galbula_dea)),(((((Chloroceryle_aenea,Halcyon_senegalensis),Ceyx_cyanopectus),Baryphthengus_martii),Todus_mexicanus),((Brachypteracias_leptosomus,Eurystomus_gularis),Merops_nubicus))),((Buceros_rhinoceros,Bucorvus_abyssinicus),(Rhinopomastus_cyanomelas,Upupa_epops))),(Apaloderma_vittatum,Trogon_melanurus)),Leptosomus_discolor),(((Ciccaba_nigrolineata,Strix_occidentalis),Glaucidium_brasilianum),Tyto_alba)),(Colius_striatus,Urocolius_indicus))),((((((Aquila_chrysaetos,Spizaetus_tyrannus),(Haliaeetus_albicilla,Haliaeetus_leucocephalus)),Circaetus_pectoralis),Pandion_haliaetus),Sagittarius_serpentarius),Cathartes_aura)),(((((((((((((Phalacrocorax_auritus,Phalacrocorax_brasilianus),Phalacrocorax_harrisi),(Phalacrocorax_carbo,Phalacrocorax_pelagicus)),(Anhinga_anhinga,Anhinga_rufa)),Sula_dactylatra),Fregata_magnificens),((((Pelecanus_crispus,Scopus_umbretta),Balaeniceps_rex),(Cochlearius_cochlearius,Egretta_garzetta)),(Mesembrinibis_cayennensis,Nipponia_nippon))),Ciconia_maguari),((((((Calonectris_borealis,Pelecanoides_urinatrix),Fulmarus_glacialis),Hydrobates_tethys),(Fregetta_grallaria,Oceanites_oceanicus)),Thalassarche_chlororhynchos),(Aptenodytes_forsteri,Pygoscelis_adeliae))),Gavia_stellata),((Eurypyga_helias,Rhynochetos_jubatus),Phaethon_lepturus)),(((((((((((Uria_aalge,Uria_lomvia),Alca_torda),Cepphus_grylle),Stercorarius_parasiticus),(((Chroicocephalus_maculipennis,Larus_smithsonianus),Rissa_tridactyla),(Phaetusa_simplex,Rynchops_niger))),((Glareola_pratincola,Rhinoptilus_africanus),Dromas_ardeola)),Turnix_velox),((((Nycticryphes_semicollaris,Rostratula_benghalensis),Jacana_jacana),(Pedionomus_torquatus,Thinocorus_orbignyianus)),((Arenaria_interpres,Calidris_pugnax),Limosa_lapponica))),(((Charadrius_alexandrinus,Charadrius_vociferus),(Himantopus_himantopus,Ibidorhyncha_struthersii)),((Chionis_minor,Pluvianellus_socialis),Burhinus_bistriatus))),((((Balearica_regulorum,Grus_americana),Aramus_guarauna),Psophia_crepitans),((Atlantisia_rogersi,Zapornia_atra),Heliornis_fulica))),Opisthocomus_hoazin)),((((((Calypte_anna,Oreotrochilus_melanogaster),(Chaetura_pelagica,Hemiprocne_comata)),Aegotheles_bennettii),Podargus_strigoides),((Nyctibius_bracteatus,Nyctibius_grandis),Steatornis_caripensis)),((Antrostomus_carolinensis,Chordeiles_acutipennis),Nyctiprogne_leucopyga)))),(((((((Ceuthmochares_aereus,Piaya_cayana),Cuculus_canorus),(Centropus_bengalensis,Centropus_unirufus)),(Crotophaga_sulcirostris,Geococcyx_californianus)),((Ardeotis_kori,Chlamydotis_macqueenii),Lophotis_ruficrista)),((Corythaeola_cristata,Corythaixoides_concolor),Tauraco_erythrolophus)),(((((Columba_livia,Patagioenas_fasciata),Columbina_picui),(Alopecoenas_beccarii,Caloenas_nicobarica)),(((Pterocles_gutturalis,Syrrhaptes_paradoxus),Pterocles_burchelli),Mesitornis_unicolor)),((Podiceps_cristatus,Podilymbus_podiceps),Phoenicopterus_ruber)))),((((((((Meleagris_gallopavo,Tympanuchus_cupido),Phasianus_colchicus),(Coturnix_japonica,Gallus_gallus)),((Callipepla_squamata,Colinus_virginianus),Odontophorus_gujanensis)),Numida_meleagris),Penelope_pileata),Alectura_lathami),((((((Anas_platyrhynchos,Anas_zonorhyncha),Asarcornis_scutulata),Cairina_moschata),Anser_cygnoid),Anseranas_semipalmata),Chauna_torquata))),Struthio_camelus),(((Apteryx_australis,Apteryx_rowi),(Apteryx_haastii,Apteryx_owenii)),(Casuarius_casuarius,Dromaius_novaehollandiae))),(Rhea_americana,Rhea_pennata)),((((Crypturellus_cinnamomeus,Crypturellus_undulatus),Crypturellus_soui),Tinamus_guttatus),(Nothocercus_julius,Nothocercus_nigrocapillus))),Eudromia_elegans),Nothoprocta_perdicaria),Nothoprocta_ornata,Nothoprocta_pentlandii);
|
runs/local-2026-10-22-localpp-strict-check/bdal/trees/s100R4-true.tre
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
(((((((33,(93,(78,60))),(((90,26),(69,16)),81)),(12,9)),((82,92),(((76,30),34),(94,68)))),(((((100,((86,74),73)),((72,64),46)),(2,25)),(((96,98),(79,(39,42))),((70,35),(97,(45,15))))),((((55,22),18),5),71))),(((((((53,7),(((13,80),(21,27)),(((((57,((38,31),48)),87),47),14),((36,23),65)))),(43,(((84,50),20),(75,40)))),((99,95),((61,(29,83)),(((51,(41,77)),11),(28,32))))),59),(((85,(67,17)),19),((((63,62),(89,52)),(4,66)),((10,58),(3,(91,8)))))),(((54,(1,(37,44))),(((24,49),6),88)),56))),0);
|
runs/local-2026-10-22-localpp-strict-check/bdal/trees/s37R1-default.tre
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
(((((((((((BOS,TUR),SUS),VIC),((CAN,FEL),EQU)),(MYO,PTE)),(ERI,SOR)),((((LOX,PRO),ECH),(CHO,DAS)),((GAL,ORN),(MAC,MON)))),(((((((HOM,PAN),GOR),PON),NEW),CAL),TAR),(MIC,OTO))),TUP),((((MUS,RAT),DIP),SPE),CAV)),OCH,ORY);
|