This project is read-only.

Converting Newick format to PhyloXML

Nov 2, 2014 at 10:51 PM
Hello All,

I am trying to use .NET Bio libraries to convert Newick format to PhyloXML. Any suggestions on how to proceed with this? I tried using the NewickParser.Parse() method to convert the Newick to a Phylogenetic.Tree object and got nowhere. Any help would be greatly appreciated!_

Nov 3, 2014 at 1:25 PM
Hi vishal
Welcome. Can you post the newick text file you used as input? The first step here should be pretty straightforward. PhyloXML conversion may take more effort. But post your data and code if you have it and we can work from there.

Nov 3, 2014 at 6:11 PM
I don't think we have any PhyloXML writers directly, so parsing would be easy, but you'd have to write the XML yourself I believe.
Nov 3, 2014 at 6:25 PM
Nigel is correct, you can read in Newick into memory but you would then need to write the PhyloXML formatter code to properly format the output.