Overview#
The phylozoo.core module provides fundamental data structures and classes used
throughout PhyloZoo for representing and analyzing phylogenetic networks, quartets, splits,
sequences, distance matrices, and other core phylogenetic concepts.
All core data structures are available at the package top-level for convenience, but functions must be imported from the submodules.
from phylozoo import (
DirectedPhyNetwork,
SemiDirectedPhyNetwork,
Quartet,
QuartetProfile,
QuartetProfileSet,
Split,
SplitSystem,
DistanceMatrix,
MSA,
)
Submodules#
The phylozoo.core module is organized into several submodules, each focusing on a
specific data type or functionality:
Networks - Directed and semi-directed phylogenetic network classes
Quartets - Quartet information
Splits - Bipartitions of taxa and split systems
Sequences - Multiple sequence alignment (MSA) handling
Distance Matrices - Distance matrix classes and operations
Primitives - Fundamental data structures (Partition, CircularOrdering, MixedMultiGraph,etc.)
These components are designed to be interoperable, allowing for seamless transitions between different data representations.
See Also#
API Reference — Complete function signatures and detailed examples