sequence_ranking.py
: This module combines sequence alignment processing with node ranking and fitness inference. It provides a high-level interface for analyzing sequence data and predicting fitness.
fitness_inference.py
: This module implements the core algorithm for inferring fitness distributions on a phylogenetic tree. It can be used directly for fitness analysis on pre-built trees.
node_ranking.py
: This module extends the fitness inference functionality to provide various methods for ranking and coloring nodes in a tree. It’s useful for visualizing and interpreting the results of fitness inference.
ancestral.py
: Implements maximum likelihood estimation for ancestral sequence reconstruction.
fitness_inference.py
: Contains the main algorithm for inferring fitness distributions on phylogenetic trees.
node_ranking.py
: Extends fitness inference with methods for ranking and coloring tree nodes.
sequence_ranking.py
: Combines sequence alignment processing with node ranking and fitness inference.
solve_survival.py
: Implements numerical solvers for generating functions in branching processes.
tree_utils.py
: Provides utility functions for building, manipulating, and visualizing phylogenetic trees.
fasttree
for phylogenetic tree construction.
fitness_inference.py
, the fitness_inference
class accepts parameters like eps_branch_length
, D
, fit_grid
, samp_frac
, and mem
to configure the fitness inference process.sequence_ranking.py
, the alignment
class accepts parameters like outgroup
, cds
, and collapse
to configure the alignment processing and tree building.