elynx-tree-0.0.1: Handle phylogenetic trees

Copyright(c) Dominik Schrempf 2019
LicenseGPL-3
Maintainerdominik.schrempf@gmail.com
Stabilityunstable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

ELynx.Import.Tree.Newick

Description

Creation date: Thu Jan 17 14:56:27 2019.

Code partly taken from Biobase.Newick.Import.

Specifications

  • In particular, no conversion from _ to (space) is done right now.
Synopsis

Documentation

newick :: Parser (Tree PhyloByteStringLabel) Source #

Parse a Newick tree.

manyNewick :: Parser [Tree PhyloByteStringLabel] Source #

Parse many Newick trees.

forest :: Parser [Tree PhyloByteStringLabel] Source #

A forest is a set of trees separated by , and enclosed by parentheses.

leaf :: Parser (Tree PhyloByteStringLabel) Source #

A leaf is a node without children.

name :: Parser ByteString Source #

A name can be any string of printable characters except blanks, colons, semicolons, parentheses, and square brackets (and commas).

branchLength :: Parser Double Source #

Branch lengths default to 0.