Legofit
infers population history from nucleotide site patterns.
File List
Here is a list of all documented files with brief descriptions:
 axt2raf.py
 bepe.c
 binary.cFunctions for fiddling with bits
 binary.h
 booma.c
 boot.cFunctions for a moving blocks bootstrap
 boot.hHeader for boot.c
 bootci.py
 branchtab.cHash table associating key (an unsigned int encoding a site pattern) and value (a double representing the length of the ascending branch)
 branchtab.h
 clic.c
 comb.cCombinations
 comb.h
 cost.c
 cost.h
 daf.c
 dafreader.cClass DAFReader: read a daf file
 dafreader.h
 diffev.c
 diffev.h
 diverg.py
 dprintf.cDefine external mutex for locking output
 dprintf.h
 dtnorm.cPseudorandom numbers from a truncated Gaussian distribution
 dtnorm.h
 dtnorm_data.h
 error.h
 eventlst.h
 flatfile.py
 flatpat.py
 gene.cClass Gene
 gene.h
 gptree.cMethods for simulating gene genealogies within a given tree of populations, and allowing populations to mix and also to split
 gptree.h
 hashmap.h
 hessian.h
 idset.cA set of tipID_t values
 idset.h
 idsetset.cA table of IdSet values
 idsetset.h
 intpart.cPartitions of an integer into a given number of summands
 intpart.h
 jobqueue.cMultithreaded job queue
 jobqueue.hHeader for jobqueue.c
 joinraf.c
 lblndx.cAn index of sample labels
 lblndx.h
 legofit.c
 legosim.c
 linereader.h
 longvec.c
 longvec.h
 mapmix.c
 matcoal.h
 mctree.h
 misc.cFunctions that didn't seem to belong anywhere else
 misc.h
 mkfitted.c
 mpfrmatcoal.h
 ms2sim.c
 network.cModels a network of populations
 network.h
 param.h
 parse.cParse a .lgo file
 parse.h
 parseopf.cParse a .opf file, containing site pattern frequencies
 parseopf.h
 parstore.cManage a vector of parameters
 parstore.h
 patprob.cCalculate site pattern probabilities
 patprob.h
 pclgo.c
 pointbuff.cClass PointBuff
 pointbuff.h
 popnode.cA single segment of a population tree
 popnode.h
 pripos.c
 ptrlst.c
 ptrlst.h
 ptrptrmap.cMap pointer to pointer
 ptrptrmap.h
 ptrqueue.cA FIFO queue of pointers
 ptrqueue.h
 ptru32map.cMap pointer to unsigned int
 ptru32map.h
 ptrvec.c
 ptrvec.h
 raf.c
 raf2daf.c
 rafdaf.c
 rafreader.cClass RAFReader: read a raf file
 rafreader.h
 rational.c
 rational.h
 resid.c
 rngseed.cMaintain seed of random number generator
 sampndx.cAn index of haploid genetic samples
 sampndx.h
 scrmpat.c
 scrmreader.c
 scrmreader.h
 segment.cA single segment of a population tree
 segment.h
 setpart.h
 simpat.c
 simreader.c
 simreader.h
 simsched.cSimulation schedule
 simsched.h
 sitepat.c
 state.cRead and write "state files", which describe the state of the optmizer
 state.h
 strdblmap.cMap char* to double
 strdblmap.h
 strdblqueue.cFunctions for Composite Likelihood Information Criterion
 strdblqueue.h
 strint.cAssociate character strings with integers
 strint.h
 strptrmap.cMap strings to pointers
 strptrmap.h
 strstrmap.cMap char* to double
 strstrmap.h
 tabpat.c
 tinyexpr.h
 tokenizer.cTokenize a character string
 tokenizer.hHeader for tokenizer.c
 typedefs.h
 u64i64map.cMap uint64_t to int64_t
 u64i64map.h
 u64u64map.cMap uint64_t to uint64_t
 u64u64map.h
 uintqueue.cA FIFO queue of unsigned integers
 uintqueue.h