Copyright | 2021 Dominik Schrempf |
---|---|
License | GPL-3.0-or-later |
Maintainer | dominik.schrempf@gmail.com |
Stability | unstable |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creation date: Wed Apr 22 13:34:35 2020.
Synopsis
- parseTree :: NewickFormat -> FilePath -> IO (Tree Phylo Name)
- parseTrees :: NewickFormat -> FilePath -> IO (Forest Phylo Name)
- data NewickFormat
- newickFormat :: Parser NewickFormat
- newickHelp :: [String]
Documentation
parseTree :: NewickFormat -> FilePath -> IO (Tree Phylo Name) Source #
Parse a Newick tree file or a Nexus file with Newick trees.
Error if no or more than one trees are found. Error if both file formats fail to parse.
parseTrees :: NewickFormat -> FilePath -> IO (Forest Phylo Name) Source #
Parse a Newick tree file or a Nexus file with Newick trees.
Error if both file formats fail to parse.
data NewickFormat #
Newick tree format.
- Standard: Branch support values are stored in square brackets after branch lengths.
- IqTree: Branch support values are stored as node names after the closing bracket of forests.
- RevBayes: Key-value pairs are provided in square brackets after node names as well as branch lengths. NOTE: Key value pairs are ignored.
Instances
newickFormat :: Parser NewickFormat Source #
Parse NewickFormat
.
newickHelp :: [String] Source #
Help for different NewickFormat
s.