Skip to content

Commit af5dcc1

Browse files
committed
Merge branch 'multichrom' into multi_ts
2 parents 6146721 + 17f2123 commit af5dcc1

File tree

43 files changed

+245
-66
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+245
-66
lines changed

QtSLiM/recipes.qrc

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<qresource prefix="/">
33
<file>recipes/_README.txt</file>
44
<file>recipes/Recipe 4.1 - A basic neutral simulation.txt</file>
5+
<file>recipes/Recipe 4.1.10 - Using symbolic constants for model parameters.txt</file>
56
<file>recipes/Recipe 4.2.1 - Basic output, Entire population.txt</file>
67
<file>recipes/Recipe 4.2.2 - Basic output, Random population sample.txt</file>
78
<file>recipes/Recipe 4.2.3 - Basic output, Sampling individuals rather than haplosomes.txt</file>
@@ -29,21 +30,25 @@
2930
<file>recipes/Recipe 5.4 - The Gravel et al. (2011) model of human evolution II.txt</file>
3031
<file>recipes/Recipe 5.5 - Rescaling population sizes to improve simulation performance I.txt</file>
3132
<file>recipes/Recipe 5.5 - Rescaling population sizes to improve simulation performance II.txt</file>
32-
<file>recipes/Recipe 6.1.1 - Recombination, Crossing over (Making a random recombination map).txt</file>
33-
<file>recipes/Recipe 6.1.2 - Recombination, Crossing over (Reading a recombination map from a file).txt</file>
34-
<file>recipes/Recipe 6.1.3 - Recombination, Gene conversion.txt</file>
35-
<file>recipes/Recipe 6.1.4 - Recombination, Multiple chromosomes.txt</file>
36-
<file>recipes/Recipe 6.2.1 - Separate sexes, Enabling separate sexes.txt</file>
37-
<file>recipes/Recipe 6.2.2 - Separate sexes, Sex ratios I.txt</file>
38-
<file>recipes/Recipe 6.2.2 - Separate sexes, Sex ratios II.txt</file>
39-
<file>recipes/Recipe 6.2.3 - Separate sexes, Modeling sex-chromosome evolution.txt</file>
40-
<file>recipes/Recipe 6.3.1 - Selfing and cloning, Selfing in hermaphroditic populations.txt</file>
41-
<file>recipes/Recipe 6.3.2 - Selfing and cloning, Cloning I.txt</file>
42-
<file>recipes/Recipe 6.3.2 - Selfing and cloning, Cloning II.txt</file>
43-
<file>recipes/Recipe 7.1 - Genomic structure, Part I (Mutation types and fitness effects).txt</file>
44-
<file>recipes/Recipe 7.2 - Genomic structure, Part II (Genomic element types).txt</file>
45-
<file>recipes/Recipe 7.3 - Genomic structure, Part III (Chromosome organization).txt</file>
46-
<file>recipes/Recipe 7.4 - Genomic structure, Part IV (Custom display colors in SLiMgui).txt</file>
33+
<file>recipes/Recipe 6.1 - Genomic structure, Part I (Mutation types and fitness effects).txt</file>
34+
<file>recipes/Recipe 6.2 - Genomic structure, Part II (Genomic element types).txt</file>
35+
<file>recipes/Recipe 6.3 - Genomic structure, Part III (Chromosome organization).txt</file>
36+
<file>recipes/Recipe 6.4 - Genomic structure, Part IV (Custom display colors in SLiMgui).txt</file>
37+
<file>recipes/Recipe 8.1.1 - Reproduction, Enabling separate sexes.txt</file>
38+
<file>recipes/Recipe 8.1.2 - Reproduction, Sex ratios I.txt</file>
39+
<file>recipes/Recipe 8.1.2 - Reproduction, Sex ratios II.txt</file>
40+
<file>recipes/Recipe 8.1.3 - Reproduction, Selfing in hermaphroditic populations.txt</file>
41+
<file>recipes/Recipe 8.1.4 - Reproduction, Cloning I.txt</file>
42+
<file>recipes/Recipe 8.1.4 - Reproduction, Cloning II.txt</file>
43+
<file>recipes/Recipe 8.2.1 - Recombination, Making a random recombination map.txt</file>
44+
<file>recipes/Recipe 8.2.2 - Recombination, Reading a recombination map from a file.txt</file>
45+
<file>recipes/Recipe 8.2.3 - Recombination, Unlinked loci.txt</file>
46+
<file>recipes/Recipe 8.2.4 - Recombination, Gene conversion.txt</file>
47+
<file>recipes/Recipe 8.3.1 - Multiple diploid autosomes.txt</file>
48+
<file>recipes/Recipe 8.3.2 - Clonal haploids and chromosome types.txt</file>
49+
<file>recipes/Recipe 8.3.3 - Haploids with recombination.txt</file>
50+
<file>recipes/Recipe 8.3.4 - Sex-chromosome evolution and null haplosomes.txt</file>
51+
<file>recipes/Recipe 8.3.5 - Modeling the full human genome.txt</file>
4752
<file>recipes/Recipe 9.1 - Introducing adaptive mutations.txt</file>
4853
<file>recipes/Recipe 9.2 - Making sweeps conditional on fixation.txt</file>
4954
<file>recipes/Recipe 9.3 - Making sweeps conditional on establishment.txt</file>
@@ -203,6 +208,5 @@
203208
<file>recipes/Recipe 19.6 - A coevolutionary host-parasitoid trait-matching model.txt</file>
204209
<file>recipes/Recipe 19.7 - A coevolutionary host-parasite matching-allele model.txt</file>
205210
<file>recipes/Recipe 19.8 - Within-host reproduction in a host-pathogen model.txt</file>
206-
<file>recipes/Recipe 4.1.10 - Using symbolic constants for model parameters.txt</file>
207211
</qresource>
208212
</RCC>

