[Biojava-l] Rooted trees in nexus files
Richard Holland
holland at eaglegenomics.com
Mon Nov 2 17:16:00 UTC 2009
The graphs returned by the Nexus parser are instances that implement
the org.jgrapht.UndirectedGraph interface. Undirected graphs have no
root.
cheers,
Richard
On 30 Oct 2009, at 21:14, Tiago Antão wrote:
> Hi,
>
> I have been trying to use biojava to parse some trees on nexus files
> and I have a small doubt:
> If there is a rooted tree, how can one know what is the root vertex in
> the weighted graph (JGraphT)?
> I understand that there is no root if the tree is unrooted, but in
> case it is rooted, how to determine the vertex?
>
> Many thanks,
> Tiago
>
> --
> "The hottest places in hell are reserved for those who, in times of
> moral crisis, maintain a neutrality." - Dante
> _______________________________________________
> Biojava-l mailing list - Biojava-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biojava-l
--
Richard Holland, BSc MBCS
Operations and Delivery Director, Eagle Genomics Ltd
T: +44 (0)1223 654481 ext 3 | E: holland at eaglegenomics.com
http://www.eaglegenomics.com/
More information about the Biojava-l
mailing list