This repository was archived by the owner on Oct 12, 2023. It is now read-only.
Releases: molpopgen/libsequence
Releases · molpopgen/libsequence
libsequence 1.8.8
- l-HAF statistic added (Sequence/SummStats/lHaf.hpp)
- Garud et al.'s H1, H2H1, etc. added (Sequence/SummStats/Garud.hpp)
- nSL added (Sequence/SummStats/nSL.hpp)
- fixed implementation of Sequence::invalidPolyChar, which was checking the wrong alphabet
- Various documentation fixes
- Sequence::FST functions shared,Private, and fixed now throw an exception if deme indexes are out of range. Previously, empty return values were sent, which could be confused with there being no sites in a category.
- Various code cleanups, esp. removal of commented-out code blocks
- The 8-bit encoding stuff has been removed. This was never used in real-world programs, and suffered from some design issues.
- Sequence::PolyTableSlice has several updates. First, a bug in "fixed-S" windows was identified through unit testing and fixed. The previous version would drop the last window in some cases. This probably didn't affect many people, but the bug was there for years. (In practice, most 'windows' are fixed distance, not fixed no. variable sites, hence my belief that most previous analyses are ok.) A new constructor supports 'chunking' a PolyTable into equal-sized windows (based on number of variable sites). The class no longer contains a data member of type T, which was never necessary anways.
- auto_ptr replaced with unique_ptr in src/Comeron95.cc
- binning of nSL/iHS statistics is improved, and better handling of non-finite values implemented.
libsequence 1.8.7
Improve behavior of sliding window calculator. Programs using that class must now input more info and do not have to do as much manual post-processing.
1.8.6: bugfix
Fixes issue #7