Skip to content

Obsidian plugin to render Newick / nexus format code blocks using phylotree.js

License

Notifications You must be signed in to change notification settings

echinopscis/obsidian-phylotree-plugin

 
 

Repository files navigation

Obsidian Phylotree Plugin

Display phylogenetic trees in Obsidian. Tree data is specified in a fenced code block in newick or nexus format, and the tree is visualised using the phylotree library.


Changelog

0.3.0

  • Fix issue #2 - allow user specified dimensions for tree visualisation

0.2.0

  • Fix issue #1 - translate and quote node labels when building search term

0.1.0 Initial revision

  • Adds newick and nexus fenced code blocks to Obsidian to specify phylogenetic trees for visualisation
  • Node click constructs a search for the node labels included in the clade

Demo

TBC

Description

See the blog post "Phylogeny viewer plugin" on the echinopscis site

How to install

Download the zip file named "phylotree-plugin.zip" attached to the latest release and unzip in under the .obsidian/plugins directory under your Obsidian vault.

How to use

Create a fenced code block containing phylogenetic tree data, labelled either "newick" or "nexus" depending on the tree format used. Switch to view mode and you should see a visual representation of the tree. The visualisation is interactive: clicking on a node will execute a search across the Obsidian vault for all included node labels.

License

Phylotree plugin is licensed under the MIT license. Refer to LICENSE for more information.


Contributing

Feel free to contribute.

You can create an issue to report a bug, suggest an improvement for this plugin, ask a question, etc.

You can make a pull request to contribute to this plugin development.

Credits

Thanks to the developers of phylotree, on which this plugin relies.

About

Obsidian plugin to render Newick / nexus format code blocks using phylotree.js

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • TypeScript 37.0%
  • JavaScript 36.3%
  • CSS 18.8%
  • HTML 7.1%
  • Shell 0.8%