-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.py
42 lines (37 loc) · 2.18 KB
/
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
settings = {
### General Settings ###
'num_replicates': 100,
'posterior_predictive_checks': False,
'posterior_parameter_file': 'shrub_posterior',
# Multiprocessing settings
# If set to 0, all CPUs are used
'num_cpus': 8,
### ERCS Settings ###
'length': 200, # torus side length
'dimensions': 2,
'sample_locations': [ (69.6935679318, 102.336968639), (84.2747806699, 109.854393873), (90.7830934031, 110.733895594),
(67.0087732054, 112.678057292), (65.3330909796, 112.650283554), (58.6396199893, 114.372255344),
(53.0663564539, 114.844408899), (51.4554796181, 116.649701905), (37.3741941738, 109.123018758),
(26.3572778828, 105.65130144), (23.6632252436, 99.1985361834), (37.9667005962, 93.2086665697),
(46.5487858078, 89.9406233338), (191.0, 101.966652125), (191.0, 101.966652125),
(178.224080268, 95.3842760894), (175.807765014, 96.948863361), (171.308419369, 99.5133052203),
(170.040085309, 98.9300567108), (168.132955261, 98.5875139353), (164.087247346, 92.6254180602),
(167.920023266, 92.7457709272), (124.509669914, 100.457612331), (119.880713489, 92.2551015462),
(115.992390093, 91.0886045272), (103.707139741, 76.5814550919), (90.1905869808, 74.3502980951),
(80.3123939702, 76.6370025689), (50.1871455577, 80.9882216083), (164.13353691, 92.699481363),
(137.646648248, 85.9689787213), (14.9144976007, 114.585187339), (4.86040424604, 111.613397315),
(0.0, 112.678057292) ],
'recombination_probability': 0.5,
'num_parents': 1,
# If true, parameters for events are
# set based on population density.
'neighborhood_size': (20, 20),
'small_event': { 'rate': (1000.0, 1000.0), 'radius': (5.0, 5.0) },
### SeqGen Settings ###
'mutation_rates': [ 1.25e-8, 1.25e-8, 3.475e-8, 3.475e-8, 3.475e-8 ],
'seq_length': '2811',
'num_partitions': '5',
'partitions': ['1181', '959', '275', '163', '233'],
### Testing Settings ###
'debug': True
}