Datasets:
Formats:
parquet
Size:
100K - 1M
Tags:
population-genetics
demographic-inference
effective-population-size
coalescent
msprime
simulation
License:
Add figures to the card
Browse files- README.md +26 -6
- SHA256SUMS +2 -0
- figures/simulations_overview.png +3 -0
- figures/simulations_window.png +3 -0
README.md
CHANGED
|
@@ -25,6 +25,14 @@ with sequencing-like errors already applied, and each comes with its true size h
|
|
| 25 |
files the network was trained on are included, as are the code and configuration that made the
|
| 26 |
windows.
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
## Contents
|
| 29 |
|
| 30 |
| path | what it holds | size |
|
|
@@ -39,6 +47,7 @@ windows.
|
|
| 39 |
| `generator/` | the simulator code, the generation plan and the map scripts | small |
|
| 40 |
| `tools/necast_windows.py` | a reader that needs only numpy | small |
|
| 41 |
| `logs/` | build logs of the feature files | small |
|
|
|
|
| 42 |
| `SHA256SUMS` | a checksum for every file except this card | small |
|
| 43 |
|
| 44 |
The windows are grouped by generation chunk: `windows/NNN/` holds chunks `NNN000` to `NNN999`.
|
|
@@ -51,12 +60,14 @@ numbers have gaps. The index lists every window that exists.
|
|
| 51 |
- **Sequence and sample.** 30 Mb, 64 diploid individuals (128 haplotypes). msprime 1.4.2 with
|
| 52 |
the default coalescent with recombination (the full ancestral recombination graph), a binary
|
| 53 |
mutation model, the window's true recombination and mutation maps, and no gene conversion.
|
| 54 |
-
- **Size histories.** Twelve
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
|
|
|
|
|
|
| 60 |
- **Maps** (`map_type`). A constant map at the baseline rates (`constant_clean`), constant
|
| 61 |
rates drawn at random (`constant_random_global`), synthetic heterogeneous maps
|
| 62 |
(`synthetic_heterogeneous`), or 30 Mb slices of the deCODE 2019 recombination map and the
|
|
@@ -93,6 +104,15 @@ feature file. Now that they are public, they no longer serve as an untouched tes
|
|
| 93 |
|
| 94 |
## Reading a window
|
| 95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
```python
|
| 97 |
from huggingface_hub import hf_hub_download
|
| 98 |
import sys
|
|
|
|
| 25 |
files the network was trained on are included, as are the code and configuration that made the
|
| 26 |
windows.
|
| 27 |
|
| 28 |
+

|
| 29 |
+
|
| 30 |
+
**What the corpus covers.** **a**, Eight training windows drawn at random from each of the
|
| 31 |
+
twelve families of size history, with the number of windows in each family. Each line is a
|
| 32 |
+
window's 64 interval labels, drawn through the interval centres. **b**, Windows by the type of
|
| 33 |
+
map stored with them. Every window carries sequencing-like errors except those with constant maps
|
| 34 |
+
at the baseline rates. **c**, Variant sites per window, false sites included.
|
| 35 |
+
|
| 36 |
## Contents
|
| 37 |
|
| 38 |
| path | what it holds | size |
|
|
|
|
| 47 |
| `generator/` | the simulator code, the generation plan and the map scripts | small |
|
| 48 |
| `tools/necast_windows.py` | a reader that needs only numpy | small |
|
| 49 |
| `logs/` | build logs of the feature files | small |
|
| 50 |
+
| `figures/` | the figures on this card | small |
|
| 51 |
| `SHA256SUMS` | a checksum for every file except this card | small |
|
| 52 |
|
| 53 |
The windows are grouped by generation chunk: `windows/NNN/` holds chunks `NNN000` to `NNN999`.
|
|
|
|
| 60 |
- **Sequence and sample.** 30 Mb, 64 diploid individuals (128 haplotypes). msprime 1.4.2 with
|
| 61 |
the default coalescent with recombination (the full ancestral recombination graph), a binary
|
| 62 |
mutation model, the window's true recombination and mutation maps, and no gene conversion.
|
| 63 |
+
- **Size histories.** Twelve families, named in `generator_recipe`: constant (`constant`),
|
| 64 |
+
exponential (`exponential`), one size change (`size_event`), several changes (`multi_event`),
|
| 65 |
+
bottleneck (`bottleneck`), event on a trend (`event_on_background`), random walk
|
| 66 |
+
(`spectral_walk`), sawtooth (`sawtooth`), zigzag-like (`literature_sawtooth`), founder chain
|
| 67 |
+
(`ooa_chain`), perturbed published human histories (`empirical_human_ne_template`; 191 curves
|
| 68 |
+
inferred by SMC++, phlash, MSMC2 and MSMC-IM), and the 18 single-population models of the
|
| 69 |
+
stdpopsim catalogue (`stdpopsim_single_pop`). Sizes stay between 100 and 1,000,000. The
|
| 70 |
+
realised parameters of every history are in the metadata.
|
| 71 |
- **Maps** (`map_type`). A constant map at the baseline rates (`constant_clean`), constant
|
| 72 |
rates drawn at random (`constant_random_global`), synthetic heterogeneous maps
|
| 73 |
(`synthetic_heterogeneous`), or 30 Mb slices of the deCODE 2019 recombination map and the
|
|
|
|
| 104 |
|
| 105 |
## Reading a window
|
| 106 |
|
| 107 |
+

|
| 108 |
+
|
| 109 |
+
**One window, `sim_00000016`**: a perturbed published human history, slices of the deCODE and
|
| 110 |
+
Roulette maps, and errors. **a**, Diploid genotypes of the 64 individuals at the 133 variant
|
| 111 |
+
sites between 15.00 and 15.10 Mb: 0 pale, 1 light blue, 2 dark blue, missing calls orange.
|
| 112 |
+
**b**, The recombination and mutation maps stored with the window, averaged in 300-kb bins.
|
| 113 |
+
**c**, The simulated history (grey) and its 64 interval labels (black), which are the
|
| 114 |
+
network's targets.
|
| 115 |
+
|
| 116 |
```python
|
| 117 |
from huggingface_hub import hf_hub_download
|
| 118 |
import sys
|
SHA256SUMS
CHANGED
|
@@ -2286,6 +2286,8 @@ babceb4ad3415ac8c1a5a6f3982aefd73d5f0a24146ae1e49ffc9f491f44fa86 features/regis
|
|
| 2286 |
b91dbfe2329d5357608e897338abb91e030df4f635dd79205afd68aad7029606 features/registry/sample_identities.jsonl
|
| 2287 |
443502d65cb009a6a910c8604abc8a094fdaa4b8a4635fc476313068c66e9bb5 features/registry/selected_indices.npy
|
| 2288 |
413a4f564393b8934f4a803b34740de95e00348a64e6f1fefd464639b3bb2edc features/registry/snapshot.json
|
|
|
|
|
|
|
| 2289 |
3fa748dbdc9de3f689191648b652295a368071216f6f6adced845b231c9d616d generator/EXCLUDED_THIRD_PARTY.tsv
|
| 2290 |
233bb6604c98d42750149c4cd441bb52b9405cf4365bf46dcb2e4451c9507c32 generator/code/.gitignore
|
| 2291 |
1e7a283f0a0d7492069063129a330e878c5f672cb7213731458954182f3b217d generator/code/LICENSE
|
|
|
|
| 2286 |
b91dbfe2329d5357608e897338abb91e030df4f635dd79205afd68aad7029606 features/registry/sample_identities.jsonl
|
| 2287 |
443502d65cb009a6a910c8604abc8a094fdaa4b8a4635fc476313068c66e9bb5 features/registry/selected_indices.npy
|
| 2288 |
413a4f564393b8934f4a803b34740de95e00348a64e6f1fefd464639b3bb2edc features/registry/snapshot.json
|
| 2289 |
+
edf3fa2df0c9637e371145b1a261682bfc7ef1ddd3def5322a8286660ae50aad figures/simulations_overview.png
|
| 2290 |
+
3c0220b60a34b326ba5e9d64214b94baad369a79feed588fbcf1fb4d15ebf98b figures/simulations_window.png
|
| 2291 |
3fa748dbdc9de3f689191648b652295a368071216f6f6adced845b231c9d616d generator/EXCLUDED_THIRD_PARTY.tsv
|
| 2292 |
233bb6604c98d42750149c4cd441bb52b9405cf4365bf46dcb2e4451c9507c32 generator/code/.gitignore
|
| 2293 |
1e7a283f0a0d7492069063129a330e878c5f672cb7213731458954182f3b217d generator/code/LICENSE
|
figures/simulations_overview.png
ADDED
|
Git LFS Details
|
figures/simulations_window.png
ADDED
|
Git LFS Details
|