Table of Contents

Forward-time Simulation with SRV

The original srv simulator was authored by Bo Peng, 20111) (download). SEQPower expands the srv simulator to allow for additional demographic models and specification of selection coefficients. It also saves generated data in a compressed format compatible with SEQPower's power calculation input.

Note

This feature is available only in the “Full” version of SEQPower.

Highlights

The srv method repeatedly simulating a population of sequences forward in time, subject to mutation, natural selection and demography. Because most mutants are introduced during the rapid population expansion, most of the alleles will be rare at the end of any replicate of the simulation. Samples simulated using this script can be used to study genetic diseases caused by a large number of rare variants. Data pools of generated mutant-site allele frequencies can be applied to assign genotype of confounder individuals.

Default Output

The output contains

Usage

Type

spower simulate -h


To read all command line options, or see below for a complete table of command arguments.

Examples

Please read this tutorial for simulation examples.

Commandline Options

-h, --help

--config | ARG (default: None)

--optimized

--gui | <batch|interactive|True|Tkinter|wxPython> (default: None)

--regRange | ARG (default: [2500, 5000])

--fileName | ARG (default: 'MySimuRV')

--numReps | ARG (default: 3)

--N | ARG (default: [8100, 8100, 7900, 9000])

--G | ARG (default: [500, 10, 370])

--mutationModel | ARG (default: 'finite_sites')

--mu | ARG (default: 1.8e-08)

--revertFixedSites | (default: False)

--selModel | ARG (default: 'additive')

--selDist | ARG (default: 'Boyko_2008_European')

--selCoef | ARG (default: [])

--selRange | ARG (default: [1e-05, 0.01])

--recRate | ARG (default: 0)

--verbose | ARG (default: 1)

--steps | ARG (default: [100])

--saveGenotype | ARG (default: 0)

--saveStat | ARG (default: 0)

--variantPool | (default: True)

1) Bo Peng and Xiaoming Liu (2010). Simulating Sequences of the Human Genome with Rare Variants. Human Heredity