DOKK / manpages / debian 12 / scrm / scrm.1.en
SCRM(1) General Commands Manual SCRM(1)

scrm - An accurate coalescent simulator for genome-scale sequences

scrm nsamp nloci [-hvL] [-r rec L [-l l] [-sr b rec]... ] [-I npop s1 ... sn [M] [-eI t s1 ... sn [M]]... [-M M] [-eM t M]... [-m i j M] [-em t i j M]... [-ma M11 M21 ... Mnn] [-ema t M11 M21 ... Mnn]... [-es t i p]... [-ej t i j]...] [-n i n] [-en t i n]... [-eN t i n]... [-g i a] [-eg t i a]... [-G t a] [-eG t a]... [-t theta [-oSFS] [-st b theta]... ] [-seed seed [seed2 seed3]] [-p digits]

scrm is a coalescent simulator for biological sequences. Different to similar programs, it can approximate the Ancestral Recombination Graph with arbitrary precision. This allows you to rapidly simulate long sequences with essentially correct genetic linkage between sites.

Set recombination rate to R and locus length to L.
Change the recombination rate R at sequence position p.
Set the approximation window length to l.

Use an island model with npop populations,
where s1 to sn individuals are sampled each population. Optionally assume a symmetric migration rate of M.
Sample s1 to sn indiviuals from their
corresponding populations at time t.
Assume a symmetric migration rate of M/(npop-1).
Change the symmetric migration rate to M/(npop-1) at time t.
Set the migration rate from population j to population i to M
Set the migration rate from population j to
population i to M at time t.
Sets the (backwards) migration matrix.
Changes the migration matrix at time t
Population admixture. Replaces a fraction of 1-p of population i with individuals a from population npop + 1 which is ignored afterwards (forward in time).
Speciation event at time t. Creates population j from individuals of population i.

Set the present day size of population i to n*N0.
Change the size of population i to n*N0 at time t.
Set the present day size of all populations to n*N0.
Set the exponential growth rate of population i to a.
Change the exponential growth rate of population i to a at time t.
Set the exponential growth rate of all populations to a.
Change the exponential growth rate of all populations to a at time t.

Set the mutation rate to THETA = 4N_0u, where u is the neutral mutation rate per locus.
Print the local genealogies in newick format.
Print the local genealogies in the Oriented Forest format.
Print the TMRCA and the local tree length for each segment.
Print the site frequency spectrum. Requires to set the mutation rate.
Scaling of sequence positions. Either relative to the locus length between 0 and 1 (rel), absolute in base pairs (abs) or ms-like (ms).

The random seed to use. Takes up three integer numbers.
Prints the version of scrm.
Prints this text.
Number of significant digits used in output.

scrm 10 5 -t 10

scrm 4 1 -t 10 -r 4 10000

scrm 4 1 -t 10 -r 4000 100000000 -l 0

scrm 4 1 -t 10 -r 4000 100000000 -l 300000
April 2016 Version 1.7.2