Skip to content

Commit a0b69f6

Browse files
committed
Refine forward sim tutes
And include the new "advanced forward sims" tute, previously hidden
1 parent 1587d0d commit a0b69f6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

_toc.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ parts:
2525
chapters:
2626
- file: simulation_overview
2727
- file: no_mutations
28-
- file: completing_forward_sims
2928
- file: advanced_msprime
3029
sections:
3130
- file: demography
3231
- file: bottlenecks
3332
- file: introgression
33+
- file: completing_forward_sims
3434
- file: forward_sims
35+
- file: more_forward_sims
3536
- caption: Other languages
3637
# TODO: add basic C and maybe Rust tutes
3738
chapters:

forward_sims.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ as rows of the the {ref}`sec_individual_table_definition` (a node can then be as
5959
individual by storing that individual's id in the appropriate row of the node table).
6060

6161
An *edge* reflects a transmission event between nodes. An edge is a tuple `(Left, Right, Parent, Child)`
62-
whose meaning is "Child genome $C$ inherited the genomic interval $[L, R)$ from $Parent genome $P$".
62+
whose meaning is "The `Child` genome inherited the genomic interval [`Left`, `Right`) from the `Parent` genome".
6363
In a tree sequence this is stored in a row of the {ref}`sec_edge_table_definition`.
6464

6565
The *time*, in the discrete-time Wright-Fisher (WF) model which we will simulate, is measured in
@@ -90,7 +90,7 @@ import numpy as np
9090
random_seed = 2
9191
random = np.random.default_rng(random_seed) # A random number generator for general use
9292
93-
L = 50_000 # The sequence length = 50 Kb
93+
L = 50_000 # The sequence length: 50 Kb
9494
```
9595

9696
### Core steps

0 commit comments

Comments
 (0)