rank_sequences.py
: Ranks sequences in a multiple sequence alignment using the Local Branching Index (LBI).infer_fitness.py
: Performs full fitness inference on sequences in a multiple sequence alignment.prediction_src/
: Core implementation of fitness inference and sequence ranking algorithms.rank_sequences.py
: Script for ranking sequences using the Local Branching Index.infer_fitness.py
: Script for performing full fitness inference on sequences.betatree.py
: Implements the betatree
class for simulating beta coalescent trees.sfs.py
and sfs_py3.py
: Define the SFS
class for calculating the Site Frequency Spectrum.fasttree
for phylogenetic tree construction.
--aln
: Path to the input alignment file.--outgroup
: Name of the outgroup sequence.--eps_branch
: Minimal branch length for inference.--tau
: Time scale for local tree length estimation (for LBI).--diffusion
: Fitness diffusion coefficient (for full inference).--gamma
: Scale factor for time scale.--omega
: Approximate sampling fraction divided by fitness standard deviation.--collapse
: Option to collapse internal branches with identical sequences.--plot
: Option to plot trees.sample_size
: The number of individuals in the sample.alpha
: The alpha parameter of the beta coalescent model.SFS
class allows for configuration of the SFS calculation and binning process through method parameters such as ntrees
, mode
, and bins
.
Users can adjust these parameters to customize the analysis for their specific needs in evolutionary studies and population genetics research.