Hey Jigyasa,
I apologize for replying that late, the last google group notifications ended up in my spam folder...
Thanks for your nice feedback :-).
I assume in my answer that the 100 gene trees were inferred from the same gene alignment. I do not recommend creating a consensus tree, because generax only accepts strictly binary trees.
One solution is to export the 100 trees into 100 newick files, and run GeneRax on each of them. If you do this, there are two possibilities:
- you want GeneRax to correct the gene tree topologies, in which case each gene trees will be the "starting tree" in the GeneRax tree search. It could happen that GeneRax always finds the same "final tree" from those 100 starting trees, in which case you won't really get an average value over the various topologies (but it's hard to tell without trying). However the final trees should be more realistic than your current topologies, if you got them from an alignment.
- you want to reconcile those gene tree topologies without correcting them. The problem with this approach is that the number of DTL events tends to be overestimated when reconciling inaccurate gene trees, so the average will also be overestimated.
A second solution is to use the tool ALE (
https://github.com/ssolo/ALE) developed by another team. ALE takes as input a rooted species tree and a distribution of n unrooted gene trees, and samples m reconciled rooted gene trees (you can set the number of samples m). It implements two reconciliation models (dated and undated, the undated corresponding to the model implemented in GeneRax). If you decide to use ALE, an even better approach is to generate the n input gene trees using a bayesian tool such as MrBayes (maybe this is how you got the nexus file?).
My feeling is that ALE best fits this usecase. It would be interesting to compare both approaches (ALE and GeneRax with gene tree correction), they should (in theory!!) converge to the same results.
Best,
Benoit