Serialize a phylogenetic landscape into an SQLlite database file made up of three components: all tree IDs and respective scores, the alignment file as a set of sequences, and a representation of the graph as an edge list.
Bases: object
Encapsulates the construction of a landscape object from a sqlite landscape file.
Instantiate this parser.
| Parameters: | path (a string) – the filepath to the landscape file |
|---|
Parse the file.
| Returns: | a tuple of a landscape.landscape object and its name (a string) |
|---|
Bases: object
Encapsulate the writing of a landscape to a file format.
Instantiates this writer.
| Parameters: |
|
|---|