UNPKG

phylojs

Version:

A simple typescript library for phylogenetic trees

17 lines (16 loc) 482 B
import { Tree } from '../../'; export declare function getTranslateFromNexus(nexus: string): { [key: string]: string; }; /** * Reads a tree from nexus format. Currently does not support custom annotation parsing. * @param {string} nexus * @returns {Tree} */ export declare function readNexus(nexus: string): Tree; /** * Reads trees from from nexus format. * @param {string} nexus * @returns {Tree[]} */ export declare function readTreesFromNexus(nexus: string): Tree[];