-
v1.4.5
Stablereleased this
2026-11-19 06:27:02 +00:00 | 1 commits to main since this releaserefactor: treat absence as state unless --free-loss and update quartet annexes
Refactor the handling of genome absence to be a distinct state unless
--free-lossis specified. This change introducesQuartetConventionto pair ambiguity policies with the free-loss flag, updating file naming conventions and logic across sampling, masking, and stats modules.- Update
--exclude-genomedescription inpair_coverage_sampling.mdto clarify absence as a state unless--free-lossis specified. - Move multi-member genome handling convention from
pair_coverage_sampling.mdto file name conventions. - Clarify persisted annex structure in
pair_coverage_sampling.mdasPersistentBitVecper non-monomorphic family with counting convention carried by file name. - Fix initial version's absence handling in
has_bipartition, the annex, and--sample-statsto correctly count index 0 when absence is a state. - Replace entropy-only builder with
AnnexRequestandensure_layer_family_annexes. - Consolidate sampling parameters into a single
SamplingSpec. - Update family constraint description in
sampling_design.md. - Modify uniform draws and
--quartetremoval text insampling_design.md. - Clarify state counting in tests for
--free-lossoption insampling_design.md. - State that absence forms a pair without
--free-lossbut never with it insampling_design.md. - Update
--quartetoption to require at least two distinct states, each carried by at least two genomes. - Define absence as a state unless
--free-lossis given for family carrier definition. - Clarify
--pair-balancefavors families covering pairs with fewest shared families. - Modify logic for families fitting every tree topology equally well in
phylo.md. - Change
--quartetrestriction logic to apply after pre-checks involving--no-ambiguityand--exclude-genome. - Update
obikmerdependency version from 1.4.4 to 1.4.5 inCargo.lockandCargo.toml. - Modify
annex_selectioninargs/mod.rsto derivefree_loss,entropy,quartet, andoverlapfromSamplingSpec. - Update
SamplingArgs::quartetdocumentation insampling.rsto describe state determination based on--free-loss. - Add
free_lossfield toAnnexSelectionstruct infamily_annexes.rs. - Change
AnnexRequestto useVec<QuartetConvention>instead ofVec<AmbiguityPolicy>. - Update
requestlogic infamily_annexes.rsto conditionally createQuartetConventionbased onself.quartet. - Modify
dedupsignature infamily_annexes.rsto accept iterator of typeT: Ord. - Update
ensure_layer_family_annexesinfamily_annexes.rsto usemissing_filesandQuartetConvention. - Add
missing_filesdefinition tofamily_annexes.rs. - Change
has_bipartitioninmasking.rsto filter counts where count is>= 2. - Update
is_quartet_informativeinmasking.rsto acceptfree_lossboolean parameter. - Modify
two_pairs_of_distinct_states_is_informativeandsingleton_variant_is_not_informativeinmasking.rsto test bothfree_losspolicies. - Add
under_free_loss_absence_is_missing_and_forms_no_pairandwithout_free_loss_absence_is_a_state_that_can_form_a_pairdefinitions tomasking.rs. - Update
no_ambiguity_drops_multi_member_genomes_from_the_countinmasking.rsto checkis_quartet_informativeunderfree_loss=true. - Add
the_annex_rule_and_the_exact_check_agree_on_the_same_familydefinition tomasking.rs. - Remove
absent_genomes_are_not_a_statedefinition frommasking.rs. - Update
restrict_to_quartetinquartet.rsto acceptQuartetConventioninstead ofAmbiquityPolicy. - Modify
add_siteinsample_stats.rsto handle state 0 as a state participating in bipartition. - Add
absence_as_a_state_makes_a_site_informativedefinition tosample_stats.rs. - Add
quartet_conventionfunction toSamplingSpecinsubsample.rs. - Update
sample_indexinsubsample.rsto usespec.quartet_convention()forAnnexRequest. - Update
restrict_to_quartetcall insubsample.rsto usespec.quartet_convention(). - Add comment regarding
--no-ambiguitycounting convention inhelpers.rs. - Import
QUARTET_ANNEX_FILE_NAMESandQuartetConventionfromquartet_annexinmod.rs. - Add
QuartetConventionstruct withpolicyandfree_lossfields toquartet_annex.rs. - Modify
quartet_annex_file_nameinquartet_annex.rsto takeQuartetConvention. - Add
the_conventions_never_share_a_filefunction toquartet_annex.rs. - Remove
the_policies_never_share_a_filedefinition fromquartet_annex.rs.
Downloads
- Update