OpenTreeOfLife / phylografter

web2py app for tree store and grafting
Other
6 stars 4 forks source link

multiple nodes mapping to the same otu element in nexson #119

Open mtholder opened 10 years ago

mtholder commented 10 years ago

I think that two nodes in tree6754 of study 2918 are mapping to the same otu: otu432184 which is verboten in nexml

mtholder commented 10 years ago

I'm seeing, in the JSON: { "@about": "#node1175250", "@id": "node1175250", "@otu": "otu432184", "meta": [ { "$": true, "@datatype": "xsd:boolean", "@property": "ot:isLeaf", "@xsi:type": "nex:LiteralMeta" } ] }, { "@about": "#node1175251", "@id": "node1175251", "@otu": "otu432184", "meta": [ { "$": true, "@datatype": "xsd:boolean", "@property": "ot:isLeaf", "@xsi:type": "nex:LiteralMeta" } ]

rhr commented 10 years ago

This is the old unique-leaf-labels issue. The uploaded newick string contained two identical leaf labels. Phylografter still doesn't check this on input, and instead just maps leaf nodes to otus based on the label.