Skip to content

Commit

Permalink
fixed tree output in IC computation with partial gene trees
Browse files Browse the repository at this point in the history
  • Loading branch information
stamatak committed Jun 28, 2017
1 parent 257d3ca commit 197c7c5
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README
@@ -1,4 +1,4 @@
Standard RAxML version 8.2.10
Standard RAxML version 8.2.11

============================================================================================================

Expand Down
3 changes: 2 additions & 1 deletion axml.c
Expand Up @@ -7887,7 +7887,8 @@ void printBipartitionResult(tree *tr, analdef *adef, boolean finalPrint, boolean
fprintf(logFile, "%s", tr->tree_string);
fclose(logFile);
}



Tree2String(tr->tree_string, tr, tr->start->back, FALSE, TRUE, FALSE, FALSE, finalPrint, adef, NO_BRANCHES, TRUE, FALSE, printIC, FALSE);


Expand Down
6 changes: 3 additions & 3 deletions axml.h
Expand Up @@ -168,9 +168,9 @@
#define PointGamma(prob,alpha,beta) PointChi2(prob,2.0*(alpha))/(2.0*(beta))

#define programName "RAxML"
#define programVersion "8.2.10"
#define programVersionInt 8210
#define programDate "March 2017"
#define programVersion "8.2.11"
#define programVersionInt 8211
#define programDate "June 2017"


#define TREE_EVALUATION 0
Expand Down
2 changes: 1 addition & 1 deletion bipartitionList.c
Expand Up @@ -1833,7 +1833,7 @@ void calcBipartitions_IC_Global(tree *tr, analdef *adef, char *bestTreeFileName,
{
int
numberOfTrees,
numberOfTaxa = readSingleTree(tr, bestTreeFileName, adef, FALSE, FALSE, TRUE);
numberOfTaxa = readSingleTree(tr, bestTreeFileName, adef, TRUE, FALSE, TRUE);

FILE
*treeFile;
Expand Down
2 changes: 1 addition & 1 deletion models.c
Expand Up @@ -4118,7 +4118,7 @@ void makeGammaCats(int rateHetModel, double alpha, double *gammaRates, int K, bo
for (i = 0; i < K; i++)
gammaRates[i] *= scaler;
}


rax_free(gammaProbs);

Expand Down
4 changes: 2 additions & 2 deletions treeIO.c
Expand Up @@ -1103,8 +1103,8 @@ static boolean addElementLen (FILE *fp, tree *tr, nodeptr p, boolean readBranchL
}
else
{
ungetc(ch, fp);
if ((n = treeFindTipName(fp, tr, TRUE)) <= 0) return FALSE;
ungetc(ch, fp);
if ((n = treeFindTipName(fp, tr, TRUE)) <= 0) return FALSE;
q = tr->nodep[n];
if (tr->start->number > n) tr->start = q;
(tr->ntips)++;
Expand Down

0 comments on commit 197c7c5

Please sign in to comment.