(Difference between revisions)
 Revision as of 13:33, 17 October 2013 (view source) (→Simulating evolution and then pooled sequencing)← Previous diff Current revision (13:33, 17 October 2013) (view source) (→Simulating evolution and then pooled sequencing) Line 8: Line 8: ==Simulating evolution and then pooled sequencing== ==Simulating evolution and then pooled sequencing== - * '''We start with a population of N individuals with a certain SNP distribution $P(M)$ ~ $N(\mu, \Sigma)$.''' + * '''We start with a population of N individuals with a SNP distribution $P(M)$ ~ $N(\mu, \Sigma)$.''' We can use Dick Hudson's MsSel (MS with selection) to generate a SNP distribution. We can use Dick Hudson's MsSel (MS with selection) to generate a SNP distribution.

## Current revision

Analyzing pooled sequenced data with selection Main project page
Previous entry

## Simulating evolution and then pooled sequencing

• We start with a population of N individuals with a SNP distribution P(M) ~ N(μ,Σ).

We can use Dick Hudson's MsSel (MS with selection) to generate a SNP distribution.

• We then evolve the populations for g generations with selection for SNP j

In MsSel, we can specify an allele frequency trajectory for a site. We can generate a trajectory based on a simple W-F simulation with selection.

Or, we may have to use forqs.

• Simulate pooled sequencing

(1) draw a coverage (n) from Pois(λ) where $\lambda \approx 40-50$

(2) fi (frequency of the ith SNP) ~ $B(n, f_i^{true})$