Documentation ¶
Index ¶
- func GetReader(inputfile string) (*os.File, *bufio.Reader, error)
- func OpenFile(inputfile string) (*os.File, error)
- func ReadCompTrees(inputfile string, compTrees chan<- tree.Trees) (int, error)
- func ReadCompTreesFile(reader *bufio.Reader, compTrees chan<- tree.Trees) (int, error)
- func ReadRefTree(inputfile string) (*tree.Tree, error)
- func ReadRefTreeFile(reader *bufio.Reader) (*tree.Tree, error)
- func ReadUntilSemiColon(r *bufio.Reader) (string, error)
- func Readln(r *bufio.Reader) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetReader ¶ added in v0.1.10
Returns the opened file and a buffered reader (gzip or not) for the file
func ReadCompTrees ¶
Reads all the trees from the input file and send them to the channel
func ReadCompTreesFile ¶ added in v0.1.10
Read a bunch of trees from the input reader and send each of them to the channel this function does not close the reader
func ReadRefTreeFile ¶ added in v0.1.10
Reads one tree from the input reader this function does not close the reader
func ReadUntilSemiColon ¶ added in v0.1.1
ReadUntilSemiColon returns a string (without the ending \n) from the input buffered reader, ending at ';' or at end of file It allows to read a newick tree on several lines An error is returned iff there is an error with the buffered reader.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.