Hi,
Thanks a lot for the quick answer! And sorry for this question which was a quit stupid mistake from me ! My simulations are know working correctly except one: the one to simulate the fact that a proportion of the genome of my focal population (pop 0) come from a ghost population (pop 1).
When running the simulation with this tpl:
//Number of population samples (demes)
2
//Population effective sizes (number of genes)
NPOP1
NPOP2
//Samples sizes and samples age
20
0
//Growth rates : negative growth implies population expansion
0
0
//Number of migration matrices : 0 implies no migration between demes
0
//historical event: time, source, sink, migrants, new deme size, new growth rate, migration matrix index
1 historical event
TMIGR 0 1 PROP 1 0 0
//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-8 OUTEXP
And this est:
// Search ranges and rules file
// ****************************
[PARAMETERS]
//#isInt? #name #dist.#min #max
//all Ns are in number of haploid individuals
1 NPOP1 logunif 1000 1e7 output
1 NPOP2 logunif 1000 1e7 output
1 TMIGR unif 10 1e5 output
1 PROP unif 0 0.9 output
[RULES]
[COMPLEX PARAMETERS]
I got only this message for ever : "Migration to an inactive deme (1)".
I think my historical event (TMIGR 0 1 PROP 1 0 0) is correct as backward in time my source population is well pop 0 my focal population and my sink is well pop 1 my ghost population. Nevertheless if I reverse the order of my source and sink population (so TMIGR 1 0 PROP 1 0 0) the simulation is running, but if I understand correctly this last simulation is not doing what I want, am I right? What could be my mistake? Or I don't understand correctly the manual and it is not possible to do that with fsc?
Thanks again,
Guillaume