Converting file from .tre to .nwk?

Hi everyone,

I have a phylogeny file as a: .tre, and need to convert it to a .nwk. Any ideas on how to do this?

thanks

Hi @agonzales, .tre (tree) files are commonly written as .nwk (newick) format. The file name extension often as little to do with the format in this case. So, you should be good to go.

Thanks @SoilRotifer for confirming that.

1 Like

HI, @SoilRotifer the output of raxml is:
(OTU_4580,(((OTU_642,OTU_6841),(OTU_4843,(OTU_7332,OTU_9689))),((OTU_9966,

Do you know if using raxml, i can get the output with distances?
somethings like this, ?
((((((OTU1:0.3821913959,OTU2:0.2237492595):0.773817597,OTU3:0.192214027):0.8810056574,(OTU4:0.08121714811,OTU5:0.3977865039):0.8964746152):0.3147541194,

thanks

I'm not an expert on RAxML, but I think it may be the -f x option. Does this look close?

­ - f x
compute pair­wise ML distances, ML model parameters will be estimated on an
MP starting tree or a user­defined tree passed via ­t, only allowed for
GAMMA­based models of rate heterogeneity

This option will just compute the pair-wise distances (branch lengths) between the
sequences of an alignment using a maximum likelihood estimate. To obtain a model
parameter estimate (GTR, alpha shape parameter etc.) it will initially either read in a user
specified tree (e.g., the best-known ML tree) or generate a randomized stepwise addition
parsimony starting tree if no input tree is provided. It then optimizes model parameters on
this tree and then computes all pair-wises distances.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.