Trees | Indices | Help |
---|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Gets a demograpy template. Most probably this model needs to be sent to GenCases. stream - Writable stream. param - Template file. tp_dir - Directory where to find the template, if None use an internal template |
Writes a Simcoal2 loci template part. stream - Writable stream. chr - Chromosome list. Current loci list: [(chr_repeats,[(marker, (params))])] chr_repeats --> Number of chromosome repeats marker --> 'SNP', 'DNA', 'RFLP', 'MICROSAT' params --> Simcoal2 parameters for markers (list of floats or ints - if to be processed by generate_model) |
Writes a complete SimCoal2 template file. This joins together get_demography_template and get_chr_template, which are feed into generate_model Please check the three functions for parameters (model from get_demography_template, chrs from get_chr_template and params from generate_model). |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sun May 3 15:51:23 2009 | http://epydoc.sourceforge.net |