Skip to content

Commit c55e8cc

Browse files
committed
v0.1.12-update
1 parent bf01ee9 commit c55e8cc

32 files changed

+1274
-1561
lines changed

.DS_Store

0 Bytes
Binary file not shown.

PhyNEST_hc.log

Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
PhyNEST: Phylogenetic Network Estimation using SiTe patterns
2+
Analysis start: 2024-06-02 at 20:03:17
3+
Input file: example/sample_n5h1.txt
4+
Number of sequences: 5
5+
Sequence length: 1000000
6+
Starting Topology: (5,(2,(3,(4,1))));
7+
Outgroup specified for rooting: 5
8+
Number of maximum reticulation(s): 1
9+
The maximum number of iterations for each optimization: 1000
10+
Search algorithm selected: Hill climbing
11+
The maximum number of steps during search: 250000
12+
The maximum number of consecutive failures: 150 (using maximum_number_of_failures provided)
13+
Output file store directory: /Users/khaosan/Dropbox/PhyNESTp.jl
14+
The number of processors for this analysis: 1
15+
16+
(1/10) Searching for the best network using the hill climbing algorithm; 2024-06-02 at 20:03:17
17+
Starting topology changed to (5,(2,((4,3),1))); using nearest-neighbor interchange (NNI)
18+
The search terminated at step 80 and at 75th consecutive failures.
19+
Summary of each move:
20+
Insertion of reticulation edge: 1 proposed, 1 accepted.
21+
Tail move of reticulation edge: 25 proposed, 0 accepted.
22+
Head move of reticulation edge: 25 proposed, 0 accepted.
23+
Change the direction of reticulation edge: 5 proposed, 1 accepted.
24+
Deletion of reticulation edge: 0 proposed, 0 accepted.
25+
NNI: 23 proposed, 1 accepted.
26+
On the current topology, 96 moves were made, including 21 unsuccessful moves.
27+
Terminated although it neither reached the maximum number of steps or failures,
28+
possibly because there was no more move to make.
29+
(1/10) Estimated topology in this run: (5:3.771,(2:1.117,((1:0.933,(3:0.554,#H6:0.0::1.0):0.38):0.184,(4:0.554)#H6:0.563::0.0):0.0):2.654);
30+
(1/10) Composite likelihood of the estimated topology in this run: 4.830966179213048e6
31+
32+
(2/10) Searching for the best network using the hill climbing algorithm; 2024-06-02 at 20:03:18
33+
Starting topology changed to (5,((4,3),(2,1))); using nearest-neighbor interchange (NNI)
34+
The search terminated at step 102 and at 101th consecutive failures.
35+
Summary of each move:
36+
Insertion of reticulation edge: 79 proposed, 0 accepted.
37+
Tail move of reticulation edge: 0 proposed, 0 accepted.
38+
Head move of reticulation edge: 0 proposed, 0 accepted.
39+
Change the direction of reticulation edge: 0 proposed, 0 accepted.
40+
Deletion of reticulation edge: 0 proposed, 0 accepted.
41+
NNI: 22 proposed, 0 accepted.
42+
On the current topology, 110 moves were made, including 9 unsuccessful moves.
43+
Terminated although it neither reached the maximum number of steps or failures,
44+
possibly because there was no more move to make.
45+
(2/10) Estimated topology in this run: (5:4.071,((4:1.336,3:1.336):0.0,(2:0.638,1:0.638):0.698):2.736);
46+
(2/10) Composite likelihood of the estimated topology in this run: 4.808939250517486e6
47+
48+
(3/10) Searching for the best network using the hill climbing algorithm; 2024-06-02 at 20:03:18
49+
Starting topology changed to (5,(1,((4,3),2))); using nearest-neighbor interchange (NNI)
50+
The search terminated at step 105 and at 104th consecutive failures.
51+
Summary of each move:
52+
Insertion of reticulation edge: 81 proposed, 0 accepted.
53+
Tail move of reticulation edge: 0 proposed, 0 accepted.
54+
Head move of reticulation edge: 0 proposed, 0 accepted.
55+
Change the direction of reticulation edge: 0 proposed, 0 accepted.
56+
Deletion of reticulation edge: 0 proposed, 0 accepted.
57+
NNI: 23 proposed, 0 accepted.
58+
On the current topology, 110 moves were made, including 6 unsuccessful moves.
59+
Terminated although it neither reached the maximum number of steps or failures,
60+
possibly because there was no more move to make.
61+
(3/10) Estimated topology in this run: (5:3.865,(1:1.125,((4:1.125,3:1.125):0.0,2:1.125):0.0):2.739);
62+
(3/10) Composite likelihood of the estimated topology in this run: 4.832807714960081e6
63+
64+
(4/10) Searching for the best network using the hill climbing algorithm; 2024-06-02 at 20:03:18
65+
Starting topology changed to (5,(1,((4,2),3))); using nearest-neighbor interchange (NNI)
66+
The search terminated at step 92 and at 85th consecutive failures.
67+
Summary of each move:
68+
Insertion of reticulation edge: 1 proposed, 1 accepted.
69+
Tail move of reticulation edge: 27 proposed, 1 accepted.
70+
Head move of reticulation edge: 25 proposed, 0 accepted.
71+
Change the direction of reticulation edge: 5 proposed, 0 accepted.
72+
Deletion of reticulation edge: 0 proposed, 0 accepted.
73+
NNI: 33 proposed, 0 accepted.
74+
On the current topology, 96 moves were made, including 11 unsuccessful moves.
75+
Terminated although it neither reached the maximum number of steps or failures,
76+
possibly because there was no more move to make.
77+
(4/10) Estimated topology in this run: (5:4.274,(#H6:0.807::0.0,(((2:0.709,(4:0.709)#H6:0.0::1.0):0.01,3:0.719):0.273,1:0.992):0.523):2.758);
78+
(4/10) Composite likelihood of the estimated topology in this run: 4.817041590497299e6
79+
80+
(5/10) Searching for the best network using the hill climbing algorithm; 2024-06-02 at 20:03:18
81+
Starting topology changed to (5,(1,(2,(3,4)))); using nearest-neighbor interchange (NNI)
82+
The search terminated at step 106 and at 75th consecutive failures.
83+
Summary of each move:
84+
Insertion of reticulation edge: 1 proposed, 1 accepted.
85+
Tail move of reticulation edge: 29 proposed, 1 accepted.
86+
Head move of reticulation edge: 32 proposed, 0 accepted.
87+
Change the direction of reticulation edge: 10 proposed, 2 accepted.
88+
Deletion of reticulation edge: 0 proposed, 0 accepted.
89+
NNI: 33 proposed, 1 accepted.
90+
On the current topology, 96 moves were made, including 21 unsuccessful moves.
91+
Terminated although it neither reached the maximum number of steps or failures,
92+
possibly because there was no more move to make.
93+
(5/10) Estimated topology in this run: (5:10.27,(4:5.197,((3:2.358,(2:0.38,#H6:0.0::0.62):1.978):1.273,(1:0.38)#H6:3.25::0.38):1.566):5.073);
94+
(5/10) Composite likelihood of the estimated topology in this run: 4.741352247347821e6
95+
96+
(6/10) Searching for the best network using the hill climbing algorithm; 2024-06-02 at 20:03:20
97+
Starting topology changed to (5,(1,(4,(2,3)))); using nearest-neighbor interchange (NNI)
98+
The search terminated at step 81 and at 75th consecutive failures.
99+
Summary of each move:
100+
Insertion of reticulation edge: 1 proposed, 1 accepted.
101+
Tail move of reticulation edge: 27 proposed, 1 accepted.
102+
Head move of reticulation edge: 25 proposed, 0 accepted.
103+
Change the direction of reticulation edge: 6 proposed, 0 accepted.
104+
Deletion of reticulation edge: 0 proposed, 0 accepted.
105+
NNI: 21 proposed, 0 accepted.
106+
On the current topology, 96 moves were made, including 21 unsuccessful moves.
107+
Terminated although it neither reached the maximum number of steps or failures,
108+
possibly because there was no more move to make.
109+
(6/10) Estimated topology in this run: (5:4.099,(#H6:0.57::0.0,(((2:0.632,3:0.632):0.314,(4:0.946)#H6:0.0::1.0):0.002,1:0.948):0.567):2.584);
110+
(6/10) Composite likelihood of the estimated topology in this run: 4.79908686476507e6
111+
112+
(7/10) Searching for the best network using the hill climbing algorithm; 2024-06-02 at 20:03:20
113+
Starting topology remains unchanged
114+
The search terminated at step 131 and at 75th consecutive failures.
115+
Summary of each move:
116+
Insertion of reticulation edge: 1 proposed, 1 accepted.
117+
Tail move of reticulation edge: 38 proposed, 1 accepted.
118+
Head move of reticulation edge: 42 proposed, 2 accepted.
119+
Change the direction of reticulation edge: 13 proposed, 0 accepted.
120+
Deletion of reticulation edge: 0 proposed, 0 accepted.
121+
NNI: 36 proposed, 1 accepted.
122+
On the current topology, 96 moves were made, including 21 unsuccessful moves.
123+
Terminated although it neither reached the maximum number of steps or failures,
124+
possibly because there was no more move to make.
125+
(7/10) Estimated topology in this run: (5:10.28,(((1:2.363,(2:0.376,(3:0.376)#H6:0.0::0.379):1.988):1.268,#H6:3.255::0.621):1.572,4:5.202):5.077);
126+
(7/10) Composite likelihood of the estimated topology in this run: 4.741362031645942e6
127+
128+
(8/10) Searching for the best network using the hill climbing algorithm; 2024-06-02 at 20:03:32
129+
Starting topology changed to (5,((2,3),(1,4))); using nearest-neighbor interchange (NNI)
130+
The search terminated at step 108 and at 107th consecutive failures.
131+
Summary of each move:
132+
Insertion of reticulation edge: 83 proposed, 0 accepted.
133+
Tail move of reticulation edge: 0 proposed, 0 accepted.
134+
Head move of reticulation edge: 0 proposed, 0 accepted.
135+
Change the direction of reticulation edge: 0 proposed, 0 accepted.
136+
Deletion of reticulation edge: 0 proposed, 0 accepted.
137+
NNI: 24 proposed, 0 accepted.
138+
On the current topology, 111 moves were made, including 4 unsuccessful moves.
139+
Terminated although it neither reached the maximum number of steps or failures,
140+
possibly because there was no more move to make.
141+
(8/10) Estimated topology in this run: (5:4.076,((2:0.638,3:0.638):0.7,(1:1.338,4:1.338):0.0):2.738);
142+
(8/10) Composite likelihood of the estimated topology in this run: 4.808848819713962e6
143+
144+
(9/10) Searching for the best network using the hill climbing algorithm; 2024-06-02 at 20:03:32
145+
Starting topology changed to (5,((3,(1,4)),2)); using nearest-neighbor interchange (NNI)
146+
The search terminated at step 140 and at 86th consecutive failures.
147+
Summary of each move:
148+
Insertion of reticulation edge: 2 proposed, 1 accepted.
149+
Tail move of reticulation edge: 45 proposed, 4 accepted.
150+
Head move of reticulation edge: 34 proposed, 0 accepted.
151+
Change the direction of reticulation edge: 11 proposed, 2 accepted.
152+
Deletion of reticulation edge: 0 proposed, 0 accepted.
153+
NNI: 47 proposed, 0 accepted.
154+
On the current topology, 96 moves were made, including 10 unsuccessful moves.
155+
Terminated although it neither reached the maximum number of steps or failures,
156+
possibly because there was no more move to make.
157+
(9/10) Estimated topology in this run: (5:9.873,(((3:1.57,(2:1.43)#H6:0.14::0.525):1.427,(#H6:0.0::0.475,1:1.43):1.567):1.981,4:4.979):4.894);
158+
(9/10) Composite likelihood of the estimated topology in this run: 4.741344634057323e6
159+
160+
(10/10) Searching for the best network using the hill climbing algorithm; 2024-06-02 at 20:03:39
161+
Starting topology changed to (5,(3,(2,(1,4)))); using nearest-neighbor interchange (NNI)
162+
The search terminated at step 79 and at 75th consecutive failures.
163+
Summary of each move:
164+
Insertion of reticulation edge: 1 proposed, 1 accepted.
165+
Tail move of reticulation edge: 26 proposed, 1 accepted.
166+
Head move of reticulation edge: 25 proposed, 0 accepted.
167+
Change the direction of reticulation edge: 5 proposed, 0 accepted.
168+
Deletion of reticulation edge: 0 proposed, 0 accepted.
169+
NNI: 21 proposed, 0 accepted.
170+
On the current topology, 96 moves were made, including 21 unsuccessful moves.
171+
Terminated although it neither reached the maximum number of steps or failures,
172+
possibly because there was no more move to make.
173+
(10/10) Estimated topology in this run: (5:3.743,(#H6:0.425::0.847,((2:0.96,((1:1.385,4:1.385):0.0)#H6:0.0::0.153):0.0,3:0.96):0.425):2.358);
174+
(10/10) Composite likelihood of the estimated topology in this run: 4.822329367341726e6
175+
176+
Summary:
177+
Run Composite likelihood Network estimated
178+
1 4.8309662e6 (5:3.771,(2:1.117,((1:0.933,(3:0.554,#H6:0.0::1.0):0.38):0.184,(4:0.554)#H6:0.563::0.0):0.0):2.654);
179+
2 4.8089393e6 (5:4.071,((4:1.336,3:1.336):0.0,(2:0.638,1:0.638):0.698):2.736);
180+
3 4.8328077e6 (5:3.865,(1:1.125,((4:1.125,3:1.125):0.0,2:1.125):0.0):2.739);
181+
4 4.8170416e6 (5:4.274,(#H6:0.807::0.0,(((2:0.709,(4:0.709)#H6:0.0::1.0):0.01,3:0.719):0.273,1:0.992):0.523):2.758);
182+
5 4.7413522e6 (5:10.27,(4:5.197,((3:2.358,(2:0.38,#H6:0.0::0.62):1.978):1.273,(1:0.38)#H6:3.25::0.38):1.566):5.073);
183+
6 4.7990869e6 (5:4.099,(#H6:0.57::0.0,(((2:0.632,3:0.632):0.314,(4:0.946)#H6:0.0::1.0):0.002,1:0.948):0.567):2.584);
184+
7 4.741362e6 (5:10.28,(((1:2.363,(2:0.376,(3:0.376)#H6:0.0::0.379):1.988):1.268,#H6:3.255::0.621):1.572,4:5.202):5.077);
185+
8 4.8088488e6 (5:4.076,((2:0.638,3:0.638):0.7,(1:1.338,4:1.338):0.0):2.738);
186+
9 4.7413446e6 (5:9.873,(((3:1.57,(2:1.43)#H6:0.14::0.525):1.427,(#H6:0.0::0.475,1:1.43):1.567):1.981,4:4.979):4.894);
187+
10 4.8223294e6 (5:3.743,(#H6:0.425::0.847,((2:0.96,((1:1.385,4:1.385):0.0)#H6:0.0::0.153):0.0,3:0.96):0.425):2.358);
188+
189+
Best topology: (5:9.873,(((3:1.57,(2:1.43)#H6:0.14::0.525):1.427,(#H6:0.0::0.475,1:1.43):1.567):1.981,4:4.979):4.894);)
190+
End;

PhyNEST_hc.out

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
(5:9.873,(((3:1.57,(2:1.43)#H6:0.14::0.525):1.427,(#H6:0.0::0.475,1:1.43):1.567):1.981,4:4.979):4.894);
2+
3+
(5:9.873,(((3:1.57,(2:1.43)#H6:0.14):1.427,(#H6:0.0,1:1.43):1.567):1.981,4:4.979):4.894);

PhyNEST_sa.log

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
PhyNEST: Phylogenetic Network Estimation using SiTe patterns
2+
Analysis start: 2024-06-02 at 20:03:58
3+
Input file: example/sample_n5h1.txt
4+
Number of sequences: 5
5+
Sequence length: 1000000
6+
Starting Topology: (5,(2,(3,(4,1))));
7+
Outgroup specified for rooting: 5
8+
Number of maximum reticulation(s): 1
9+
The maximum number of iterations for each optimization: 1000
10+
Search algorithm selected: Simulated annealing with alpha=0.5; c=0.5
11+
The maximum number of steps during search: 250000
12+
The maximum number of consecutive failures: 50 (computed using probN=9.5e-45 provided.)
13+
Output file store directory: /Users/khaosan/Dropbox/PhyNESTp.jl
14+
The number of processors for this analysis: 1
15+
16+
(1/2) Searching for the best network using the simulated annealing algorithm; 2024-06-02 at 20:03:59
17+
Starting topology remains unchanged
18+
Running 25 burn-ins...
19+
Burn in complete. At most -log likelihood value can change 253831.89630290028 at a single step.
20+
Showing 10 best topologies found in this run:
21+
Rank Composite Likelihood Network
22+
1 4.74134463406e6 (5:9.873,(4:4.979,((3:1.57,(2:1.43)#H6:0.14::0.525):1.427,(1:1.43,#H6:0.0::0.475):1.567):1.981):4.894);
23+
2 4.74134463406e6 (5:9.873,(4:4.979,((3:1.57,(2:1.43)#H6:0.14::0.525):1.427,(#H6:0.0::0.475,1:1.43):1.567):1.981):4.894);
24+
3 4.74134463406e6 (5:9.873,(4:4.979,((3:1.57,(2:1.43)#H6:0.14::0.525):1.427,(1:1.43,#H6:0.0::0.475):1.567):1.981):4.894);
25+
4 4.74135224735e6 (5:10.27,(4:5.197,((3:2.358,(2:0.38,#H6:0.0::0.62):1.978):1.273,(1:0.38)#H6:3.25::0.38):1.566):5.073);
26+
The total length of best trees is shorter than k.
27+
Speciation times for some newicks may not have updated if estimates are weird (e.g., NaN).
28+
The search terminated at step 585 and at 50th consecutive failures and (Cooling schedule)ci=2154.7764941621217.
29+
Summary of each move:
30+
Insertion of reticulation edge: 2 proposed, 1 accepted.
31+
Tail move of reticulation edge: 165 proposed, 106 accepted.
32+
Head move of reticulation edge: 133 proposed, 44 accepted.
33+
Change the direction of reticulation edge: 122 proposed, 37 accepted.
34+
Deletion of reticulation edge: 0 proposed, 0 accepted.
35+
Nearest-neighbor interchange (NNI): 163 proposed, 9 accepted.
36+
On the current topology, 68 moves were made, including 18 unsuccessful moves.
37+
Terminated because it reached the maximum number of failures (current maximum_number_of_failures=50).
38+
(1/2) Estimated topology in this run: (5:9.873,(4:4.979,((3:1.57,(2:1.43)#H6:0.14::0.525):1.427,(1:1.43,#H6:0.0::0.475):1.567):1.981):4.894);
39+
(1/2) Composite likelihood of the estimated topology in this run: 4.741344634057322e6
40+
41+
(2/2) Searching for the best network using the simulated annealing algorithm; 2024-06-02 at 20:05:13
42+
Starting topology remains unchanged
43+
Running 25 burn-ins...
44+
Burn in complete. At most -log likelihood value can change 276213.0673120329 at a single step.
45+
Showing 10 best topologies found in this run:
46+
Rank Composite Likelihood Network
47+
1 4.74134463406e6 (5:9.873,(4:4.979,((1:1.43,(2:1.43)#H6:0.0::0.475):1.567,(3:1.57,#H6:0.14::0.525):1.427):1.981):4.894);
48+
2 4.74134463406e6 (5:9.873,(((1:1.43,(2:1.43)#H6:0.0::0.475):1.567,(#H6:0.14::0.525,3:1.57):1.427):1.981,4:4.979):4.894);
49+
3 4.74134463406e6 (5:9.873,(4:4.979,((3:1.57,(2:1.43)#H6:0.14::0.525):1.427,(1:1.43,#H6:0.0::0.475):1.567):1.981):4.894);
50+
4 4.74134463406e6 (5:9.873,(4:4.979,((1:1.43,#H6:0.0::0.525):1.567,((2:1.43)#H6:0.14::0.475,3:1.57):1.427):1.981):4.894);
51+
5 4.74134463406e6 (5:9.873,(4:4.979,((#H6:0.0::0.525,1:1.43):1.567,((2:1.43)#H6:0.14::0.475,3:1.57):1.427):1.981):4.894);
52+
6 4.74134463406e6 (5:9.873,(4:4.979,((3:1.57,(2:1.43)#H6:0.14::0.525):1.427,(#H6:0.0::0.475,1:1.43):1.567):1.981):4.894);
53+
The total length of best trees is shorter than k.
54+
Speciation times for some newicks may not have updated if estimates are weird (e.g., NaN).
55+
The search terminated at step 910 and at 50th consecutive failures and (Cooling schedule)ci=1512.6720311686329.
56+
Summary of each move:
57+
Insertion of reticulation edge: 1 proposed, 1 accepted.
58+
Tail move of reticulation edge: 251 proposed, 131 accepted.
59+
Head move of reticulation edge: 228 proposed, 69 accepted.
60+
Change the direction of reticulation edge: 216 proposed, 95 accepted.
61+
Deletion of reticulation edge: 0 proposed, 0 accepted.
62+
Nearest-neighbor interchange (NNI): 214 proposed, 14 accepted.
63+
On the current topology, 66 moves were made, including 16 unsuccessful moves.
64+
Terminated because it reached the maximum number of failures (current maximum_number_of_failures=50).
65+
(2/2) Estimated topology in this run: (5:9.873,(4:4.979,((1:1.43,#H6:0.0::0.475):1.567,(3:1.57,(2:1.43)#H6:0.14::0.525):1.427):1.981):4.894);
66+
(2/2) Composite likelihood of the estimated topology in this run: 4.741344634057322e6
67+
68+
Summary:
69+
Run Composite likelihood Network estimated
70+
1 4.7413446e6 (5:9.873,(4:4.979,((3:1.57,(2:1.43)#H6:0.14::0.525):1.427,(1:1.43,#H6:0.0::0.475):1.567):1.981):4.894);
71+
2 4.7413446e6 (5:9.873,(4:4.979,((1:1.43,#H6:0.0::0.475):1.567,(3:1.57,(2:1.43)#H6:0.14::0.525):1.427):1.981):4.894);
72+
73+
Best topology: (5:9.873,(4:4.979,((3:1.57,(2:1.43)#H6:0.14::0.525):1.427,(1:1.43,#H6:0.0::0.475):1.567):1.981):4.894);)
74+
End;

PhyNEST_sa.out

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
(5:9.873,(4:4.979,((3:1.57,(2:1.43)#H6:0.14::0.525):1.427,(1:1.43,#H6:0.0::0.475):1.567):1.981):4.894);
2+
3+
(5:9.873,(4:4.979,((3:1.57,(2:1.43)#H6:0.14):1.427,(1:1.43,#H6:0.0):1.567):1.981):4.894);

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "PhyNEST"
22
uuid = "115de871-c282-4823-a74f-b03678acf966"
33
authors = ["Sungsik Kong"]
4-
version = "0.1.11"
4+
version = "0.1.12"
55

66
[deps]
77
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"

docs/src/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Please use [google group](https://groups.google.com/g/phynest-users) to report b
3333
PhyNEST.GetTrueProbsAsymmTypes
3434
PhyNEST.sim_sp_freq
3535
36+
37+
3638
PhyNEST.phyne!
3739
3840
PhyNEST.Dstat

example/.DS_Store

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)