veg / phylotree.js

Interactive viewer of phylogenetic trees
http://phylotree.hyphy.org
MIT License
169 stars 77 forks source link

Combined example of phylotree.js and alignment.js? #416

Closed santule closed 2 years ago

santule commented 2 years ago

Hello,

I need to integrate the sequence information for each node in the tree. I tried doing this manually using rectangles and text as shown below. But it does not work too well.

Screen Shot 2022-04-27 at 4 54 42 pm

The alignment.js library would handle this better. Is there a basic example available for showing tree and alignment information besides each node of the tree?

Thanks.

santule commented 2 years ago

i will raise this in alignment.js library issue board. closing it from here.

spond commented 2 years ago

Dear @santule,

Sorry I have been busy with other projects to pay close attention to phylotree.js in the last couple of weeks. For this specific issue I would suggest using a a monospace font so that each letter has the same width and you can match the text and the boxes.

Best, Sergei