The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

megatree-phylotree-loader - Loads a tree in the format of PhyloTree.org

SYNOPSIS

    megatree-loader -i <file> [-d <file>] [-vhm]

OPTIONS

-i <file> or -infile <file>

Input tree file, in the spreadsheet format as produced by PhyloTree.org, e.g. PhyloTree Build 17.txt.

-d <file> or -dbfile <file>

Optional.

Location of a database file, compatible with sqlite3, which will be produced. This file can not yet exist. If it does, an error message will be emitted and the program will quit.

If this argument is not provided, the tree topology will be emitted as a comma-separated spreadsheet. (In principle, this spreadsheet could subsequently be loaded into sqlite3 and then be further indexed by the API.)

-v or -verbose

Optional.

With this option, more feedback messages are written during processing. This option can be used multiple times, which increases the verbosity further.

-h or -help

Optional.

Prints help message / documentation.

-m or -man

Optional.

Prints manual page. Additional information is available in the documentation, i.e. perldoc megatree-phylotree-loader

DESCRIPTION

This program produces a database file or a CSV spreadsheet from dump of a haplotype tree as emitted by PhyloTree.org. Such a database provides much quicker random access to immutable trees, such as NRY and mtDNA haplotype trees. The example trees that are referred to by the release of Bio::Phylo::Forest::DBTree have been produced in this way. They can be accessed by an API that is compatible with Bio::Phylo, but much more scalable. An example of such API usage is presented by the megatree-pruner script.