@sjcrh/proteinpaint-types 2.100.0 → 2.100.1-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/dataset.ts +4 -5
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -208,14 +208,15 @@ type VariantFilter = {
|
|
|
208
208
|
|
|
209
209
|
/** one set of AC and AN info fields to retrieve data for this population */
|
|
210
210
|
type PopulationINFOset = {
|
|
211
|
-
/** optional
|
|
211
|
+
/** optional term id for retrieving admix coefficient for an ancestry corresponding to this "PopulationINFOset" entry
|
|
212
|
+
for every sample carrying a variant.
|
|
213
|
+
this is required when sets[].length>1
|
|
214
|
+
this should not be set when sets[].length=1 */
|
|
212
215
|
key?: string
|
|
213
216
|
/** required info field */
|
|
214
217
|
infokey_AC: string
|
|
215
218
|
/** required info field */
|
|
216
219
|
infokey_AN: string
|
|
217
|
-
/** Optional */
|
|
218
|
-
termfilter_value?: string
|
|
219
220
|
}
|
|
220
221
|
|
|
221
222
|
/* define method to retrieve allele AC/AN in a population, by using bcf INFO fields; population could be ancestry-stratified
|
|
@@ -237,8 +238,6 @@ type Population = {
|
|
|
237
238
|
allowto_adjust_race?: boolean
|
|
238
239
|
/** when above is true, this flag is flip switch for this adjustion */
|
|
239
240
|
adjust_race?: boolean
|
|
240
|
-
/** optional term id used for race adjusting, must correspond to a term in dataset db */
|
|
241
|
-
termfilter?: string
|
|
242
241
|
/** if AC/AN of the population is ancestry-stratified, will be multiple elements of this array; otherwise just one */
|
|
243
242
|
sets: PopulationINFOset[]
|
|
244
243
|
}
|