phylotree
Version:
A JavaScript library for developing applications and interactive visualizations involving [phylogenetic trees](https://en.wikipedia.org/wiki/Phylogenetic_tree), written as an extension of the [D3](http://d3js.org) [hierarchy layout](https://github.com/d3/
21 lines (18 loc) • 531 B
JavaScript
import { default as nexml_parser } from "./nexml";
import { default as newickParser } from "./newick";
import { default as nexus_parser } from "./nexus";
import { default as phyloxml_parser } from "./phyloxml";
import { default as beast_parser } from "./beast";
/*
* A parser must have two fields, the object and
* options
*/
var format_registry = {
nexml: nexml_parser,
phyloxml: phyloxml_parser,
nexus : nexus_parser,
nwk: newickParser,
nhx: newickParser,
beast: beast_parser
};
export default format_registry;