1.
So, if I got you right you want a population model where the barrier does not fade (best viewed in courirer font):
|| Nea4
|| |
t4|| ------------
|| | |
|| Nea3 |
|| | Nea2
t3|| ------ |
t2|| | | ------
|| | | | |
|| | | | |
|| | | # | |
t1|| | | # | |
|| | | # | |
\/ Ne1 Ne2 # Ne3 Ne4
If that is the case you need to set the following population model:
|| Nea4
|| |
t4|| ------------
|| | |
|| Nea3 |
|| | |
t3|| ------ |
|| | | |
|| | | Nea2
|| | | |
t2|| | | ---------
|| | | | |
|| | | | Nea1
|| | | | |
t1|| | | | ------
|| | | | | |
|| | | | | |
\/ Ne1 Ne2 Ne3 Ne4 Ne5
where you have to set 1 ghost-populations (Pop5) to set the barrier formation event.
This model is coded in the program as
|| |
t4|| |<---------
|| | |
t3|| |<---- |
|| | | |
t2|| | | |<----
|| | | | |
t1|| | | | |<----
|| | | | | |
\/ 0 1 2 3 4
which has the following population-joining events (from present to past)
t1:4->3; t2:3->2; t3:1->0; t4:2->0
The migration matrix should be something like this:
pop0 pop1 pop2 pop3 pop4
pop0 now->t1 0 1 0 0 0
t1->t2 0 0.34 0.33 0.33 0
t2->t3 0 0.5 0.5 0 0
t3->t4 0 0 1 0 0
pop1 now->t1 1 0 0 0 0
t1->t2 0.34 0 0.33 0.33 0
t2->t3 0.5 0 0.5 0 0
t3->t4 0 0 0 0 0
pop2 now->t1 0 0 0 1 0
t1->t2 0.33 0.33 0 0.34 0
t2->t3 0.5 0.5 0 0 0
t3->t4 1 0 0 0 0
pop3 now->t1 0 0 1 0 0
t1->t2 0.33 0.33 0.34 0 0
t2->t3 0 0 0 0 0
t3->t4 0 0 0 0 0
pop4 now->t1 0 0 0 0 0
t1->t2 0 0 0 0 0
t2->t3 0 0 0 0 0
t3->t4 0 0 0 0 0
So,
Ne1 is the size of Population 1
Ne2 is the size of Population 2
Ne3 is the size of Population 3
Ne4 and Nea1 are the sizes of Population 4 up to t1 and t2, respectively
m1 is the portion of migrants of Population 1
m2 is the portion of migrants of Population 2
m3 is the portion of migrants of Population 3
m4 and ma1 are the portions of migrants of Population 4 up to t1 and t2, respectively
Again, you should ignore the summary statistics that are related to the ghost populations.
Here is the prior file you should use:
--
[niter] [gentime] 5 [nloci]
[loci scalars]
[loci types]
2 4 3 3 2 1 0 2 0
[Ne1 prior]
[Ne2 prior]
[Ne3 prior]
[Ne4 prior]
1 1 1
[Nea1 prior]
[Nea2 prior]
[Nea3 prior]
[Nea4 prior]
[t1 prior]
[t2 prior]
[t3 prior]
[t4 prior]
[m1 prior]
[m2 prior]
[m3 prior]
[m4 prior]
0
[ma1 prior]
[ma2 prior]
[ma3 prior]
--
2.
I'm not sure if I got you correctly. If I am not mistaken you want to assume a model with a barrier formation from the origin of the sister-pairs to the present:
|| Nea3
|| |
t3|| -----------
|| | # |
|| Nea2 # |
|| | # |
t2|| ------ # Nea1
|| | | # |
t1|| | | # ------
|| | | # | |
|| | | # | |
|| | | # | |
\/ Ne1 Ne2 # Ne3 Ne4
If that is the case, topology 16 is a good starting point (topology 13 would be fine too, the only difference between them is the order of spliting of the sister-pairs. So I'll just use 16 for consistency):
|| |
t3|| |<---------
|| | |
t2|| |<---- |
|| | | |
t1|| | | |<----
|| | | | |
\/ 0 1 2 3
Then you need to have a migration matrix such as the one above:
pop0 pop1 pop2 pop3
pop0 now->t1 0 1 0 0
t1->t2 0 1 0 0
t2->t3 0 0 0 0
pop1 now->t1 1 0 0 0
t1->t2 1 0 0 0
t2->t3 0 0 0 0
pop2 now->t1 0 0 0 1
t1->t2 0 0 0 0
t2->t3 0 0 0 0
pop3 now->t1 0 0 1 0
t1->t2 0 0 0 0
t2->t3 0 0 0 0
So, the prior file should be something like this:
--
[niter] [gentime] 4 [nloci]
[loci scalars]
[loci types]
1 16
[Ne1 prior]
[Ne2 prior]
[Ne3 prior]
[Ne4 prior]
[Nea1 prior]
[Nea2 prior]
[Nea3 prior]
[t1 prior]
[t2 prior]
[t3 prior]
[m1 prior]
[m2 prior]
[m3 prior]
[m4 prior]
0
0
[STRs mutation prior]
[SNPs mutation prior]
[STRs recombination prior]
[SNPs recombination prior]
1
0 1 0 0
0 1 0 0
0 0 0 0
1 0 0 0
1 0 0 0
0 0 0 0
0 0 0 1
0 0 0 0
0 0 0 0
0 0 1 0
0 0 0 0
0 0 0 0
--
Note that now:
m1 is actually the migration rate Pop2->Pop1
m2 is actually the migration rate Pop1->Pop2
m3 is actually the migration rate Pop4->Pop3
m4 is actually the migration rate Pop3->Pop4
Hope that helps,
Joao