newick-reader
TypeScript support for newick library reader based on Miguel Pignatelli 2014, based on Jason Davies 2010.
Install
npm install newick-reader
Usage
To parse a newick string into an Object:
; ;; /*treeObject ={ children: [ { name: 'A' }, { children: [ { name: 'B' }, { name: 'C' } ], name: '', }, ], name: '',}*/
Although this is supose to be a reader, it also comes with a writer:
; ; /*newickString = '(A,(B,C));';*/