Hi! I have a question regarding using population sequence data in SLiM.
My initial goal for a project is to model neutral evolution in a population of ~500 individuals over N generations using standard Wright-Fisher simulations. The project is supposed to complement experimental work, and hence I want to use real sequencing data in the form of .vcf files containing information on SNPs.
The problem is that I only have population sequence data (for a population of ~500 individuals). It does contain information on average allele frequencies, but there is no individual-level data. As far as I can tell from the SLiM manual there is no straightforward way to load in and use population-level .vcf files directly in SLiM (it seems it always assumes it is individual-level data), is this correct?
What I do now as a ‘workaround’ is to use the allele frequency information from the population-level data to estimate how many individuals you should expect to have each allele in a given population. I generate a number of artificial individuals in a new .vcf file (in Python) and then load this into SLiM to run simulations. This seems to work, in that the simulations do successfully run.
My main question is, does my workaround make sense (i.e. am I making some kind of mistake)? And is there an easier way to implement this in SLiM that I am missing?
--
SLiM forward genetic simulation: http://messerlab.org/slim/
---
You received this message because you are subscribed to the Google Groups "slim-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slim-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/slim-discuss/57dc57c3-e84d-48bd-a4d4-688201be873an%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/slim-discuss/b4e92755-5962-4f02-9993-f8f0d2dc58b6n%40googlegroups.com.