- NEW: Add trajectory simulation functions follows those from selSim
and geneArtisan.
- NEW: Add controlledMating that accept an generation only if allele
frequency at specified locus/loci fail in specified range.
- NEW: add test case for controlledMating. (No doc is avaiable yet.)
- NEW: implement trajectory simulation follows Slatkin 2001. This
works better than methods from both selSim and geneArtisan.
- CHG: (internal change) abort the original template design. This
will make the source less flexible but can dramatically improve
development time.
- CHG: add separator to simuOpt's parameter specification.
- NEW: add controlledRandomMating and controlledBinomialSelection which
implement a quicker alternative to controlledMating.
- CHG: simuComplexDisease.py has been re-written.
- NEW: add TurnOnDebugWithName(name) and the ability to set SIMUDEBUG
to turn on certain debug mode.
- BUG: fixed a bug about s_shallowCopied flag of population.
- CHG: Remove starting allele and let all allele start from 0. tests
and scripts have been modified. These changes can make binary
and other modules behave the same.
- CHG: (internal change) upgrade to boost 1.33.1. This allows me to use
boost::iostream for instant file compression.
- NEW: File format change that compress population genotype before it is
saved. This will greatly reduce the file size of saved populations.
- NEW: add compress=True option to savePopulation(). For a large file:
Before: txt: 496M, 58s load, 24s write
xml: 169M, 19s load, ? write
Now: txt: 66M, 25s load, 125s save
bin: 51M, 10s load, 70s write
Since load operation tends to happen more often than save,
this increased write time seems to be acceptable.
- NEW: let simuPOP handles file.txt.gz extensions directly. Using .gz will
be equilivalent to compress=True (although compress=True does not
add .gz extension to the filename supplied. )