Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about phasing and the cross-coalescence rate #50

Open
luisamarins opened this issue Mar 14, 2023 · 1 comment
Open

Question about phasing and the cross-coalescence rate #50

luisamarins opened this issue Mar 14, 2023 · 1 comment

Comments

@luisamarins
Copy link

Hello,
I have a dataset of three genomes from individuals from three different populations. From the tutorial I read that for a single diploid genome as input (i.e., two haplotypes), no phasing is necessary. So I didnt worry about phasing for my "within population" runs.

I now want to estimate the coalescence rate across populations, to estimate the timing of the split between them. I have a few questions:

  • Is phasing needed in this case?

  • do I need to calculate the cross-coalescence rate for pairs of populations or is it possible to input the three genomes at once?
    below is my first attempt at running this, but I am not sure it makes sense for three populations or if I should do it pairwise:
    msmc2_Linux -t 20 -s -I 0-2,0-3,0-5,0-5,1-2,1-3,1-4,1-5,2-4,2-5,3-4,3-5 -o crosspop6hap-t3cat INPUT_LIST.txt

Your help is greatly appreciated :)

@stschiff
Copy link
Owner

Yes, in this case phasing is needed. I don't fully get your list of indices. You can certainly prepare your input file for three populations, but the estimation should focus on a pair of populations between which you want to compute the cross-coalescence rate.

So if you have indices 0,1 for pop1; 2,3 for pop2 and 4,5 for pop3, then you could run

  • 0-2,0-3,1-2,1-3 for estimating of the cross-coalescence rate between pop1 and pop2.
  • 0-4,0-5,1-4,1-5 for estimating of the cross-coalescence rate between pop1 and pop3.
  • 2-4,2-5,3-4,3-5 for estimating of the cross-coalescence rate between pop2 and pop3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants