Skip to content

A compatability library implementing PhyloXML parsing from the legacy version of PhyD3.

Notifications You must be signed in to change notification settings

vibbits/phyd3-parser-compat

Repository files navigation

Tests NPM

phyd3-parser-compat

A compatability library implementing PhyloXML parsing from the legacy version of PhyD3.

Installation

npm install @vibbioinfocore/phyd3-parser-compat

Usage

In the browser:

import {makeCompatTable, phyloxml} from "@vibbioinfocore/phyd3-parser-compat";

const parse = (text) => {
    const parser = new DOMParser()
    const doc = parser.parseFromString(text);
    return makeCompatTable(phyloxml.parse(doc));
};

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update/add tests as appropriate.

License

MIT

About

A compatability library implementing PhyloXML parsing from the legacy version of PhyD3.

Topics

Resources

Stars

Watchers

Forks