QtSLiM/recipes/Recipe 7.1 - Genomic structure, Part I (Mutation types and fitness effects).txt renamed to QtSLiM/recipes/Recipe 6.1 - Genomic structure, Part I (Mutation types and fitness effects).txt

File renamed without changes.

QtSLiM/recipes/Recipe 6.1.4 - Recombination, Multiple chromosomes.txt

Lines changed: 0 additions & 15 deletions
This file was deleted.

QtSLiM/recipes/Recipe 7.2 - Genomic structure, Part II (Genomic element types).txt renamed to QtSLiM/recipes/Recipe 6.2 - Genomic structure, Part II (Genomic element types).txt

File renamed without changes.

QtSLiM/recipes/Recipe 7.3 - Genomic structure, Part III (Chromosome organization).txt renamed to QtSLiM/recipes/Recipe 6.3 - Genomic structure, Part III (Chromosome organization).txt

File renamed without changes.

QtSLiM/recipes/Recipe 7.4 - Genomic structure, Part IV (Custom display colors in SLiMgui).txt renamed to QtSLiM/recipes/Recipe 6.4 - Genomic structure, Part IV (Custom display colors in SLiMgui).txt

File renamed without changes.

QtSLiM/recipes/Recipe 6.2.3 - Separate sexes, Modeling sex-chromosome evolution.txt renamed to QtSLiM/recipes/Recipe 8.1.1 - Reproduction, Enabling separate sexes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Keywords: sexual
22

33
initialize() {
4+
initializeSex();
45
initializeMutationRate(1e-7);
56
initializeMutationType("m1", 0.5, "f", 0.0);
67
initializeGenomicElementType("g1", m1, 1.0);
78
initializeGenomicElement(g1, 0, 99999);
89
initializeRecombinationRate(1e-8);
9-
initializeSex("X");
1010
}
1111
1 early() { sim.addSubpop("p1", 500); }
1212
10000 early() { sim.simulationFinished(); }

SLiMgui/Recipes/Recipe 6.2.2 - Separate sexes, Sex ratios I.txt renamed to QtSLiM/recipes/Recipe 8.1.2 - Reproduction, Sex ratios I.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Keywords: sexual, sex ratio
22

33
initialize() {
4+
initializeSex();
45
initializeMutationRate(1e-7);
56
initializeMutationType("m1", 0.5, "f", 0.0);
67
initializeGenomicElementType("g1", m1, 1.0);
78
initializeGenomicElement(g1, 0, 99999);
89
initializeRecombinationRate(1e-8);
9-
initializeSex("A");
1010
}
1111
1 early() { sim.addSubpop("p1", 500, 0.6); }
1212
10000 early() { sim.simulationFinished(); }

SLiMgui/Recipes/Recipe 6.2.2 - Separate sexes, Sex ratios II.txt renamed to QtSLiM/recipes/Recipe 8.1.2 - Reproduction, Sex ratios II.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Keywords: sexual, sex ratio
22

33
initialize() {
4+
initializeSex();
45
initializeMutationRate(1e-7);
56
initializeMutationType("m1", 0.5, "f", 0.0);
67
initializeGenomicElementType("g1", m1, 1.0);
78
initializeGenomicElement(g1, 0, 99999);
89
initializeRecombinationRate(1e-8);
9-
initializeSex("A");
1010
}
1111
1 early() { sim.addSubpop("p1", 500); }
1212
1: early() { p1.setSexRatio(runif(1, 0.3, 0.7)); }

QtSLiM/recipes/Recipe 6.3.1 - Selfing and cloning, Selfing in hermaphroditic populations.txt renamed to QtSLiM/recipes/Recipe 8.1.3 - Reproduction, Selfing in hermaphroditic populations.txt

File renamed without changes.

0 commit comments

Comments
 (0)