Skip to content

simulating genome-wide SNPs #2098

@mandresapata

Description

@mandresapata

Hello!
I am having troubles to understand how to simulate specific amounts of genome-wide SNPs (e.g., 190,000 SNPs) under a demographic model in msprime. I want to simulate a genome-wide SNPs in a human demographic model, so these SNPs are mimicking 190K SNPs distributed along chromosomes 1-22.

Is any way to simulate this? I have only seen the option -L [LENGTH] but I think this option is only to specify the segment size and not the amount of SNPs that I want to use for the simulation right?. Or I should think in a different way, like to simulate each chromosome independently (e.g., different lengths) and then just to sample the 190,000 SNPs from the output?

Sorry if this question is a little basic or confusing but I just want to know which way might be better for my objective, so if there is an option to specify the amount of SNPs to simulate in msprime or if this must be done in the sampling process from the outputs?

I would appreciate any help,
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions