fsc26 -t BA-Model1.tpl -e BA-Model1.est -L50 -n100000 -d -M -q -0 -C1 --multiSFS -c1 -B1
.tpl file:
//Parameters for the coalescence simulation program : fsimcoal2.exe
3 samples to simulate :
//Population effective sizes (number of genes)
NNEW
NSOUTH
NHOD
//Samples sizes and samples age
10
10
6
//Growth rates : negative growth implies population expansion
0
0
0
//Number of migration matrices : 0 implies no migration between demes
2
//migration matrix 0
0 0 MIG02
0 0 0
MIG20 0 0
//migration matrix 1
0 MIG01 0
MIG10 0 MIG12
0 MIG21 0
//historical event: time, source, sink, migrants, new deme size, new growth rate, migration matrix index
2
TDIV1 0 2 1 RESIZE 0 0
TDIV2 2 1 1 RESIZE 0 1
//Number of independent loci [chromosome]
1 0
//Per chromosome: Number of contiguous linkage Block: a block is a set of contiguous loci
1
//per Block:data type, number of loci, per generation recombination and mutation rates and optional parameters
FREQ 1 0 2.5e-9 OUTEXP
.est file
// Priors and rules file
// *********************
[PARAMETERS]
//#isInt? #name #dist.#min #max
//all N are in number of haploid individuals
1 ANCSIZE unif 1000 1000000 output
1 NNEW unif 1000 1000000 output
1 NSOUTH unif 1000 1000000 output
1 NHOD unif 1000 1000000 output
1 TDIV1 unif 10 100 output
1 TPLUSDIV unif 10 10000 output
0 MIG01 logunif 1e-5 1e-2 output
0 MIG10 logunif 1e-5 1e-2 output
0 MIG02 logunif 1e-5 1e-2 output
0 MIG20 logunif 1e-5 1e-2 output
0 MIG12 logunif 1e-5 1e-2 output
0 MIG21 logunif 1e-5 1e-2 output
0 MUTRATE unif 2.9e-9 5.5e-9 output
[RULES]
[COMPLEX PARAMETERS]
0 RESIZE = ANCSIZE/NSOUTH output
0 TDIV2 = TDIV1+TPLUSDIV output
Thanks for the help
Alex