@vibbioinfocore/phylio
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

Pursuit documentation GitHub Workflow Status Phylio on Pursuit Phylio on NPM

Phylio

Read, write, and manipulate phylogenetic trees.

Supported formats are:

Installation

For javascript projects using NPM:

npm i --save @vibbioinfocore/phylio

For javascript projects using yarn:

yarn add @vibbioinfocore/phylio

For Purescript projects:

spago install purescript-phylio

Usage

From Javascript:

import { parse } from '@vibbioinfocore/phylio';

try {
    const tree = parse("(A,B)C;");
} catch (Error e) {
    console.log(e);
}

From Purescript:

import Bio.Phylogeny (parseNewick)

tree = parseNewick "(A,B)C;"

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

Package Sidebar

Install

npm i @vibbioinfocore/phylio

Weekly Downloads

4

Version

1.1.2

License

MIT

Unpacked Size

196 kB

Total Files

5

Last publish

Collaborators

  • frankvernaillen
  • jamcol