Safe Haskell | None |
---|---|
Language | Haskell2010 |
NOTE We need to make sure to be compatible to everything here:
http://evolution.genetics.washington.edu/phylip/newicktree.html
In
particular, we do not do any conversion from _
to (space)
right now.
- type PNT = Parser (Tree Info)
- newicksFromFile :: FilePath -> IO (Either String [NewickTree])
- newicksFromText :: Text -> Either String [NewickTree]
- manyNewick :: Parser Text [NewickTree]
- newick :: Parser NewickTree
- tree :: PNT
- branched :: PNT
- leaf :: PNT
- info :: Parser Info
- name :: Parser Text
- plength :: Parser Double
Documentation
newicksFromFile :: FilePath -> IO (Either String [NewickTree]) Source
newicksFromText :: Text -> Either String [NewickTree] Source
manyNewick :: Parser Text [NewickTree] Source
NOTE http://evolution.genetics.washington.edu/phylip/newicktree.html
A name can be any string of printable characters except blanks, colons, semicolons, parentheses, and square brackets.
I am excluding commas as well.