-
Notifications
You must be signed in to change notification settings - Fork 2
/
phyml_patch_notes.txt
41 lines (33 loc) · 1.02 KB
/
phyml_patch_notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
I found this on https://groups.google.com/forum/#!topic/phyml-forum/yeIwFkwsI8c posted 4/16/2014:
[And then I modified it so that the phyml program exits after printing
the matrix and therefore doesn't even create a tree; makes it faster,
and all we need for hiv-founder-id is the matrix.]
In the function Dist_And_BioNJ (in utilities.c) replace the following block of
instructions:
>>
Bionj(mat);
tree = mat->tree;
tree->mat = mat;
return tree;
<<
with
>>
Bionj(mat);
tree = mat->tree;
tree->mat = mat;
Print_Mat(mat);
// Paul added this to skip making the tree, just output the distance
// matrix and exit. When compiling with this, phyml should be
// renamed eg to phyml_matrixonly
Warn_And_Exit("");
return tree;
<<
and recompile. That should do the trick.
Regards,
-Stephane Guindon-
### Paul adds, to remove the 4000 sequence limit from phyml_matrixonly:
In file utilities.h, raise the limit from 4K to eg 100K:
149c149
< #define N_MAX_OTU 100000
---
> #define N_MAX_OTU 4000