1
- ********************
2
- [0.2.4] - 2022-06-xx
3
- ********************
1
+ # Changelog
2
+
3
+ ## [ 0.2.4 ] - 2022-06-xx
4
4
5
5
** Features**
6
6
7
7
- matching routines warn if no inference sites
8
- (:pr: `685 `, : issue: `683 ` : user: `hyanwong `)
8
+ ({pr} ` 685 ` , { issue} ` 683 ` { user} ` hyanwong ` )
9
9
10
10
** Fixes**
11
11
12
- - sample_data.subset() now accepts a sequence_length (:pr: `681 `, : user: `hyanwong `)
12
+ - sample_data.subset() now accepts a sequence_length ({pr} ` 681 ` , { user} ` hyanwong ` )
13
13
14
14
** Breaking changes** :
15
15
16
16
- Inference now sets time_units on both ancestor and final tree sequences to
17
17
tskit.TIME_UNITS_UNCALIBRATED, stopping accidental use of branch length
18
- calculations on the ts. (:pr: `680 `, : user: `hyanwong `)
18
+ calculations on the ts. ({pr} ` 680 ` , { user} ` hyanwong ` )
19
19
20
- ********************
21
- [0.2.3] - 2022-04-08
22
- ********************
20
+ ## [ 0.2.3] - 2022-04-08
23
21
24
22
** Features**
25
23
26
- - Added `` ancestor(id) `` to `` AncestorData ` ` class.
27
- (:pr: `570 `, : issue: `569 `, : user: `hyanwong `)
24
+ - Added ` ancestor(id) ` to ` AncestorData ` class.
25
+ ({pr} ` 570 ` , { issue} ` 569 ` , { user} ` hyanwong ` )
28
26
29
27
** Fixes**
30
28
31
- - Mark zarr 2.11.0, 2.11.1 and 2.11.2 as incompatible due to `` zarr-python ` `
29
+ - Mark zarr 2.11.0, 2.11.1 and 2.11.2 as incompatible due to ` zarr-python `
32
30
bugs #965 and #967 .
33
- (: issue: `643 `, :pr: `657 `, : user: `benjeffery `)
31
+ ({ issue} ` 643 ` , {pr} ` 657 ` , { user} ` benjeffery ` )
34
32
35
- ********************
36
- [0.2.2] - 2022-02-23
37
- ********************
33
+ ## [ 0.2.2] - 2022-02-23
38
34
39
35
** Bugfixes** :
40
36
41
37
- Mutations at non-inference sites are now guaranteed to be fully parsimonious.
42
38
Previous versions required a mutation above the root when the input ancestral state
43
39
disagreed with the ancestral state produced by the parsimony algorithm. Now fixed by
44
- using the new map_mutations code from tskit 0.3.7 (:pr: `557 `, : user: `hyanwong `)
40
+ using the new map_mutations code from tskit 0.3.7 ({pr} ` 557 ` , { user} ` hyanwong ` )
45
41
46
42
** New Features** :
47
43
48
44
** Breaking changes** :
49
45
50
46
- Oldest nodes in a standard inferred tree sequence are no longer set to frequencies ~ 2
51
47
and ~ 3 (i.e. 2 or 3 times as old as all the other nodes), but are spaced above the
52
- others by the mean time between unique ancestor ages (:pr: `485 `, : user: `hyanwong `)
48
+ others by the mean time between unique ancestor ages ({pr} ` 485 ` , { user} ` hyanwong ` )
53
49
54
- - The `` tsinfer.SampleData.from_tree_sequence() ` ` function now defaults to setting
55
- `` use_sites_time `` and `` use_individuals_time `` to `` False `` rather than `` True ` `
56
- (:pr: `599 `, : user: `hyanwong `)
50
+ - The ` tsinfer.SampleData.from_tree_sequence() ` function now defaults to setting
51
+ ` use_sites_time ` and ` use_individuals_time ` to ` False ` rather than ` True `
52
+ ({pr} ` 599 ` , { user} ` hyanwong ` )
57
53
58
- ********************
59
- [0.2.1] - 2021-05-26
60
- ********************
54
+ ## [ 0.2.1] - 2021-05-26
61
55
62
56
Bugfix release
63
57
64
58
** Bugfixes** :
65
59
66
60
- Fix a bug in the core LS matching algorithm in which the rate of recombination
67
- was being incorrectly computed (: issue: `493 `, :pr: `514 `, : user: `jeromekelleher `,
68
- : user: `hyanwong `).
61
+ was being incorrectly computed ({ issue} ` 493 ` , {pr} ` 514 ` , { user} ` jeromekelleher ` ,
62
+ { user} ` hyanwong ` ).
69
63
70
- - `` tsinfer.verify() ` ` no longer requires that non-ancestral alleles in a SampleData
71
- and Tree Sequence file are in the same order (: issue: `490 `, :pr: `492 `,
72
- : user: `hyanwong `).
64
+ - ` tsinfer.verify() ` no longer requires that non-ancestral alleles in a SampleData
65
+ and Tree Sequence file are in the same order ({ issue} ` 490 ` , {pr} ` 492 ` ,
66
+ { user} ` hyanwong ` ).
73
67
74
68
** New Features** :
75
69
76
70
- Inferred ancestral haplotypes may be truncated via
77
- `` AncestorData.truncate_ancestors() ` ` to improve performance when inferring large
78
- datasets (: issue: `276 `, :pr: `467 `, : user: `awohns `).
71
+ ` AncestorData.truncate_ancestors() ` to improve performance when inferring large
72
+ datasets ({ issue} ` 276 ` , {pr} ` 467 ` , { user} ` awohns ` ).
79
73
80
74
** Breaking changes** :
81
75
82
76
- tsinfer now requires Python 3.7
83
77
84
78
85
- ********************
86
- [0.2.0] - 2020-12-18
87
- ********************
79
+ ## [ 0.2.0] - 2020-12-18
88
80
89
81
Major feature release, including some incompatible file format and API updates.
90
82
@@ -101,17 +93,17 @@ Major feature release, including some incompatible file format and API updates.
101
93
can now we be specified in the SampleData format. These will be included
102
94
in the final tree sequence and allow for automatic decoding of JSON metadata.
103
95
104
- - Map non-inference sites onto the tree by using the tskit `` map_mutations ` `
96
+ - Map non-inference sites onto the tree by using the tskit ` map_mutations `
105
97
parsimony method. This allows us to support sites with > 2 alleles.
106
98
107
99
- Historical (non-contemporaneous) samples can now be accommodated in inference,
108
100
assuming that the true dates of ancestors have been set, by using the concept
109
101
of "proxy samples". This is done via the new function
110
- `` AncestorData.insert_proxy_samples() ` `, then setting the new
111
- parameter `` force_sample_times=True ` ` when matching samples.
102
+ ` AncestorData.insert_proxy_samples() ` , then setting the new
103
+ parameter ` force_sample_times=True ` when matching samples.
112
104
113
- - The default tree sequence returned after inference when `` simplify=True ` ` retains
114
- unary nodes (i.e. simplify is done with `` keep_unary=True ` `.
105
+ - The default tree sequence returned after inference when ` simplify=True ` retains
106
+ unary nodes (i.e. simplify is done with ` keep_unary=True ` .
115
107
116
108
117
109
** Breaking changes** :
@@ -120,18 +112,18 @@ Major feature release, including some incompatible file format and API updates.
120
112
0/1 values as before.
121
113
122
114
- Times for undated sites now use frequencies (0..1), not as counts (1..num_samples),
123
- and are now stored as `` tskit.UNKNOWN_TIME ` `, then calculated on the fly in the
115
+ and are now stored as ` tskit.UNKNOWN_TIME ` , then calculated on the fly in the
124
116
variants() iterator.
125
117
126
- - The SampleData file no longer accepts the `` inference ` ` argument to add_site.
127
- This functionality has been replaced by the `` exclude_positions ` ` argument
128
- to the `` infer `` and `` generate_ancestors ` ` functions.
118
+ - The SampleData file no longer accepts the ` inference ` argument to add_site.
119
+ This functionality has been replaced by the ` exclude_positions ` argument
120
+ to the ` infer ` and ` generate_ancestors ` functions.
129
121
130
122
- The SampleData format is now at version 5, and older versions cannot be read.
131
123
Users should rerun their data ingest pipelines.
132
124
133
- - Users can specify variant ages, via `` sample_data.add_sites(... , time=user_time) ` `.
134
- If not `` None ` `, this overrides the default time position of an ancestor, otherwise
125
+ - Users can specify variant ages, via ` sample_data.add_sites(... , time=user_time) ` .
126
+ If not ` None ` , this overrides the default time position of an ancestor, otherwise
135
127
ancestors are ordered in time by using the frequency of the derived variant (#143 ).
136
128
137
129
- Change "age" to "time" to match tskit/msprime notation, and to avoid confusion
@@ -140,37 +132,31 @@ Major feature release, including some incompatible file format and API updates.
140
132
141
133
- Add the ability to record user-specified times for individuals, and therefore
142
134
the samples contained in them (currently ignored during inference). Times are
143
- added using `` sample_data.add_individual(... , time=user_time) ` ` (#190).
135
+ added using ` sample_data.add_individual(... , time=user_time) ` (#190 ).
144
136
145
- - Change `` tsinfer.UNKNOWN_ALLELE `` to `` tskit.MISSING_DATA ` ` for marking unknown regions
137
+ - Change ` tsinfer.UNKNOWN_ALLELE ` to ` tskit.MISSING_DATA ` for marking unknown regions
146
138
of ancestral haplotypes (#188 ) . This also involves changing the allele storage to a
147
- signed int from `` np.uint8 ` ` which matches the tskit v0.2 format for allele storage
139
+ signed int from ` np.uint8 ` which matches the tskit v0.2 format for allele storage
148
140
(see https://github.com/tskit-dev/tskit/issues/144 ).
149
141
150
142
** Bugfixes** :
151
143
152
144
- Individuals and populations in the SampleData file are kept in the returned tree
153
145
sequence, even if they are not referenced by any sample. The individual and population
154
146
ids are therefore guaranteed to stay the same between the sample data file and the
155
- inferred tree sequence. (:pr: `348 `)
147
+ inferred tree sequence. ({pr} ` 348 ` )
156
148
157
- ********************
158
- [0.1.4] - 2018-12-12
159
- ********************
149
+ ## [ 0.1.4] - 2018-12-12
160
150
161
151
Bugfix release.
162
152
163
153
- Fix issue caused by upstream changes in numcodecs (#136 ).
164
154
165
- ********************
166
- [0.1.3] - 2018-11-02
167
- ********************
155
+ ## [ 0.1.3] - 2018-11-02
168
156
169
157
Release corresponding to code used in the preprint.
170
158
171
- ********************
172
- [0.1.2] - 2018-06-18
173
- ********************
159
+ ## [ 0.1.2] - 2018-06-18
174
160
175
161
Minor update to take advantage of msprime 0.6.0's Population and Individual
176
162
objects and fix various bugs.
@@ -182,7 +168,7 @@ objects and fix various bugs.
182
168
of individuals and populations. Older SampleData files will not be
183
169
readable and must be regenerated.
184
170
185
- - Changed the order of the `` alleles `` and `` genotypes ` ` arguments to
171
+ - Changed the order of the ` alleles ` and ` genotypes ` arguments to
186
172
SampleData.add_site.
187
173
188
174
** New features** :
0 commit comments