diff --git a/components/package-lock.json b/components/package-lock.json index a1460e0f..a11f7e54 100644 --- a/components/package-lock.json +++ b/components/package-lock.json @@ -21,6 +21,7 @@ "flatpickr": "^4.6.13", "gridjs": "^6.2.0", "lit": "^3.1.3", + "object-hash": "^3.0.0", "preact": "^10.20.1", "zod": "^3.23.0" }, @@ -40,6 +41,7 @@ "@storybook/web-components": "^8.0.9", "@storybook/web-components-vite": "^8.0.9", "@types/node": "^20.12.7", + "@types/object-hash": "^3.0.6", "@typescript-eslint/eslint-plugin": "^7.14.1", "@typescript-eslint/parser": "^7.14.1", "autoprefixer": "^10.4.19", @@ -6222,6 +6224,18 @@ "undici-types": "~5.26.4" } }, + "node_modules/@types/normalize-package-data": { + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz", + "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==", + "dev": true + }, + "node_modules/@types/object-hash": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@types/object-hash/-/object-hash-3.0.6.tgz", + "integrity": "sha512-fOBV8C1FIu2ELinoILQ+ApxcUKz4ngq+IWUYrxSGjXzzjUALijilampwkMgEtJ+h2njAW3pi853QpzNVCHB73w==", + "dev": true + }, "node_modules/@types/parse-json": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz", @@ -17335,7 +17349,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", - "dev": true, "engines": { "node": ">= 6" } diff --git a/components/package.json b/components/package.json index 4de5d7d5..500c7796 100644 --- a/components/package.json +++ b/components/package.json @@ -68,6 +68,7 @@ "flatpickr": "^4.6.13", "gridjs": "^6.2.0", "lit": "^3.1.3", + "object-hash": "^3.0.0", "preact": "^10.20.1", "zod": "^3.23.0" }, @@ -87,6 +88,7 @@ "@storybook/web-components": "^8.0.9", "@storybook/web-components-vite": "^8.0.9", "@types/node": "^20.12.7", + "@types/object-hash": "^3.0.6", "@typescript-eslint/eslint-plugin": "^7.14.1", "@typescript-eslint/parser": "^7.14.1", "autoprefixer": "^10.4.19", diff --git a/components/src/constants.ts b/components/src/constants.ts index b00fe78d..a44a7ead 100644 --- a/components/src/constants.ts +++ b/components/src/constants.ts @@ -1,4 +1,4 @@ -export const LAPIS_URL = 'https://lapis.cov-spectrum.org/open/v2/'; +export const LAPIS_URL = 'https://lapis.cov-spectrum.org/open/v2'; export const AGGREGATED_ENDPOINT = `${LAPIS_URL}/sample/aggregated`; export const NUCLEOTIDE_MUTATIONS_ENDPOINT = `${LAPIS_URL}/sample/nucleotideMutations`; diff --git a/components/src/operator/FillMissingOperator.spec.ts b/components/src/operator/FillMissingOperator.spec.ts index 5cf26020..1e5c0d63 100644 --- a/components/src/operator/FillMissingOperator.spec.ts +++ b/components/src/operator/FillMissingOperator.spec.ts @@ -10,7 +10,9 @@ describe('FillMissingOperator', () => { const query = new FillMissingOperator( child, 'id', - (ids) => [Math.min(...ids), Math.max(...ids)], + (ids) => { + return { min: Math.min(...ids), max: Math.max(...ids) }; + }, (min, max) => { const result = []; for (let i = min; i <= max; i++) { diff --git a/components/src/operator/FillMissingOperator.ts b/components/src/operator/FillMissingOperator.ts index 004fafc7..663f768d 100644 --- a/components/src/operator/FillMissingOperator.ts +++ b/components/src/operator/FillMissingOperator.ts @@ -5,7 +5,9 @@ export class FillMissingOperator implements constructor( private child: Operator, private keyField: KeyToFill, - private getMinMaxFn: (values: Iterable) => [Data[KeyToFill], Data[KeyToFill]] | null, + private getMinMaxFn: ( + values: Iterable, + ) => { min: Data[KeyToFill]; max: Data[KeyToFill] } | null, private getAllRequiredKeysFn: (min: Data[KeyToFill], max: Data[KeyToFill]) => Data[KeyToFill][], private defaultValueFn: (key: Data[KeyToFill]) => Data, ) {} @@ -17,7 +19,7 @@ export class FillMissingOperator implements if (minMax === null) { return childEvaluated; } - const [min, max] = minMax; + const { min, max } = minMax; const requiredKeys = this.getAllRequiredKeysFn(min, max); const content = childEvaluated.content; for (const key of requiredKeys) { diff --git a/components/src/preact/mutationComparison/queryMutationData.ts b/components/src/preact/mutationComparison/queryMutationData.ts index 165bdaf9..e02155cc 100644 --- a/components/src/preact/mutationComparison/queryMutationData.ts +++ b/components/src/preact/mutationComparison/queryMutationData.ts @@ -28,6 +28,17 @@ export function filterMutationData( data: MutationData[], displayedSegments: DisplayedSegment[], displayedMutationTypes: DisplayedMutationType[], +) { + return data.map((mutationEntry) => ({ + displayName: mutationEntry.displayName, + data: filterBySegmentAndMutationType(mutationEntry.data, displayedSegments, displayedMutationTypes), + })); +} + +export function filterBySegmentAndMutationType( + data: SubstitutionOrDeletionEntry[], + displayedSegments: DisplayedSegment[], + displayedMutationTypes: DisplayedMutationType[], ) { const byDisplayedSegments = (mutationEntry: SubstitutionOrDeletionEntry) => { if (mutationEntry.mutation.segment === undefined) { @@ -45,8 +56,5 @@ export function filterMutationData( ); }; - return data.map((mutationEntry) => ({ - displayName: mutationEntry.displayName, - data: mutationEntry.data.filter(byDisplayedSegments).filter(byDisplayedMutationTypes), - })); + return data.filter(byDisplayedSegments).filter(byDisplayedMutationTypes); } diff --git a/components/src/preact/mutationOverTime/__mockData__/aggregated_date.json b/components/src/preact/mutationOverTime/__mockData__/aggregated_date.json new file mode 100644 index 00000000..0cd6f4a2 --- /dev/null +++ b/components/src/preact/mutationOverTime/__mockData__/aggregated_date.json @@ -0,0 +1,642 @@ +{ + "data": [ + { + "count": 122, + "date": "2024-05-13" + }, + { + "count": 48, + "date": "2024-05-12" + }, + { + "count": 1008, + "date": "2024-01-23" + }, + { + "count": 169, + "date": "2024-04-03" + }, + { + "count": 103, + "date": "2024-05-14" + }, + { + "count": 427, + "date": "2024-03-04" + }, + { + "count": 94, + "date": "2024-05-07" + }, + { + "count": 45, + "date": "2024-05-05" + }, + { + "count": 106, + "date": "2024-04-24" + }, + { + "count": 42, + "date": "2024-05-04" + }, + { + "count": 65, + "date": "2024-05-03" + }, + { + "count": 589, + "date": "2024-02-21" + }, + { + "count": 89, + "date": "2024-05-02" + }, + { + "count": 55, + "date": "2024-03-30" + }, + { + "count": 98, + "date": "2024-05-01" + }, + { + "count": 48, + "date": "2024-05-18" + }, + { + "count": 658, + "date": "2024-02-02" + }, + { + "count": 122, + "date": "2024-04-29" + }, + { + "count": 42, + "date": "2024-04-28" + }, + { + "count": 167, + "date": "2024-04-02" + }, + { + "count": 53, + "date": "2024-04-27" + }, + { + "count": 42, + "date": "2024-04-21" + }, + { + "count": 52, + "date": "2024-04-20" + }, + { + "count": 99, + "date": "2024-05-15" + }, + { + "count": 109, + "date": "2024-04-18" + }, + { + "count": 115, + "date": "2024-04-17" + }, + { + "count": 87, + "date": "2024-04-12" + }, + { + "count": 131, + "date": "2024-04-15" + }, + { + "count": 51, + "date": "2024-06-01" + }, + { + "count": 103, + "date": "2024-04-11" + }, + { + "count": 105, + "date": "2024-04-30" + }, + { + "count": 132, + "date": "2024-03-28" + }, + { + "count": 97, + "date": "2024-05-08" + }, + { + "count": 203, + "date": "2024-02-24" + }, + { + "count": 560, + "date": "2024-01-19" + }, + { + "count": 99, + "date": "2024-05-28" + }, + { + "count": 131, + "date": "2024-04-10" + }, + { + "count": 399, + "date": "2024-02-04" + }, + { + "count": 539, + "date": "2024-02-15" + }, + { + "count": 104, + "date": "2024-04-05" + }, + { + "count": 924, + "date": "2024-01-16" + }, + { + "count": 7, + "date": "2024-06-20" + }, + { + "count": 364, + "date": "2024-03-05" + }, + { + "count": 52, + "date": "2024-04-13" + }, + { + "count": 447, + "date": "2024-02-23" + }, + { + "count": 925, + "date": "2024-01-30" + }, + { + "count": 179, + "date": "2024-03-02" + }, + { + "count": 59, + "date": "2024-05-11" + }, + { + "count": 315, + "date": "2024-02-29" + }, + { + "count": 552, + "date": "2024-02-26" + }, + { + "count": 29, + "date": "2024-06-16" + }, + { + "count": 481, + "date": "2024-02-28" + }, + { + "count": 973, + "date": "2024-02-06" + }, + { + "count": 818, + "date": "2024-02-07" + }, + { + "count": 156, + "date": "2024-03-10" + }, + { + "count": 171, + "date": "2024-03-09" + }, + { + "count": 101, + "date": "2024-06-05" + }, + { + "count": 160, + "date": "2024-03-15" + }, + { + "count": 284, + "date": "2024-02-18" + }, + { + "count": 137, + "date": "2024-05-20" + }, + { + "count": 62, + "date": "2024-06-11" + }, + { + "count": 155, + "date": "2024-03-22" + }, + { + "count": 47, + "date": "2024-06-12" + }, + { + "count": 26, + "date": "2024-06-17" + }, + { + "count": 72, + "date": "2024-05-29" + }, + { + "count": 266, + "date": "2024-03-01" + }, + { + "count": 74, + "date": "2024-06-06" + }, + { + "count": 15, + "date": "2024-06-15" + }, + { + "count": 514, + "date": "2024-01-21" + }, + { + "count": 325, + "date": "2024-03-07" + }, + { + "count": 30, + "date": "2024-06-18" + }, + { + "count": 431, + "date": "2024-01-20" + }, + { + "count": 829, + "date": "2024-02-12" + }, + { + "count": 26, + "date": "2024-06-19" + }, + { + "count": 121, + "date": "2024-05-30" + }, + { + "count": 38, + "date": "2024-06-08" + }, + { + "count": 106, + "date": "2024-06-03" + }, + { + "count": 175, + "date": "2024-03-20" + }, + { + "count": 89, + "date": "2024-04-23" + }, + { + "count": 115, + "date": "2024-05-16" + }, + { + "count": 45, + "date": "2024-05-26" + }, + { + "count": 97, + "date": "2024-05-31" + }, + { + "count": 163, + "date": "2024-03-26" + }, + { + "count": 280, + "date": "2024-02-17" + }, + { + "count": 61, + "date": "2024-06-07" + }, + { + "count": 34, + "date": "2024-05-25" + }, + { + "count": 537, + "date": "2024-02-19" + }, + { + "count": 48, + "date": "2024-06-13" + }, + { + "count": 120, + "date": "2024-05-21" + }, + { + "count": 201, + "date": "2024-03-14" + }, + { + "count": 32, + "date": "2024-06-14" + }, + { + "count": 55, + "date": "2024-05-27" + }, + { + "count": 101, + "date": "2024-06-10" + }, + { + "count": 67, + "date": "2024-05-24" + }, + { + "count": 88, + "date": "2024-05-23" + }, + { + "count": 101, + "date": "2024-05-22" + }, + { + "count": 90, + "date": "2024-06-04" + }, + { + "count": 795, + "date": "2024-01-18" + }, + { + "count": 89, + "date": "2024-03-17" + }, + { + "count": 313, + "date": "2024-02-11" + }, + { + "count": 272, + "date": "2024-03-08" + }, + { + "count": 538, + "date": "2024-02-20" + }, + { + "count": 622, + "date": "2024-01-26" + }, + { + "count": 41, + "date": "2024-06-02" + }, + { + "count": 631, + "date": "2024-02-14" + }, + { + "count": 420, + "date": "2024-02-03" + }, + { + "count": 1047, + "date": "2024-01-29" + }, + { + "count": 95, + "date": "2024-04-16" + }, + { + "count": 556, + "date": "2024-02-13" + }, + { + "count": 620, + "date": "2024-02-09" + }, + { + "count": 99, + "date": "2024-04-25" + }, + { + "count": 393, + "date": "2024-01-28" + }, + { + "count": 173, + "date": "2024-03-21" + }, + { + "count": 420, + "date": "2024-01-27" + }, + { + "count": 819, + "date": "2024-01-25" + }, + { + "count": 62, + "date": "2024-05-17" + }, + { + "count": 890, + "date": "2024-01-31" + }, + { + "count": 247, + "date": "2024-02-25" + }, + { + "count": 259, + "date": "2024-03-13" + }, + { + "count": 865, + "date": "2024-01-24" + }, + { + "count": 69, + "date": "2024-05-10" + }, + { + "count": 215, + "date": "2024-03-12" + }, + { + "count": 888, + "date": "2024-01-15" + }, + { + "count": 583, + "date": "2024-02-22" + }, + { + "count": 942, + "date": "2024-02-05" + }, + { + "count": 1095, + "date": "2024-01-22" + }, + { + "count": 82, + "date": "2024-04-26" + }, + { + "count": 795, + "date": "2024-02-01" + }, + { + "count": 39, + "date": "2024-05-19" + }, + { + "count": 375, + "date": "2024-02-10" + }, + { + "count": 86, + "date": "2024-03-16" + }, + { + "count": 209, + "date": "2024-03-18" + }, + { + "count": 955, + "date": "2024-01-17" + }, + { + "count": 150, + "date": "2024-03-19" + }, + { + "count": 90, + "date": "2024-03-23" + }, + { + "count": 78, + "date": "2024-03-24" + }, + { + "count": 189, + "date": "2024-03-25" + }, + { + "count": 79, + "date": "2024-04-19" + }, + { + "count": 152, + "date": "2024-03-03" + }, + { + "count": 184, + "date": "2024-03-27" + }, + { + "count": 517, + "date": "2024-02-27" + }, + { + "count": 694, + "date": "2024-02-08" + }, + { + "count": 108, + "date": "2024-04-22" + }, + { + "count": 94, + "date": "2024-03-29" + }, + { + "count": 399, + "date": "2024-03-06" + }, + { + "count": 47, + "date": "2024-06-09" + }, + { + "count": 63, + "date": "2024-03-31" + }, + { + "count": 51, + "date": "2024-04-14" + }, + { + "count": 440, + "date": "2024-02-16" + }, + { + "count": 162, + "date": "2024-04-01" + }, + { + "count": 132, + "date": "2024-04-09" + }, + { + "count": 148, + "date": "2024-04-04" + }, + { + "count": 96, + "date": "2024-05-09" + }, + { + "count": 108, + "date": "2024-05-06" + }, + { + "count": 83, + "date": "2024-04-06" + }, + { + "count": 72, + "date": "2024-04-07" + }, + { + "count": 271, + "date": "2024-03-11" + }, + { + "count": 152, + "date": "2024-04-08" + } + ], + "info": { + "dataVersion": "1720033519", + "requestId": "55588610-c570-444b-b8ee-f86f3cab90e4", + "requestInfo": "sars_cov-2_nextstrain_open on lapis.cov-spectrum.org at 2024-07-17T15:34:30.664528725", + "reportTo": "Please report to https://github.com/GenSpectrum/LAPIS/issues in case you encounter any unexpected issues. Please include the request ID and the requestInfo in your report." + } +} diff --git a/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_01.json b/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_01.json new file mode 100644 index 00000000..4a5e2fbc --- /dev/null +++ b/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_01.json @@ -0,0 +1,1747 @@ +{ + "data": [ + { + "mutation": "C21T", + "count": 1856, + "proportion": 0.927536231884058, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21 + }, + { + "mutation": "C44T", + "count": 2330, + "proportion": 0.5814824057898678, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 44 + }, + { + "mutation": "C241T", + "count": 23447, + "proportion": 0.9991903179067587, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 241 + }, + { + "mutation": "T670G", + "count": 24266, + "proportion": 0.9941007783695207, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 670 + }, + { + "mutation": "C774T", + "count": 6257, + "proportion": 0.25756390729839873, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 774 + }, + { + "mutation": "C897A", + "count": 24251, + "proportion": 0.9923479826499714, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 897 + }, + { + "mutation": "C1762A", + "count": 1647, + "proportion": 0.06653470146238992, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 1762 + }, + { + "mutation": "C2790T", + "count": 22917, + "proportion": 0.9999563661750589, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 2790 + }, + { + "mutation": "C3037T", + "count": 24867, + "proportion": 0.9999597876789448, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 3037 + }, + { + "mutation": "G3431T", + "count": 22362, + "proportion": 0.9984818717628148, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 3431 + }, + { + "mutation": "T3565C", + "count": 24401, + "proportion": 0.9968135953266065, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 3565 + }, + { + "mutation": "G4184A", + "count": 24866, + "proportion": 0.999959786061849, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 4184 + }, + { + "mutation": "C4321T", + "count": 24518, + "proportion": 0.9912270062664241, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 4321 + }, + { + "mutation": "A6183G", + "count": 24488, + "proportion": 0.9932668126875963, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 6183 + }, + { + "mutation": "A7842G", + "count": 24819, + "proportion": 0.9985515992757996, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 7842 + }, + { + "mutation": "C8293T", + "count": 24785, + "proportion": 0.9991131535453702, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 8293 + }, + { + "mutation": "G8393A", + "count": 24848, + "proportion": 0.9991154000804182, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 8393 + }, + { + "mutation": "C9344T", + "count": 24858, + "proportion": 0.9999597731203991, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 9344 + }, + { + "mutation": "A9424G", + "count": 24515, + "proportion": 0.9988998451633934, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 9424 + }, + { + "mutation": "C9534T", + "count": 24635, + "proportion": 0.9996347995455284, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 9534 + }, + { + "mutation": "C10029T", + "count": 24344, + "proportion": 0.9999589238036558, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 10029 + }, + { + "mutation": "C10198T", + "count": 24323, + "proportion": 0.999547957590203, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 10198 + }, + { + "mutation": "G10447A", + "count": 24891, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 10447 + }, + { + "mutation": "C10449A", + "count": 24891, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 10449 + }, + { + "mutation": "G11042T", + "count": 24876, + "proportion": 0.9989960242560539, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 11042 + }, + { + "mutation": "T11288-", + "count": 23148, + "proportion": 0.9994387116273045, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11288 + }, + { + "mutation": "C11289-", + "count": 23040, + "proportion": 0.9994794377928162, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 11289 + }, + { + "mutation": "T11290-", + "count": 22880, + "proportion": 0.9990830094755687, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11290 + }, + { + "mutation": "G11291-", + "count": 22852, + "proportion": 0.9989508655359328, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 11291 + }, + { + "mutation": "G11292-", + "count": 22832, + "proportion": 0.9987751531058617, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 11292 + }, + { + "mutation": "T11293-", + "count": 22823, + "proportion": 0.9987746706927487, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11293 + }, + { + "mutation": "T11294-", + "count": 22577, + "proportion": 0.9985404688191066, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11294 + }, + { + "mutation": "T11295-", + "count": 22537, + "proportion": 0.9983167220376523, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11295 + }, + { + "mutation": "T11296-", + "count": 22504, + "proportion": 0.9984914366847103, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11296 + }, + { + "mutation": "G11727A", + "count": 23148, + "proportion": 0.9989211582445087, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 11727 + }, + { + "mutation": "C11747T", + "count": 1501, + "proportion": 0.06460081773187003, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 11747 + }, + { + "mutation": "C12789T", + "count": 24871, + "proportion": 0.9985145334832183, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 12789 + }, + { + "mutation": "C12815T", + "count": 24866, + "proportion": 0.9995176461130316, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 12815 + }, + { + "mutation": "C12880T", + "count": 24858, + "proportion": 0.9998391118976752, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 12880 + }, + { + "mutation": "T13339C", + "count": 24363, + "proportion": 0.9966863033873343, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 13339 + }, + { + "mutation": "C14408T", + "count": 24923, + "proportion": 0.9998395314317808, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 14408 + }, + { + "mutation": "C15714T", + "count": 24917, + "proportion": 0.9999197399574622, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 15714 + }, + { + "mutation": "T15756A", + "count": 24715, + "proportion": 0.9997572913717082, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 15756 + }, + { + "mutation": "C17410T", + "count": 24755, + "proportion": 0.9995558426875555, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 17410 + }, + { + "mutation": "G17562T", + "count": 1611, + "proportion": 0.06467541852342527, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 17562 + }, + { + "mutation": "A18163G", + "count": 24526, + "proportion": 0.9998369343660823, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 18163 + }, + { + "mutation": "T18453C", + "count": 5129, + "proportion": 0.20766863713661024, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 18453 + }, + { + "mutation": "A18492G", + "count": 24873, + "proportion": 0.999397299903568, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 18492 + }, + { + "mutation": "C18894T", + "count": 23865, + "proportion": 0.9995811518324608, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 18894 + }, + { + "mutation": "C19955T", + "count": 23383, + "proportion": 0.9999572357167293, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 19955 + }, + { + "mutation": "A20055G", + "count": 23891, + "proportion": 0.9989964457453481, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 20055 + }, + { + "mutation": "C21618T", + "count": 21311, + "proportion": 0.9989219086903535, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21618 + }, + { + "mutation": "C21622T", + "count": 21026, + "proportion": 0.986719226617861, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21622 + }, + { + "mutation": "G21624C", + "count": 21006, + "proportion": 0.9865677249671237, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 21624 + }, + { + "mutation": "T21633-", + "count": 20144, + "proportion": 0.9898771498771499, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21633 + }, + { + "mutation": "A21634-", + "count": 20145, + "proportion": 0.9973759778195861, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21634 + }, + { + "mutation": "C21635-", + "count": 20169, + "proportion": 0.9987125526120327, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21635 + }, + { + "mutation": "C21636-", + "count": 20169, + "proportion": 0.9986631016042781, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21636 + }, + { + "mutation": "C21637-", + "count": 20169, + "proportion": 0.9986136554933901, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21637 + }, + { + "mutation": "C21638-", + "count": 20168, + "proportion": 0.9984652705579484, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21638 + }, + { + "mutation": "C21639-", + "count": 20168, + "proportion": 0.998267584022175, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21639 + }, + { + "mutation": "T21640-", + "count": 20166, + "proportion": 0.9940845903578823, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21640 + }, + { + "mutation": "G21641-", + "count": 19949, + "proportion": 0.9233083402758493, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 21641 + }, + { + "mutation": "G21641T", + "count": 1622, + "proportion": 0.07507173933166712, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 21641 + }, + { + "mutation": "C21711T", + "count": 23397, + "proportion": 0.998122946973252, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21711 + }, + { + "mutation": "T21765-", + "count": 20633, + "proportion": 0.9930692592770852, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21765 + }, + { + "mutation": "A21766-", + "count": 20633, + "proportion": 0.9967632850241546, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21766 + }, + { + "mutation": "C21767-", + "count": 20800, + "proportion": 0.9976019184652278, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21767 + }, + { + "mutation": "A21768-", + "count": 20545, + "proportion": 0.9854189649383663, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21768 + }, + { + "mutation": "T21769-", + "count": 20545, + "proportion": 0.9955419876920095, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21769 + }, + { + "mutation": "G21770-", + "count": 20358, + "proportion": 0.9973544973544973, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 21770 + }, + { + "mutation": "G21941T", + "count": 24724, + "proportion": 0.9997573797007683, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 21941 + }, + { + "mutation": "G21987A", + "count": 24738, + "proportion": 0.9970175721425117, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 21987 + }, + { + "mutation": "T21992-", + "count": 23094, + "proportion": 0.9955597706599991, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21992 + }, + { + "mutation": "A21993-", + "count": 23106, + "proportion": 0.9960341408742133, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21993 + }, + { + "mutation": "T21994-", + "count": 23103, + "proportion": 0.9293615994207329, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21994 + }, + { + "mutation": "T22032C", + "count": 24761, + "proportion": 0.9987898834254366, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22032 + }, + { + "mutation": "C22033A", + "count": 24743, + "proportion": 0.9995152494445566, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22033 + }, + { + "mutation": "A22034G", + "count": 24744, + "proportion": 0.9995960248848671, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22034 + }, + { + "mutation": "A22194-", + "count": 24002, + "proportion": 0.9972163363662803, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 22194 + }, + { + "mutation": "T22195-", + "count": 24002, + "proportion": 0.9946953999171156, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 22195 + }, + { + "mutation": "T22196-", + "count": 24072, + "proportion": 0.9974723407781876, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 22196 + }, + { + "mutation": "T22200G", + "count": 24582, + "proportion": 0.999065230644178, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22200 + }, + { + "mutation": "C22208T", + "count": 24616, + "proportion": 0.9995939251197921, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22208 + }, + { + "mutation": "C22295A", + "count": 24300, + "proportion": 0.9991776315789473, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22295 + }, + { + "mutation": "C22353A", + "count": 24246, + "proportion": 0.9914131501472031, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22353 + }, + { + "mutation": "A22556G", + "count": 24144, + "proportion": 0.9905637154344794, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22556 + }, + { + "mutation": "G22577C", + "count": 24279, + "proportion": 0.9979448394919643, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 22577 + }, + { + "mutation": "G22578A", + "count": 24322, + "proportion": 0.9994657900143826, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22578 + }, + { + "mutation": "A22629C", + "count": 24016, + "proportion": 0.9989185591880875, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 22629 + }, + { + "mutation": "C22674T", + "count": 24291, + "proportion": 0.9996707683443763, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22674 + }, + { + "mutation": "T22679C", + "count": 24561, + "proportion": 0.9996743864219138, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22679 + }, + { + "mutation": "C22686T", + "count": 24527, + "proportion": 0.9991445331595242, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22686 + }, + { + "mutation": "A22688G", + "count": 24485, + "proportion": 0.9985725938009788, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22688 + }, + { + "mutation": "G22770A", + "count": 20255, + "proportion": 0.9937690118732214, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22770 + }, + { + "mutation": "G22775A", + "count": 24622, + "proportion": 0.9991883775667559, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22775 + }, + { + "mutation": "A22786C", + "count": 24539, + "proportion": 0.9972770868893766, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 22786 + }, + { + "mutation": "G22813T", + "count": 23911, + "proportion": 0.9919518772038997, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 22813 + }, + { + "mutation": "T22882G", + "count": 24197, + "proportion": 0.9997107916046934, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22882 + }, + { + "mutation": "G22895C", + "count": 24174, + "proportion": 0.9988018014295749, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 22895 + }, + { + "mutation": "T22896A", + "count": 24151, + "proportion": 0.998718054751468, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 22896 + }, + { + "mutation": "G22898A", + "count": 24185, + "proportion": 0.9998759715561435, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22898 + }, + { + "mutation": "A22910G", + "count": 24199, + "proportion": 0.9997108155002892, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22910 + }, + { + "mutation": "C22916T", + "count": 24157, + "proportion": 0.9994621431526686, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22916 + }, + { + "mutation": "T22917G", + "count": 24179, + "proportion": 0.9996279146684306, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22917 + }, + { + "mutation": "T22926C", + "count": 24152, + "proportion": 0.9983878301847795, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22926 + }, + { + "mutation": "T22942A", + "count": 24219, + "proportion": 0.9991336633663367, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 22942 + }, + { + "mutation": "G22992A", + "count": 24470, + "proportion": 0.9992241414512638, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22992 + }, + { + "mutation": "C22995A", + "count": 24440, + "proportion": 0.9984883768435674, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22995 + }, + { + "mutation": "T23005A", + "count": 24340, + "proportion": 0.9972957469474719, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 23005 + }, + { + "mutation": "G23009-", + "count": 21471, + "proportion": 0.991503117063034, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 23009 + }, + { + "mutation": "T23010-", + "count": 21464, + "proportion": 0.9917752518251548, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 23010 + }, + { + "mutation": "T23011-", + "count": 21462, + "proportion": 0.8804200680969767, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 23011 + }, + { + "mutation": "G23012A", + "count": 24115, + "proportion": 0.9890087355944716, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 23012 + }, + { + "mutation": "T23018C", + "count": 24386, + "proportion": 0.9986485933084893, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 23018 + }, + { + "mutation": "T23019C", + "count": 24384, + "proportion": 0.9986075845687608, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 23019 + }, + { + "mutation": "A23055G", + "count": 24433, + "proportion": 0.9994273325970466, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 23055 + }, + { + "mutation": "A23063T", + "count": 24433, + "proportion": 0.9993047034764826, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 23063 + }, + { + "mutation": "T23075C", + "count": 24360, + "proportion": 0.9968898346701588, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 23075 + }, + { + "mutation": "G23222A", + "count": 24894, + "proportion": 0.9998795035546452, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 23222 + }, + { + "mutation": "C23271T", + "count": 24909, + "proportion": 0.9997591812161348, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23271 + }, + { + "mutation": "C23277T", + "count": 1648, + "proportion": 0.06618208104092205, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23277 + }, + { + "mutation": "A23403G", + "count": 24919, + "proportion": 0.9999598715890851, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 23403 + }, + { + "mutation": "C23423T", + "count": 24908, + "proportion": 0.9998795712737345, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23423 + }, + { + "mutation": "C23525T", + "count": 23371, + "proportion": 0.9997861054072553, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23525 + }, + { + "mutation": "T23599G", + "count": 24507, + "proportion": 0.994642639717521, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 23599 + }, + { + "mutation": "C23604G", + "count": 24512, + "proportion": 0.9945630122535097, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "G", + "position": 23604 + }, + { + "mutation": "C23854A", + "count": 24365, + "proportion": 0.9995077326988555, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 23854 + }, + { + "mutation": "G23948T", + "count": 24189, + "proportion": 0.9995867597834621, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 23948 + }, + { + "mutation": "C24378T", + "count": 23640, + "proportion": 0.9924016623987238, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 24378 + }, + { + "mutation": "A24424T", + "count": 23829, + "proportion": 0.9985333556821991, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 24424 + }, + { + "mutation": "T24469A", + "count": 24431, + "proportion": 0.9998772202668413, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 24469 + }, + { + "mutation": "C24990T", + "count": 24402, + "proportion": 0.9987721021611002, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 24990 + }, + { + "mutation": "C25000T", + "count": 24449, + "proportion": 0.9990601503759399, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25000 + }, + { + "mutation": "C25207T", + "count": 23700, + "proportion": 0.9975167305021255, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25207 + }, + { + "mutation": "C25584T", + "count": 24894, + "proportion": 0.9996787406634006, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25584 + }, + { + "mutation": "C26060T", + "count": 24539, + "proportion": 0.9982101452223081, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26060 + }, + { + "mutation": "C26270T", + "count": 24590, + "proportion": 0.9997560578955927, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26270 + }, + { + "mutation": "G26529C", + "count": 24825, + "proportion": 0.9994766084225783, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 26529 + }, + { + "mutation": "C26577G", + "count": 24692, + "proportion": 0.9979388109768419, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "G", + "position": 26577 + }, + { + "mutation": "A26610G", + "count": 21943, + "proportion": 0.99641267823086, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 26610 + }, + { + "mutation": "C26681T", + "count": 24618, + "proportion": 0.9992693619094009, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26681 + }, + { + "mutation": "G26709A", + "count": 24701, + "proportion": 0.9993122420907841, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 26709 + }, + { + "mutation": "C26833T", + "count": 24820, + "proportion": 0.9994765030403092, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26833 + }, + { + "mutation": "C26858T", + "count": 24801, + "proportion": 0.9994358251057828, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26858 + }, + { + "mutation": "A27259C", + "count": 24903, + "proportion": 0.9997591232084788, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 27259 + }, + { + "mutation": "G27382C", + "count": 24824, + "proportion": 0.9991547595089555, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 27382 + }, + { + "mutation": "A27383T", + "count": 24819, + "proportion": 0.9991948146060631, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 27383 + }, + { + "mutation": "T27384C", + "count": 24796, + "proportion": 0.9981482972385476, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 27384 + }, + { + "mutation": "C27807T", + "count": 24851, + "proportion": 0.9998390665861999, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 27807 + }, + { + "mutation": "T27810C", + "count": 24834, + "proportion": 0.9990345160511707, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 27810 + }, + { + "mutation": "A28271T", + "count": 24668, + "proportion": 0.9997973493292263, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 28271 + }, + { + "mutation": "C28311T", + "count": 24651, + "proportion": 0.9995539696699376, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 28311 + }, + { + "mutation": "G28362-", + "count": 22219, + "proportion": 0.9960103998565537, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 28362 + }, + { + "mutation": "A28363-", + "count": 22213, + "proportion": 0.9969928186714542, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28363 + }, + { + "mutation": "G28364-", + "count": 22212, + "proportion": 0.996992683693164, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 28364 + }, + { + "mutation": "A28365-", + "count": 22210, + "proportion": 0.997708997798841, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28365 + }, + { + "mutation": "A28366-", + "count": 22210, + "proportion": 0.997708997798841, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28366 + }, + { + "mutation": "C28367-", + "count": 22210, + "proportion": 0.997708997798841, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 28367 + }, + { + "mutation": "G28368-", + "count": 22210, + "proportion": 0.997708997798841, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 28368 + }, + { + "mutation": "C28369-", + "count": 22210, + "proportion": 0.997708997798841, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 28369 + }, + { + "mutation": "A28370-", + "count": 22117, + "proportion": 0.9974294218454045, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28370 + }, + { + "mutation": "G28881A", + "count": 24848, + "proportion": 0.9994770926350509, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 28881 + }, + { + "mutation": "G28882A", + "count": 24826, + "proportion": 0.9985921724789831, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 28882 + }, + { + "mutation": "G28883C", + "count": 24848, + "proportion": 0.999396693882476, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 28883 + }, + { + "mutation": "C28958A", + "count": 24797, + "proportion": 0.9989123428939736, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 28958 + }, + { + "mutation": "A29510C", + "count": 24836, + "proportion": 0.9997182304874612, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 29510 + }, + { + "mutation": "G29734-", + "count": 18703, + "proportion": 0.984472049689441, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29734 + }, + { + "mutation": "A29735-", + "count": 18694, + "proportion": 0.9853468269028042, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29735 + }, + { + "mutation": "G29736-", + "count": 18693, + "proportion": 0.9872715749445442, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29736 + }, + { + "mutation": "G29737-", + "count": 18693, + "proportion": 0.9872715749445442, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29737 + }, + { + "mutation": "C29738-", + "count": 18693, + "proportion": 0.9873237204880367, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29738 + }, + { + "mutation": "C29739-", + "count": 18693, + "proportion": 0.9873237204880367, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29739 + }, + { + "mutation": "A29740-", + "count": 18693, + "proportion": 0.9873237204880367, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29740 + }, + { + "mutation": "C29741-", + "count": 18693, + "proportion": 0.9873237204880367, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29741 + }, + { + "mutation": "G29742-", + "count": 18693, + "proportion": 0.9873237204880367, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29742 + }, + { + "mutation": "C29743-", + "count": 18692, + "proportion": 0.9872709026567369, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29743 + }, + { + "mutation": "G29744-", + "count": 18692, + "proportion": 0.9872709026567369, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29744 + }, + { + "mutation": "G29745-", + "count": 18692, + "proportion": 0.9872709026567369, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29745 + }, + { + "mutation": "A29746-", + "count": 18692, + "proportion": 0.9872709026567369, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29746 + }, + { + "mutation": "G29747-", + "count": 18692, + "proportion": 0.9872709026567369, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29747 + }, + { + "mutation": "T29748-", + "count": 18692, + "proportion": 0.9872709026567369, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 29748 + }, + { + "mutation": "A29749-", + "count": 18692, + "proportion": 0.9872709026567369, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29749 + }, + { + "mutation": "C29750-", + "count": 18692, + "proportion": 0.9872709026567369, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29750 + }, + { + "mutation": "G29751-", + "count": 18692, + "proportion": 0.9872709026567369, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29751 + }, + { + "mutation": "A29752-", + "count": 18692, + "proportion": 0.9873230509190788, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29752 + }, + { + "mutation": "T29753-", + "count": 18692, + "proportion": 0.9873230509190788, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 29753 + }, + { + "mutation": "C29754-", + "count": 18692, + "proportion": 0.9872709026567369, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29754 + }, + { + "mutation": "G29755-", + "count": 18692, + "proportion": 0.9872709026567369, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29755 + }, + { + "mutation": "A29756-", + "count": 18692, + "proportion": 0.9872709026567369, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29756 + }, + { + "mutation": "G29757-", + "count": 18693, + "proportion": 0.9873237204880367, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29757 + }, + { + "mutation": "T29758-", + "count": 18691, + "proportion": 0.987218084825437, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 29758 + }, + { + "mutation": "G29759-", + "count": 18679, + "proportion": 0.9866363828438622, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29759 + } + ], + "info": { + "dataVersion": "1720033519", + "requestId": "3068ab30-5f52-4082-946d-8921ce8cc298", + "requestInfo": "sars_cov-2_nextstrain_open on lapis.cov-spectrum.org at 2024-07-17T14:53:28.640121896", + "reportTo": "Please report to https://github.com/GenSpectrum/LAPIS/issues in case you encounter any unexpected issues. Please include the request ID and the requestInfo in your report." + } +} diff --git a/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_02.json b/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_02.json new file mode 100644 index 00000000..eb9b5463 --- /dev/null +++ b/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_02.json @@ -0,0 +1,1774 @@ +{ + "data": [ + { + "mutation": "C21T", + "count": 1009, + "proportion": 0.9474178403755869, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21 + }, + { + "mutation": "C44T", + "count": 1543, + "proportion": 0.5566378066378066, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 44 + }, + { + "mutation": "C241T", + "count": 14900, + "proportion": 0.997856951513528, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 241 + }, + { + "mutation": "A518-", + "count": 775, + "proportion": 0.055495882563551736, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 518 + }, + { + "mutation": "T670G", + "count": 15242, + "proportion": 0.9924469331944263, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 670 + }, + { + "mutation": "C774T", + "count": 4190, + "proportion": 0.27434033916061024, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 774 + }, + { + "mutation": "C897A", + "count": 15179, + "proportion": 0.9911845370249445, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 897 + }, + { + "mutation": "C2790T", + "count": 14433, + "proportion": 0.9997229341275888, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 2790 + }, + { + "mutation": "C3037T", + "count": 15530, + "proportion": 0.9998712335822817, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 3037 + }, + { + "mutation": "G3431T", + "count": 14092, + "proportion": 0.9992908807261381, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 3431 + }, + { + "mutation": "T3565C", + "count": 15346, + "proportion": 0.9981138211382113, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 3565 + }, + { + "mutation": "G4184A", + "count": 15534, + "proportion": 0.9999356292243321, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 4184 + }, + { + "mutation": "C4321T", + "count": 15136, + "proportion": 0.9792327100989843, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 4321 + }, + { + "mutation": "A6183G", + "count": 15248, + "proportion": 0.9903227901539261, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 6183 + }, + { + "mutation": "A7842G", + "count": 15511, + "proportion": 0.9987122529135278, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 7842 + }, + { + "mutation": "C8293T", + "count": 15495, + "proportion": 0.9989684739862034, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 8293 + }, + { + "mutation": "G8393A", + "count": 15524, + "proportion": 0.9992276004119465, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 8393 + }, + { + "mutation": "C9344T", + "count": 15536, + "proportion": 0.9996139492986745, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 9344 + }, + { + "mutation": "A9424G", + "count": 15473, + "proportion": 0.9989670088449868, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 9424 + }, + { + "mutation": "C9534T", + "count": 15469, + "proportion": 0.9986442866365397, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 9534 + }, + { + "mutation": "C10029T", + "count": 15443, + "proportion": 0.9998057749579179, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 10029 + }, + { + "mutation": "C10198T", + "count": 15414, + "proportion": 0.9995460735360872, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 10198 + }, + { + "mutation": "G10447A", + "count": 15536, + "proportion": 0.9999356375104589, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 10447 + }, + { + "mutation": "C10449A", + "count": 15536, + "proportion": 0.9999356375104589, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 10449 + }, + { + "mutation": "G11042T", + "count": 15542, + "proportion": 0.9992284942779992, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 11042 + }, + { + "mutation": "T11288-", + "count": 14637, + "proportion": 0.9974105621805792, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11288 + }, + { + "mutation": "C11289-", + "count": 14543, + "proportion": 0.9973938687332831, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 11289 + }, + { + "mutation": "T11290-", + "count": 14490, + "proportion": 0.9973843612334802, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11290 + }, + { + "mutation": "G11291-", + "count": 14480, + "proportion": 0.9973825595812096, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 11291 + }, + { + "mutation": "G11292-", + "count": 14474, + "proportion": 0.9973127540825467, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 11292 + }, + { + "mutation": "T11293-", + "count": 14467, + "proportion": 0.9973114573280022, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11293 + }, + { + "mutation": "T11294-", + "count": 14457, + "proportion": 0.9973096026490066, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11294 + }, + { + "mutation": "T11295-", + "count": 14441, + "proportion": 0.9973066298342541, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11295 + }, + { + "mutation": "T11296-", + "count": 14434, + "proportion": 0.9973053271609204, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11296 + }, + { + "mutation": "G11727A", + "count": 14498, + "proportion": 0.9977976600137646, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 11727 + }, + { + "mutation": "C12789T", + "count": 15533, + "proportion": 0.9980082241069134, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 12789 + }, + { + "mutation": "C12815T", + "count": 15539, + "proportion": 0.9994211474144584, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 12815 + }, + { + "mutation": "C12880T", + "count": 15533, + "proportion": 0.9995495495495496, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 12880 + }, + { + "mutation": "T13339C", + "count": 15303, + "proportion": 0.9963539292922716, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 13339 + }, + { + "mutation": "C14408T", + "count": 15558, + "proportion": 0.9995502730485063, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 14408 + }, + { + "mutation": "C15714T", + "count": 15548, + "proportion": 0.9999356871824555, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 15714 + }, + { + "mutation": "T15756A", + "count": 15536, + "proportion": 0.9996782703815713, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 15756 + }, + { + "mutation": "C17410T", + "count": 15495, + "proportion": 0.9998709427631154, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 17410 + }, + { + "mutation": "G17562T", + "count": 787, + "proportion": 0.050597916934550596, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 17562 + }, + { + "mutation": "A18163G", + "count": 15430, + "proportion": 0.9997408319295062, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 18163 + }, + { + "mutation": "T18453C", + "count": 3287, + "proportion": 0.21222882231404958, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 18453 + }, + { + "mutation": "A18492G", + "count": 15540, + "proportion": 0.9993569131832798, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 18492 + }, + { + "mutation": "C18894T", + "count": 14920, + "proportion": 0.9996649916247906, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 18894 + }, + { + "mutation": "C19955T", + "count": 14760, + "proportion": 0.9999322539123365, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 19955 + }, + { + "mutation": "A20055G", + "count": 14962, + "proportion": 0.9992653442863821, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 20055 + }, + { + "mutation": "C21618T", + "count": 13961, + "proportion": 0.9977844482561463, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21618 + }, + { + "mutation": "C21622T", + "count": 13940, + "proportion": 0.9971387696709585, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21622 + }, + { + "mutation": "G21624C", + "count": 13944, + "proportion": 0.9970682874508402, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 21624 + }, + { + "mutation": "T21633-", + "count": 12923, + "proportion": 0.9907237043851579, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21633 + }, + { + "mutation": "A21634-", + "count": 12924, + "proportion": 0.996299722479186, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21634 + }, + { + "mutation": "C21635-", + "count": 12949, + "proportion": 0.99822695035461, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21635 + }, + { + "mutation": "C21636-", + "count": 12949, + "proportion": 0.9980730692153538, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21636 + }, + { + "mutation": "C21637-", + "count": 12949, + "proportion": 0.9981500038541586, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21637 + }, + { + "mutation": "C21638-", + "count": 12946, + "proportion": 0.9978418375211963, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21638 + }, + { + "mutation": "C21639-", + "count": 12946, + "proportion": 0.9977649325626204, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21639 + }, + { + "mutation": "T21640-", + "count": 12945, + "proportion": 0.9945451751690227, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21640 + }, + { + "mutation": "G21641-", + "count": 12941, + "proportion": 0.9673344296606369, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 21641 + }, + { + "mutation": "C21711T", + "count": 14699, + "proportion": 0.998437712267355, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21711 + }, + { + "mutation": "T21765-", + "count": 13019, + "proportion": 0.9917726822579417, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21765 + }, + { + "mutation": "A21766-", + "count": 13018, + "proportion": 0.9969367437586154, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21766 + }, + { + "mutation": "C21767-", + "count": 13118, + "proportion": 0.9982497526824443, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21767 + }, + { + "mutation": "A21768-", + "count": 13028, + "proportion": 0.991099277291746, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21768 + }, + { + "mutation": "T21769-", + "count": 13028, + "proportion": 0.994959523445853, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21769 + }, + { + "mutation": "G21770-", + "count": 12938, + "proportion": 0.997532767925983, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 21770 + }, + { + "mutation": "G21941T", + "count": 15126, + "proportion": 0.9992072929052715, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 21941 + }, + { + "mutation": "G21987A", + "count": 15404, + "proportion": 0.9954119547657512, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 21987 + }, + { + "mutation": "T21992-", + "count": 14580, + "proportion": 0.9935941120348917, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21992 + }, + { + "mutation": "A21993-", + "count": 14584, + "proportion": 0.9939344374020309, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21993 + }, + { + "mutation": "T21994-", + "count": 14584, + "proportion": 0.9393880837359099, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21994 + }, + { + "mutation": "T22032C", + "count": 15477, + "proportion": 0.9983873048638885, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22032 + }, + { + "mutation": "C22033A", + "count": 15489, + "proportion": 0.9992258563963615, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22033 + }, + { + "mutation": "A22034G", + "count": 15489, + "proportion": 0.9992903225806452, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22034 + }, + { + "mutation": "A22194-", + "count": 14970, + "proportion": 0.994354035204251, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 22194 + }, + { + "mutation": "T22195-", + "count": 14970, + "proportion": 0.9939579045216121, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 22195 + }, + { + "mutation": "T22196-", + "count": 14980, + "proportion": 0.9945558358783694, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 22196 + }, + { + "mutation": "T22200G", + "count": 15247, + "proportion": 0.9986245742729892, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22200 + }, + { + "mutation": "C22208T", + "count": 15294, + "proportion": 0.9992159937279498, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22208 + }, + { + "mutation": "C22295A", + "count": 15197, + "proportion": 0.9994738572837882, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22295 + }, + { + "mutation": "C22353A", + "count": 15090, + "proportion": 0.9798065060710344, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22353 + }, + { + "mutation": "A22556G", + "count": 15237, + "proportion": 0.9965988619268755, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22556 + }, + { + "mutation": "G22577C", + "count": 15227, + "proportion": 0.9981645362176336, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 22577 + }, + { + "mutation": "G22578A", + "count": 15251, + "proportion": 0.9992792556676714, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22578 + }, + { + "mutation": "G22599C", + "count": 849, + "proportion": 0.05545032982822807, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 22599 + }, + { + "mutation": "A22629C", + "count": 15100, + "proportion": 0.9974238721183698, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 22629 + }, + { + "mutation": "C22674T", + "count": 15282, + "proportion": 0.9997383226481747, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22674 + }, + { + "mutation": "T22679C", + "count": 15348, + "proportion": 0.9998697068403909, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22679 + }, + { + "mutation": "C22686T", + "count": 15317, + "proportion": 0.9990868175591938, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22686 + }, + { + "mutation": "A22688G", + "count": 15290, + "proportion": 0.9981720851286069, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22688 + }, + { + "mutation": "G22770A", + "count": 13363, + "proportion": 0.9963465553235908, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22770 + }, + { + "mutation": "G22775A", + "count": 15362, + "proportion": 0.9990245171359823, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22775 + }, + { + "mutation": "A22786C", + "count": 15298, + "proportion": 0.9971320557945509, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 22786 + }, + { + "mutation": "G22813T", + "count": 13899, + "proportion": 0.988478771068914, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 22813 + }, + { + "mutation": "T22882G", + "count": 14897, + "proportion": 0.9996644745671722, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22882 + }, + { + "mutation": "G22895C", + "count": 14859, + "proportion": 0.9989243697478991, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 22895 + }, + { + "mutation": "T22896A", + "count": 14842, + "proportion": 0.9981841415024548, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 22896 + }, + { + "mutation": "G22898A", + "count": 14864, + "proportion": 0.999663729907862, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22898 + }, + { + "mutation": "A22910G", + "count": 14890, + "proportion": 0.9995972073039742, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22910 + }, + { + "mutation": "C22916T", + "count": 14875, + "proportion": 0.9991939275878283, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22916 + }, + { + "mutation": "T22917G", + "count": 14887, + "proportion": 0.9993958109559613, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22917 + }, + { + "mutation": "T22926C", + "count": 14852, + "proportion": 0.9963772977324568, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22926 + }, + { + "mutation": "T22942A", + "count": 14914, + "proportion": 0.9982597054886212, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 22942 + }, + { + "mutation": "G22992A", + "count": 15060, + "proportion": 0.9984751044221972, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22992 + }, + { + "mutation": "C22995A", + "count": 15045, + "proportion": 0.9977452085682075, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22995 + }, + { + "mutation": "T23005A", + "count": 14989, + "proportion": 0.9976703940362087, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 23005 + }, + { + "mutation": "G23009-", + "count": 13549, + "proportion": 0.9959570714495737, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 23009 + }, + { + "mutation": "T23010-", + "count": 13543, + "proportion": 0.996101794645484, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 23010 + }, + { + "mutation": "T23011-", + "count": 13542, + "proportion": 0.9019581723724523, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 23011 + }, + { + "mutation": "G23012A", + "count": 14994, + "proportion": 0.997936772046589, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 23012 + }, + { + "mutation": "T23018C", + "count": 15004, + "proportion": 0.9977390610453518, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 23018 + }, + { + "mutation": "T23019C", + "count": 15003, + "proportion": 0.997938007183717, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 23019 + }, + { + "mutation": "A23055G", + "count": 15069, + "proportion": 0.9998672948045916, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 23055 + }, + { + "mutation": "A23063T", + "count": 15070, + "proportion": 0.9998009686193856, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 23063 + }, + { + "mutation": "T23075C", + "count": 15018, + "proportion": 0.9962189054726368, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 23075 + }, + { + "mutation": "G23222A", + "count": 15545, + "proportion": 0.9996141727220115, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 23222 + }, + { + "mutation": "C23271T", + "count": 15543, + "proportion": 0.9990358657925184, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23271 + }, + { + "mutation": "C23277T", + "count": 2428, + "proportion": 0.1561113611521893, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23277 + }, + { + "mutation": "A23403G", + "count": 15569, + "proportion": 0.9999357739242132, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 23403 + }, + { + "mutation": "C23423T", + "count": 15565, + "proportion": 0.999871523093724, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23423 + }, + { + "mutation": "C23525T", + "count": 14536, + "proportion": 0.9996561446943126, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23525 + }, + { + "mutation": "T23599G", + "count": 15348, + "proportion": 0.994170229304314, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 23599 + }, + { + "mutation": "C23604G", + "count": 15367, + "proportion": 0.9946278317152104, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "G", + "position": 23604 + }, + { + "mutation": "C23854A", + "count": 15330, + "proportion": 0.9996739484838605, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 23854 + }, + { + "mutation": "G23948T", + "count": 15184, + "proportion": 0.9994734070563455, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 23948 + }, + { + "mutation": "C24378T", + "count": 14780, + "proportion": 0.9841523505127181, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 24378 + }, + { + "mutation": "A24424T", + "count": 15038, + "proportion": 0.9994018741277331, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 24424 + }, + { + "mutation": "T24469A", + "count": 15283, + "proportion": 0.9996075609915626, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 24469 + }, + { + "mutation": "C24990T", + "count": 15297, + "proportion": 0.9981729200652528, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 24990 + }, + { + "mutation": "C25000T", + "count": 15307, + "proportion": 0.9979788759942626, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25000 + }, + { + "mutation": "G25012T", + "count": 950, + "proportion": 0.06192959582790091, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 25012 + }, + { + "mutation": "C25207T", + "count": 14865, + "proportion": 0.998924803440629, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25207 + }, + { + "mutation": "C25566T", + "count": 1082, + "proportion": 0.0696043743969122, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25566 + }, + { + "mutation": "C25584T", + "count": 15549, + "proportion": 0.9998070987654321, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25584 + }, + { + "mutation": "C26060T", + "count": 15325, + "proportion": 0.9962296041084314, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26060 + }, + { + "mutation": "C26270T", + "count": 15385, + "proportion": 0.999805042890564, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26270 + }, + { + "mutation": "G26529C", + "count": 15457, + "proportion": 0.9994827028774652, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 26529 + }, + { + "mutation": "C26577G", + "count": 15351, + "proportion": 0.9955898566703418, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "G", + "position": 26577 + }, + { + "mutation": "A26610G", + "count": 14097, + "proportion": 0.9949184840143976, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 26610 + }, + { + "mutation": "C26681T", + "count": 15234, + "proportion": 0.9988198269079465, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26681 + }, + { + "mutation": "G26709A", + "count": 15271, + "proportion": 0.9987573577501635, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 26709 + }, + { + "mutation": "C26833T", + "count": 15489, + "proportion": 0.9990325077399381, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26833 + }, + { + "mutation": "C26858T", + "count": 15459, + "proportion": 0.9979342844232135, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26858 + }, + { + "mutation": "A27259C", + "count": 15503, + "proportion": 0.9990977637429915, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 27259 + }, + { + "mutation": "G27382C", + "count": 15473, + "proportion": 0.9984513131573853, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 27382 + }, + { + "mutation": "A27383T", + "count": 15465, + "proportion": 0.9981283077320253, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 27383 + }, + { + "mutation": "T27384C", + "count": 15458, + "proportion": 0.9973546680430996, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 27384 + }, + { + "mutation": "C27476T", + "count": 907, + "proportion": 0.05937806873977087, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 27476 + }, + { + "mutation": "C27807T", + "count": 15498, + "proportion": 0.9998709677419355, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 27807 + }, + { + "mutation": "T27810C", + "count": 15491, + "proportion": 0.9988393835837256, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 27810 + }, + { + "mutation": "A28271T", + "count": 15394, + "proportion": 0.9996103896103896, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 28271 + }, + { + "mutation": "C28311T", + "count": 15382, + "proportion": 0.9994152426742902, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 28311 + }, + { + "mutation": "G28362-", + "count": 13882, + "proportion": 0.9919965699585537, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 28362 + }, + { + "mutation": "A28363-", + "count": 13879, + "proportion": 0.9939129189344027, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28363 + }, + { + "mutation": "G28364-", + "count": 13879, + "proportion": 0.9939129189344027, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 28364 + }, + { + "mutation": "A28365-", + "count": 13879, + "proportion": 0.9941977077363897, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28365 + }, + { + "mutation": "A28366-", + "count": 13879, + "proportion": 0.9941977077363897, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28366 + }, + { + "mutation": "C28367-", + "count": 13879, + "proportion": 0.9941977077363897, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 28367 + }, + { + "mutation": "G28368-", + "count": 13879, + "proportion": 0.9941977077363897, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 28368 + }, + { + "mutation": "C28369-", + "count": 13879, + "proportion": 0.9941977077363897, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 28369 + }, + { + "mutation": "A28370-", + "count": 13836, + "proportion": 0.9933946008041356, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28370 + }, + { + "mutation": "G28881A", + "count": 15512, + "proportion": 0.9990982867448152, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 28881 + }, + { + "mutation": "G28882A", + "count": 15506, + "proportion": 0.9987761674718196, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 28882 + }, + { + "mutation": "G28883C", + "count": 15513, + "proportion": 0.9990983448187029, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 28883 + }, + { + "mutation": "C28958A", + "count": 15501, + "proportion": 0.9987114232330391, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 28958 + }, + { + "mutation": "A29510C", + "count": 15525, + "proportion": 0.999806800618238, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 29510 + }, + { + "mutation": "G29734-", + "count": 10863, + "proportion": 0.967233549995548, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29734 + }, + { + "mutation": "A29735-", + "count": 10861, + "proportion": 0.9680898475799982, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29735 + }, + { + "mutation": "G29736-", + "count": 10859, + "proportion": 0.9688615274803711, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29736 + }, + { + "mutation": "G29737-", + "count": 10859, + "proportion": 0.9688615274803711, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29737 + }, + { + "mutation": "C29738-", + "count": 10859, + "proportion": 0.9691209281570727, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29738 + }, + { + "mutation": "C29739-", + "count": 10859, + "proportion": 0.9691209281570727, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29739 + }, + { + "mutation": "A29740-", + "count": 10859, + "proportion": 0.9691209281570727, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29740 + }, + { + "mutation": "C29741-", + "count": 10858, + "proportion": 0.9691181720813995, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29741 + }, + { + "mutation": "G29742-", + "count": 10858, + "proportion": 0.9691181720813995, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29742 + }, + { + "mutation": "C29743-", + "count": 10858, + "proportion": 0.9691181720813995, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29743 + }, + { + "mutation": "G29744-", + "count": 10858, + "proportion": 0.9691181720813995, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29744 + }, + { + "mutation": "G29745-", + "count": 10858, + "proportion": 0.9691181720813995, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29745 + }, + { + "mutation": "A29746-", + "count": 10858, + "proportion": 0.9691181720813995, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29746 + }, + { + "mutation": "G29747-", + "count": 10858, + "proportion": 0.9691181720813995, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29747 + }, + { + "mutation": "T29748-", + "count": 10858, + "proportion": 0.9691181720813995, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 29748 + }, + { + "mutation": "A29749-", + "count": 10858, + "proportion": 0.9691181720813995, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29749 + }, + { + "mutation": "C29750-", + "count": 10858, + "proportion": 0.9691181720813995, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29750 + }, + { + "mutation": "G29751-", + "count": 10858, + "proportion": 0.9691181720813995, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29751 + }, + { + "mutation": "A29752-", + "count": 10858, + "proportion": 0.9691181720813995, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29752 + }, + { + "mutation": "T29753-", + "count": 10858, + "proportion": 0.9691181720813995, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 29753 + }, + { + "mutation": "C29754-", + "count": 10858, + "proportion": 0.9691181720813995, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29754 + }, + { + "mutation": "G29755-", + "count": 10858, + "proportion": 0.9691181720813995, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29755 + }, + { + "mutation": "A29756-", + "count": 10858, + "proportion": 0.9691181720813995, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29756 + }, + { + "mutation": "G29757-", + "count": 10858, + "proportion": 0.9691181720813995, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29757 + }, + { + "mutation": "T29758-", + "count": 10856, + "proportion": 0.9689396644055694, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 29758 + }, + { + "mutation": "G29759-", + "count": 10846, + "proportion": 0.9677879896493263, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29759 + }, + { + "mutation": "C29870A", + "count": 34, + "proportion": 0.10897435897435898, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 29870 + } + ], + "info": { + "dataVersion": "1720033519", + "requestId": "34867c72-140f-4ef2-a91a-b4375b4b1139", + "requestInfo": "sars_cov-2_nextstrain_open on lapis.cov-spectrum.org at 2024-07-17T14:53:28.677306714", + "reportTo": "Please report to https://github.com/GenSpectrum/LAPIS/issues in case you encounter any unexpected issues. Please include the request ID and the requestInfo in your report." + } +} diff --git a/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_03.json b/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_03.json new file mode 100644 index 00000000..b81e08d5 --- /dev/null +++ b/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_03.json @@ -0,0 +1,1819 @@ +{ + "data": [ + { + "mutation": "C21T", + "count": 314, + "proportion": 0.8532608695652174, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21 + }, + { + "mutation": "C44T", + "count": 530, + "proportion": 0.47790802524797116, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 44 + }, + { + "mutation": "C241T", + "count": 5588, + "proportion": 0.9983919957119886, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 241 + }, + { + "mutation": "G515-", + "count": 285, + "proportion": 0.054639570552147236, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 515 + }, + { + "mutation": "T516-", + "count": 321, + "proportion": 0.061541411042944784, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 516 + }, + { + "mutation": "T517-", + "count": 321, + "proportion": 0.061541411042944784, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 517 + }, + { + "mutation": "A518-", + "count": 358, + "proportion": 0.06868764389869532, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 518 + }, + { + "mutation": "T670G", + "count": 5720, + "proportion": 0.9901332871732733, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 670 + }, + { + "mutation": "C774T", + "count": 1553, + "proportion": 0.2704632532218739, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 774 + }, + { + "mutation": "C897A", + "count": 5704, + "proportion": 0.9883902269970543, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 897 + }, + { + "mutation": "C2790T", + "count": 5531, + "proportion": 0.9974752028854824, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 2790 + }, + { + "mutation": "C3037T", + "count": 5895, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 3037 + }, + { + "mutation": "G3431T", + "count": 5362, + "proportion": 0.9986962190352021, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 3431 + }, + { + "mutation": "T3565C", + "count": 5774, + "proportion": 0.9970644102918321, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 3565 + }, + { + "mutation": "G4184A", + "count": 5876, + "proportion": 0.9998298451590948, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 4184 + }, + { + "mutation": "C4321T", + "count": 5695, + "proportion": 0.9738372093023255, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 4321 + }, + { + "mutation": "A6183G", + "count": 5760, + "proportion": 0.9893507385778083, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 6183 + }, + { + "mutation": "A7842G", + "count": 5877, + "proportion": 0.997792869269949, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 7842 + }, + { + "mutation": "C8293T", + "count": 5870, + "proportion": 0.9971122812977747, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 8293 + }, + { + "mutation": "G8393A", + "count": 5869, + "proportion": 0.997450713800136, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 8393 + }, + { + "mutation": "C9344T", + "count": 5889, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 9344 + }, + { + "mutation": "A9424G", + "count": 5829, + "proportion": 0.9996570056594066, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 9424 + }, + { + "mutation": "C9534T", + "count": 5819, + "proportion": 0.9994847131569907, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 9534 + }, + { + "mutation": "C10029T", + "count": 5789, + "proportion": 0.9996546365049215, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 10029 + }, + { + "mutation": "C10198T", + "count": 5781, + "proportion": 0.9994813278008299, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 10198 + }, + { + "mutation": "G10447A", + "count": 5885, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 10447 + }, + { + "mutation": "C10449A", + "count": 5885, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 10449 + }, + { + "mutation": "G11042T", + "count": 5882, + "proportion": 0.9977947413061917, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 11042 + }, + { + "mutation": "T11288-", + "count": 5663, + "proportion": 0.9984132581100141, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11288 + }, + { + "mutation": "C11289-", + "count": 5647, + "proportion": 0.9984087694483734, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 11289 + }, + { + "mutation": "T11290-", + "count": 5636, + "proportion": 0.9984056687333924, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11290 + }, + { + "mutation": "G11291-", + "count": 5633, + "proportion": 0.9984048209854661, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 11291 + }, + { + "mutation": "G11292-", + "count": 5633, + "proportion": 0.9984048209854661, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 11292 + }, + { + "mutation": "T11293-", + "count": 5633, + "proportion": 0.9984048209854661, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11293 + }, + { + "mutation": "T11294-", + "count": 5632, + "proportion": 0.9984045382024463, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11294 + }, + { + "mutation": "T11295-", + "count": 5629, + "proportion": 0.9984036892515076, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11295 + }, + { + "mutation": "T11296-", + "count": 5629, + "proportion": 0.9984036892515076, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11296 + }, + { + "mutation": "G11727A", + "count": 5569, + "proportion": 0.9980286738351255, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 11727 + }, + { + "mutation": "C12789T", + "count": 5874, + "proportion": 0.9971142420641657, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 12789 + }, + { + "mutation": "C12815T", + "count": 5884, + "proportion": 0.9986422267481331, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 12815 + }, + { + "mutation": "C12880T", + "count": 5888, + "proportion": 0.999830191883172, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 12880 + }, + { + "mutation": "A12928G", + "count": 357, + "proportion": 0.06089032918301211, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 12928 + }, + { + "mutation": "T13339C", + "count": 5786, + "proportion": 0.9948418156808804, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 13339 + }, + { + "mutation": "C14408T", + "count": 5896, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 14408 + }, + { + "mutation": "C15714T", + "count": 5895, + "proportion": 0.9996608444972019, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 15714 + }, + { + "mutation": "T15756A", + "count": 5882, + "proportion": 0.99932042133877, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 15756 + }, + { + "mutation": "C17410T", + "count": 5876, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 17410 + }, + { + "mutation": "A18163G", + "count": 5854, + "proportion": 0.9996584699453552, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 18163 + }, + { + "mutation": "T18453C", + "count": 1237, + "proportion": 0.210768444368717, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 18453 + }, + { + "mutation": "A18492G", + "count": 5886, + "proportion": 0.999320882852292, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 18492 + }, + { + "mutation": "C18894T", + "count": 5712, + "proportion": 0.9993002099370188, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 18894 + }, + { + "mutation": "C19955T", + "count": 5717, + "proportion": 0.9998251136761105, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 19955 + }, + { + "mutation": "A20055G", + "count": 5757, + "proportion": 0.9979199167966719, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 20055 + }, + { + "mutation": "C21618T", + "count": 5406, + "proportion": 0.9987068169222243, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21618 + }, + { + "mutation": "C21622T", + "count": 5402, + "proportion": 0.9987058606026992, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21622 + }, + { + "mutation": "G21624C", + "count": 5406, + "proportion": 0.9988913525498891, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 21624 + }, + { + "mutation": "T21633-", + "count": 4900, + "proportion": 0.9875050382910117, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21633 + }, + { + "mutation": "A21634-", + "count": 4901, + "proportion": 0.9973544973544973, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21634 + }, + { + "mutation": "C21635-", + "count": 4908, + "proportion": 0.9987789987789988, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21635 + }, + { + "mutation": "C21636-", + "count": 4908, + "proportion": 0.9987789987789988, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21636 + }, + { + "mutation": "C21637-", + "count": 4908, + "proportion": 0.9981696156192801, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21637 + }, + { + "mutation": "C21638-", + "count": 4906, + "proportion": 0.9981688708036622, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21638 + }, + { + "mutation": "C21639-", + "count": 4905, + "proportion": 0.9971538930676966, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21639 + }, + { + "mutation": "T21640-", + "count": 4904, + "proportion": 0.9923108053419668, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21640 + }, + { + "mutation": "G21641-", + "count": 4903, + "proportion": 0.9659180457052797, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 21641 + }, + { + "mutation": "C21711T", + "count": 5626, + "proportion": 0.9992895204262877, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21711 + }, + { + "mutation": "T21765-", + "count": 5104, + "proportion": 0.9899146625290923, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21765 + }, + { + "mutation": "A21766-", + "count": 5104, + "proportion": 0.9986304050088045, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21766 + }, + { + "mutation": "C21767-", + "count": 5122, + "proportion": 0.9996096799375488, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21767 + }, + { + "mutation": "A21768-", + "count": 5103, + "proportion": 0.9957073170731707, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21768 + }, + { + "mutation": "T21769-", + "count": 5103, + "proportion": 0.9939618231398519, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21769 + }, + { + "mutation": "G21770-", + "count": 5090, + "proportion": 0.9968664316490403, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 21770 + }, + { + "mutation": "G21941T", + "count": 5673, + "proportion": 0.9977136827295111, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 21941 + }, + { + "mutation": "G21987A", + "count": 5845, + "proportion": 0.995741056218058, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 21987 + }, + { + "mutation": "T21992-", + "count": 5662, + "proportion": 0.9964801126363957, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21992 + }, + { + "mutation": "A21993-", + "count": 5662, + "proportion": 0.9971821063754843, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21993 + }, + { + "mutation": "T21994-", + "count": 5662, + "proportion": 0.9616168478260869, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21994 + }, + { + "mutation": "T22032C", + "count": 5861, + "proportion": 0.9981267029972752, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22032 + }, + { + "mutation": "C22033A", + "count": 5869, + "proportion": 0.999659342531085, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22033 + }, + { + "mutation": "A22034G", + "count": 5870, + "proportion": 0.9998296712655425, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22034 + }, + { + "mutation": "A22194-", + "count": 5666, + "proportion": 0.9968332160450387, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 22194 + }, + { + "mutation": "T22195-", + "count": 5666, + "proportion": 0.9968332160450387, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 22195 + }, + { + "mutation": "T22196-", + "count": 5670, + "proportion": 0.9970107262176895, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 22196 + }, + { + "mutation": "T22200G", + "count": 5729, + "proportion": 0.9932385575589459, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22200 + }, + { + "mutation": "C22208T", + "count": 5777, + "proportion": 0.998789764868603, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22208 + }, + { + "mutation": "C22295A", + "count": 5779, + "proportion": 0.9987901832008296, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22295 + }, + { + "mutation": "C22353A", + "count": 5717, + "proportion": 0.9742672119972734, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22353 + }, + { + "mutation": "A22556G", + "count": 5812, + "proportion": 0.9960582690659812, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22556 + }, + { + "mutation": "G22577C", + "count": 5809, + "proportion": 0.9977670903469598, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 22577 + }, + { + "mutation": "G22578A", + "count": 5812, + "proportion": 0.998282377189969, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22578 + }, + { + "mutation": "G22599C", + "count": 800, + "proportion": 0.13769363166953527, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 22599 + }, + { + "mutation": "A22629C", + "count": 5712, + "proportion": 0.9975550122249389, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 22629 + }, + { + "mutation": "C22674T", + "count": 5812, + "proportion": 0.9989687177724303, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22674 + }, + { + "mutation": "T22679C", + "count": 5822, + "proportion": 0.9987991079087322, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22679 + }, + { + "mutation": "C22686T", + "count": 5816, + "proportion": 0.9982835564709921, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22686 + }, + { + "mutation": "A22688G", + "count": 5801, + "proportion": 0.9974209078404401, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22688 + }, + { + "mutation": "G22770A", + "count": 5203, + "proportion": 0.9965523846006512, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22770 + }, + { + "mutation": "G22775A", + "count": 5811, + "proportion": 0.9984536082474227, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22775 + }, + { + "mutation": "A22786C", + "count": 5750, + "proportion": 0.9949818307665687, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 22786 + }, + { + "mutation": "G22813T", + "count": 5254, + "proportion": 0.9881512130900884, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 22813 + }, + { + "mutation": "T22882G", + "count": 5588, + "proportion": 0.9991060253888789, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22882 + }, + { + "mutation": "G22895C", + "count": 5568, + "proportion": 0.9989235737351991, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 22895 + }, + { + "mutation": "T22896A", + "count": 5560, + "proportion": 0.9978463747307968, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 22896 + }, + { + "mutation": "G22898A", + "count": 5573, + "proportion": 0.9998205956225332, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22898 + }, + { + "mutation": "A22910G", + "count": 5582, + "proportion": 0.999820884828945, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22910 + }, + { + "mutation": "C22916T", + "count": 5575, + "proportion": 0.9996413842567689, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22916 + }, + { + "mutation": "T22917G", + "count": 5583, + "proportion": 0.9992840522641847, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22917 + }, + { + "mutation": "T22926C", + "count": 5567, + "proportion": 0.9976702508960573, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22926 + }, + { + "mutation": "T22928C", + "count": 423, + "proportion": 0.07586083213773315, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22928 + }, + { + "mutation": "T22942A", + "count": 5600, + "proportion": 0.9978617248752673, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 22942 + }, + { + "mutation": "G22992A", + "count": 5683, + "proportion": 0.9987697715289983, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22992 + }, + { + "mutation": "C22995A", + "count": 5675, + "proportion": 0.9978899243889573, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22995 + }, + { + "mutation": "T23005A", + "count": 5626, + "proportion": 0.9976946267068629, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 23005 + }, + { + "mutation": "G23009-", + "count": 5158, + "proportion": 0.997678916827853, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 23009 + }, + { + "mutation": "T23010-", + "count": 5157, + "proportion": 0.9976784677887406, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 23010 + }, + { + "mutation": "T23011-", + "count": 5157, + "proportion": 0.9095238095238095, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 23011 + }, + { + "mutation": "G23012A", + "count": 5661, + "proportion": 0.9975330396475771, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 23012 + }, + { + "mutation": "T23018C", + "count": 5666, + "proportion": 0.9980623568786331, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 23018 + }, + { + "mutation": "T23019C", + "count": 5665, + "proportion": 0.998062015503876, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 23019 + }, + { + "mutation": "A23055G", + "count": 5673, + "proportion": 0.9992954025013211, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 23055 + }, + { + "mutation": "A23063T", + "count": 5676, + "proportion": 0.9994717379820391, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 23063 + }, + { + "mutation": "T23075C", + "count": 5656, + "proportion": 0.99682763482552, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 23075 + }, + { + "mutation": "G23222A", + "count": 5899, + "proportion": 0.9998305084745762, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 23222 + }, + { + "mutation": "C23271T", + "count": 5893, + "proportion": 0.9991522550016955, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23271 + }, + { + "mutation": "C23277T", + "count": 1508, + "proportion": 0.25633180350161483, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23277 + }, + { + "mutation": "A23403G", + "count": 5898, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 23403 + }, + { + "mutation": "C23423T", + "count": 5895, + "proportion": 0.9994913530010173, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23423 + }, + { + "mutation": "C23525T", + "count": 5565, + "proportion": 0.9994612068965517, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23525 + }, + { + "mutation": "T23599G", + "count": 5774, + "proportion": 0.993632765444846, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 23599 + }, + { + "mutation": "C23604G", + "count": 5785, + "proportion": 0.9936447956028857, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "G", + "position": 23604 + }, + { + "mutation": "C23854A", + "count": 5798, + "proportion": 0.9998275564752543, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 23854 + }, + { + "mutation": "G23948T", + "count": 5740, + "proportion": 0.9994776249347032, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 23948 + }, + { + "mutation": "C24378T", + "count": 5481, + "proportion": 0.9778768956289028, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 24378 + }, + { + "mutation": "A24424T", + "count": 5610, + "proportion": 0.9985760056959773, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 24424 + }, + { + "mutation": "T24469A", + "count": 5711, + "proportion": 0.9986011540479105, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 24469 + }, + { + "mutation": "C24990T", + "count": 5831, + "proportion": 0.9977754962354551, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 24990 + }, + { + "mutation": "C25000T", + "count": 5838, + "proportion": 0.997948717948718, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25000 + }, + { + "mutation": "G25012T", + "count": 616, + "proportion": 0.10555174777244689, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 25012 + }, + { + "mutation": "C25207T", + "count": 5717, + "proportion": 0.9998251136761105, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25207 + }, + { + "mutation": "C25566T", + "count": 647, + "proportion": 0.11012765957446809, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25566 + }, + { + "mutation": "C25584T", + "count": 5892, + "proportion": 0.9998303071440693, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25584 + }, + { + "mutation": "C26060T", + "count": 5832, + "proportion": 0.997775876817793, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26060 + }, + { + "mutation": "C26270T", + "count": 5845, + "proportion": 0.9993161224140878, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26270 + }, + { + "mutation": "G26529C", + "count": 5854, + "proportion": 0.99931717309662, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 26529 + }, + { + "mutation": "C26577G", + "count": 5810, + "proportion": 0.9970825467650593, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "G", + "position": 26577 + }, + { + "mutation": "A26610G", + "count": 5249, + "proportion": 0.992624810892587, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 26610 + }, + { + "mutation": "C26681T", + "count": 5731, + "proportion": 0.9996511425082854, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26681 + }, + { + "mutation": "G26709A", + "count": 5755, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 26709 + }, + { + "mutation": "C26833T", + "count": 5880, + "proportion": 0.999829960891005, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26833 + }, + { + "mutation": "C26858T", + "count": 5850, + "proportion": 0.9998290890446078, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26858 + }, + { + "mutation": "A27259C", + "count": 5857, + "proportion": 0.9996586448199352, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 27259 + }, + { + "mutation": "G27382C", + "count": 5857, + "proportion": 0.998806275579809, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 27382 + }, + { + "mutation": "A27383T", + "count": 5858, + "proportion": 0.9989768076398363, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 27383 + }, + { + "mutation": "T27384C", + "count": 5850, + "proportion": 0.997612551159618, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 27384 + }, + { + "mutation": "C27476T", + "count": 417, + "proportion": 0.07247132429614181, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 27476 + }, + { + "mutation": "C27807T", + "count": 5863, + "proportion": 0.9998294679399727, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 27807 + }, + { + "mutation": "T27810C", + "count": 5858, + "proportion": 0.998295841854124, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 27810 + }, + { + "mutation": "C28201T", + "count": 330, + "proportion": 0.056265984654731455, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 28201 + }, + { + "mutation": "A28271T", + "count": 5863, + "proportion": 0.9984673024523161, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 28271 + }, + { + "mutation": "C28311T", + "count": 5867, + "proportion": 0.999488926746167, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 28311 + }, + { + "mutation": "G28362-", + "count": 5271, + "proportion": 0.9748474200110967, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 28362 + }, + { + "mutation": "A28363-", + "count": 5268, + "proportion": 0.9771841958820257, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28363 + }, + { + "mutation": "G28364-", + "count": 5266, + "proportion": 0.9771757283354983, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 28364 + }, + { + "mutation": "A28365-", + "count": 5265, + "proportion": 0.9775343483104345, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28365 + }, + { + "mutation": "A28366-", + "count": 5265, + "proportion": 0.9775343483104345, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28366 + }, + { + "mutation": "C28367-", + "count": 5265, + "proportion": 0.9775343483104345, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 28367 + }, + { + "mutation": "G28368-", + "count": 5265, + "proportion": 0.9775343483104345, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 28368 + }, + { + "mutation": "C28369-", + "count": 5265, + "proportion": 0.9775343483104345, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 28369 + }, + { + "mutation": "A28370-", + "count": 5249, + "proportion": 0.9772854217091789, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28370 + }, + { + "mutation": "G28881A", + "count": 5880, + "proportion": 0.9994900560938297, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 28881 + }, + { + "mutation": "G28882A", + "count": 5878, + "proportion": 0.9991500934897162, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 28882 + }, + { + "mutation": "G28883C", + "count": 5881, + "proportion": 0.9996600373958865, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 28883 + }, + { + "mutation": "C28958A", + "count": 5884, + "proportion": 0.9981340118744699, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 28958 + }, + { + "mutation": "A29510C", + "count": 5862, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 29510 + }, + { + "mutation": "G29734-", + "count": 3726, + "proportion": 0.9517241379310345, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29734 + }, + { + "mutation": "A29735-", + "count": 3724, + "proportion": 0.9526733179841391, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29735 + }, + { + "mutation": "G29736-", + "count": 3724, + "proportion": 0.9543823680164019, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29736 + }, + { + "mutation": "G29737-", + "count": 3724, + "proportion": 0.9546270187131505, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29737 + }, + { + "mutation": "C29738-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29738 + }, + { + "mutation": "C29739-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29739 + }, + { + "mutation": "A29740-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29740 + }, + { + "mutation": "C29741-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29741 + }, + { + "mutation": "G29742-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29742 + }, + { + "mutation": "C29743-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29743 + }, + { + "mutation": "G29744-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29744 + }, + { + "mutation": "G29745-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29745 + }, + { + "mutation": "A29746-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29746 + }, + { + "mutation": "G29747-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29747 + }, + { + "mutation": "T29748-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 29748 + }, + { + "mutation": "A29749-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29749 + }, + { + "mutation": "C29750-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29750 + }, + { + "mutation": "G29751-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29751 + }, + { + "mutation": "A29752-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29752 + }, + { + "mutation": "T29753-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 29753 + }, + { + "mutation": "C29754-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29754 + }, + { + "mutation": "G29755-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29755 + }, + { + "mutation": "A29756-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29756 + }, + { + "mutation": "G29757-", + "count": 3723, + "proportion": 0.9543706741861061, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29757 + }, + { + "mutation": "T29758-", + "count": 3721, + "proportion": 0.9538579851320175, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 29758 + }, + { + "mutation": "G29759-", + "count": 3719, + "proportion": 0.9528567768383295, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29759 + }, + { + "mutation": "C29870A", + "count": 10, + "proportion": 0.08928571428571429, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 29870 + } + ], + "info": { + "dataVersion": "1720033519", + "requestId": "5e57e1ad-aa1b-49cb-8a2a-c2226ff13493", + "requestInfo": "sars_cov-2_nextstrain_open on lapis.cov-spectrum.org at 2024-07-17T14:53:28.677115453", + "reportTo": "Please report to https://github.com/GenSpectrum/LAPIS/issues in case you encounter any unexpected issues. Please include the request ID and the requestInfo in your report." + } +} diff --git a/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_04.json b/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_04.json new file mode 100644 index 00000000..ff14d0f5 --- /dev/null +++ b/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_04.json @@ -0,0 +1,1864 @@ +{ + "data": [ + { + "mutation": "C21T", + "count": 120, + "proportion": 0.7741935483870968, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21 + }, + { + "mutation": "C44T", + "count": 292, + "proportion": 0.5367647058823529, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 44 + }, + { + "mutation": "C241T", + "count": 2820, + "proportion": 0.9985835694050992, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 241 + }, + { + "mutation": "G515-", + "count": 157, + "proportion": 0.0599923576614444, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 515 + }, + { + "mutation": "T516-", + "count": 169, + "proportion": 0.06460244648318043, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 516 + }, + { + "mutation": "T517-", + "count": 169, + "proportion": 0.06462715105162524, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 517 + }, + { + "mutation": "A518-", + "count": 183, + "proportion": 0.07003444316877153, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 518 + }, + { + "mutation": "T670G", + "count": 2932, + "proportion": 0.9892037786774629, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 670 + }, + { + "mutation": "C774T", + "count": 558, + "proportion": 0.189280868385346, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 774 + }, + { + "mutation": "C897A", + "count": 2916, + "proportion": 0.9818181818181818, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 897 + }, + { + "mutation": "C2790T", + "count": 2901, + "proportion": 0.9993110575266965, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 2790 + }, + { + "mutation": "C3037T", + "count": 3029, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 3037 + }, + { + "mutation": "G3431T", + "count": 2828, + "proportion": 0.9915848527349228, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 3431 + }, + { + "mutation": "T3565C", + "count": 2967, + "proportion": 0.9886704431856048, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 3565 + }, + { + "mutation": "G4184A", + "count": 3035, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 4184 + }, + { + "mutation": "C4321T", + "count": 2960, + "proportion": 0.9830621056127532, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 4321 + }, + { + "mutation": "A6183G", + "count": 2974, + "proportion": 0.9890256069171932, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 6183 + }, + { + "mutation": "C7113T", + "count": 602, + "proportion": 0.2, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 7113 + }, + { + "mutation": "A7842G", + "count": 3013, + "proportion": 0.9920974646032269, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 7842 + }, + { + "mutation": "C8293T", + "count": 3007, + "proportion": 0.9907742998352553, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 8293 + }, + { + "mutation": "G8393A", + "count": 3011, + "proportion": 0.9920922570016475, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 8393 + }, + { + "mutation": "C9344T", + "count": 3037, + "proportion": 0.999670836076366, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 9344 + }, + { + "mutation": "A9424G", + "count": 2983, + "proportion": 0.9996648793565683, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 9424 + }, + { + "mutation": "C9534T", + "count": 3007, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 9534 + }, + { + "mutation": "C10029T", + "count": 2990, + "proportion": 0.9993315508021391, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 10029 + }, + { + "mutation": "C10198T", + "count": 2964, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 10198 + }, + { + "mutation": "G10447A", + "count": 3038, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 10447 + }, + { + "mutation": "C10449A", + "count": 3038, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 10449 + }, + { + "mutation": "G11042T", + "count": 3017, + "proportion": 0.9921078592568234, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 11042 + }, + { + "mutation": "T11288-", + "count": 3027, + "proportion": 0.9967072769180112, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11288 + }, + { + "mutation": "C11289-", + "count": 3027, + "proportion": 0.9967072769180112, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 11289 + }, + { + "mutation": "T11290-", + "count": 3027, + "proportion": 0.9967072769180112, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11290 + }, + { + "mutation": "G11291-", + "count": 3026, + "proportion": 0.9963780046098123, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 11291 + }, + { + "mutation": "G11292-", + "count": 3026, + "proportion": 0.9963780046098123, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 11292 + }, + { + "mutation": "T11293-", + "count": 3026, + "proportion": 0.9963780046098123, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11293 + }, + { + "mutation": "T11294-", + "count": 3024, + "proportion": 0.9957194599934146, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11294 + }, + { + "mutation": "T11295-", + "count": 3023, + "proportion": 0.9953901876852157, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11295 + }, + { + "mutation": "T11296-", + "count": 3023, + "proportion": 0.9953901876852157, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11296 + }, + { + "mutation": "G11727A", + "count": 2902, + "proportion": 0.9924760601915185, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 11727 + }, + { + "mutation": "C12789T", + "count": 3015, + "proportion": 0.9917763157894737, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 12789 + }, + { + "mutation": "C12815T", + "count": 3015, + "proportion": 0.9921026653504442, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 12815 + }, + { + "mutation": "C12880T", + "count": 3034, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 12880 + }, + { + "mutation": "A12928G", + "count": 179, + "proportion": 0.059114927344782034, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 12928 + }, + { + "mutation": "T13339C", + "count": 2928, + "proportion": 0.9888551165146909, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 13339 + }, + { + "mutation": "C14408T", + "count": 3042, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 14408 + }, + { + "mutation": "C15714T", + "count": 3037, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 15714 + }, + { + "mutation": "T15756A", + "count": 3008, + "proportion": 0.9920844327176781, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 15756 + }, + { + "mutation": "G17334T", + "count": 559, + "proportion": 0.18522200132538105, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 17334 + }, + { + "mutation": "C17410T", + "count": 3030, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 17410 + }, + { + "mutation": "A18163G", + "count": 3027, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 18163 + }, + { + "mutation": "T18453C", + "count": 368, + "proportion": 0.12189466710831401, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 18453 + }, + { + "mutation": "A18492G", + "count": 3017, + "proportion": 0.9924342105263158, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 18492 + }, + { + "mutation": "C18894T", + "count": 2971, + "proportion": 0.99298128342246, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 18894 + }, + { + "mutation": "C19955T", + "count": 2971, + "proportion": 0.9996635262449529, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 19955 + }, + { + "mutation": "A20055G", + "count": 2972, + "proportion": 0.9966465459423206, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 20055 + }, + { + "mutation": "C21618T", + "count": 2906, + "proportion": 0.998282377189969, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21618 + }, + { + "mutation": "C21622T", + "count": 2903, + "proportion": 0.9979374355448608, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21622 + }, + { + "mutation": "G21624C", + "count": 2905, + "proportion": 0.9979388526279629, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 21624 + }, + { + "mutation": "T21633-", + "count": 2838, + "proportion": 0.9854166666666667, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21633 + }, + { + "mutation": "A21634-", + "count": 2838, + "proportion": 0.9968387776606955, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21634 + }, + { + "mutation": "C21635-", + "count": 2847, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21635 + }, + { + "mutation": "C21636-", + "count": 2847, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21636 + }, + { + "mutation": "C21637-", + "count": 2847, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21637 + }, + { + "mutation": "C21638-", + "count": 2846, + "proportion": 0.9992977528089888, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21638 + }, + { + "mutation": "C21639-", + "count": 2846, + "proportion": 0.9989469989469989, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21639 + }, + { + "mutation": "T21640-", + "count": 2846, + "proportion": 0.9944095038434662, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21640 + }, + { + "mutation": "G21641-", + "count": 2846, + "proportion": 0.9888811674774148, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 21641 + }, + { + "mutation": "C21711T", + "count": 2930, + "proportion": 0.9996588195155237, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21711 + }, + { + "mutation": "T21738C", + "count": 232, + "proportion": 0.07856417202844565, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 21738 + }, + { + "mutation": "T21765-", + "count": 2926, + "proportion": 0.9911924119241192, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21765 + }, + { + "mutation": "A21766-", + "count": 2926, + "proportion": 0.9986348122866894, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21766 + }, + { + "mutation": "C21767-", + "count": 2930, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21767 + }, + { + "mutation": "A21768-", + "count": 2930, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21768 + }, + { + "mutation": "T21769-", + "count": 2930, + "proportion": 0.9955827387020048, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21769 + }, + { + "mutation": "G21770-", + "count": 2927, + "proportion": 0.995578231292517, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 21770 + }, + { + "mutation": "G21941T", + "count": 3023, + "proportion": 0.9990085922009253, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 21941 + }, + { + "mutation": "G21987A", + "count": 3004, + "proportion": 0.9990023279015631, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 21987 + }, + { + "mutation": "T21992-", + "count": 3014, + "proportion": 0.9960343688037012, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21992 + }, + { + "mutation": "A21993-", + "count": 3014, + "proportion": 0.9973527465254798, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21993 + }, + { + "mutation": "T21994-", + "count": 3014, + "proportion": 0.9960343688037012, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21994 + }, + { + "mutation": "T22032C", + "count": 3014, + "proportion": 0.9993368700265252, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22032 + }, + { + "mutation": "C22033A", + "count": 3016, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22033 + }, + { + "mutation": "A22034G", + "count": 3017, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22034 + }, + { + "mutation": "A22194-", + "count": 2994, + "proportion": 0.9986657771847899, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 22194 + }, + { + "mutation": "T22195-", + "count": 2994, + "proportion": 0.9986657771847899, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 22195 + }, + { + "mutation": "T22196-", + "count": 2994, + "proportion": 0.9986657771847899, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 22196 + }, + { + "mutation": "T22200G", + "count": 2994, + "proportion": 0.9986657771847899, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22200 + }, + { + "mutation": "C22208T", + "count": 3001, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22208 + }, + { + "mutation": "C22295A", + "count": 2955, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22295 + }, + { + "mutation": "C22353A", + "count": 2947, + "proportion": 0.9859484777517564, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22353 + }, + { + "mutation": "A22556G", + "count": 2991, + "proportion": 0.9986644407345576, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22556 + }, + { + "mutation": "G22577C", + "count": 2984, + "proportion": 0.9996649916247906, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 22577 + }, + { + "mutation": "G22578A", + "count": 2985, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22578 + }, + { + "mutation": "G22599C", + "count": 1064, + "proportion": 0.35764705882352943, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 22599 + }, + { + "mutation": "A22629C", + "count": 2900, + "proportion": 0.9993108201240524, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 22629 + }, + { + "mutation": "C22674T", + "count": 2995, + "proportion": 0.9996662216288384, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22674 + }, + { + "mutation": "T22679C", + "count": 2995, + "proportion": 0.9996662216288384, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22679 + }, + { + "mutation": "C22686T", + "count": 2993, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22686 + }, + { + "mutation": "A22688G", + "count": 2979, + "proportion": 0.9983243967828418, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22688 + }, + { + "mutation": "G22770A", + "count": 2939, + "proportion": 0.996609020006782, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22770 + }, + { + "mutation": "G22775A", + "count": 3001, + "proportion": 0.9993339993339994, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22775 + }, + { + "mutation": "A22786C", + "count": 2996, + "proportion": 0.9946879150066401, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 22786 + }, + { + "mutation": "G22813T", + "count": 2962, + "proportion": 0.9986513823331086, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 22813 + }, + { + "mutation": "T22882G", + "count": 2935, + "proportion": 0.9993190330268982, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22882 + }, + { + "mutation": "G22895C", + "count": 2932, + "proportion": 0.9986376021798365, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 22895 + }, + { + "mutation": "T22896A", + "count": 2918, + "proportion": 0.9948857824752813, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 22896 + }, + { + "mutation": "G22898A", + "count": 2932, + "proportion": 0.9996590521650187, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22898 + }, + { + "mutation": "A22910G", + "count": 2941, + "proportion": 0.99932042133877, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22910 + }, + { + "mutation": "C22916T", + "count": 2936, + "proportion": 0.998639455782313, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22916 + }, + { + "mutation": "T22917G", + "count": 2939, + "proportion": 0.9993199591975519, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22917 + }, + { + "mutation": "T22926C", + "count": 2941, + "proportion": 0.9989809782608695, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22926 + }, + { + "mutation": "T22928C", + "count": 875, + "proportion": 0.29883879781420764, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22928 + }, + { + "mutation": "T22942A", + "count": 2946, + "proportion": 0.999660671869698, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 22942 + }, + { + "mutation": "G22992A", + "count": 2965, + "proportion": 0.998989218328841, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22992 + }, + { + "mutation": "C22995A", + "count": 2962, + "proportion": 0.9979784366576819, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22995 + }, + { + "mutation": "T23005A", + "count": 2933, + "proportion": 0.9986380660537963, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 23005 + }, + { + "mutation": "G23009-", + "count": 2888, + "proportion": 0.9951757408683667, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 23009 + }, + { + "mutation": "T23010-", + "count": 2888, + "proportion": 0.9951757408683667, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 23010 + }, + { + "mutation": "T23011-", + "count": 2888, + "proportion": 0.9803122878479293, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 23011 + }, + { + "mutation": "G23012A", + "count": 2954, + "proportion": 0.9983102399459277, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 23012 + }, + { + "mutation": "T23018C", + "count": 2954, + "proportion": 0.9983102399459277, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 23018 + }, + { + "mutation": "T23019C", + "count": 2961, + "proportion": 0.9983142279163857, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 23019 + }, + { + "mutation": "A23055G", + "count": 2965, + "proportion": 0.998989218328841, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 23055 + }, + { + "mutation": "A23063T", + "count": 2970, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 23063 + }, + { + "mutation": "T23075C", + "count": 2962, + "proportion": 0.995965030262273, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 23075 + }, + { + "mutation": "G23222A", + "count": 3035, + "proportion": 0.9996706192358367, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 23222 + }, + { + "mutation": "C23271T", + "count": 3037, + "proportion": 0.999670836076366, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23271 + }, + { + "mutation": "C23277T", + "count": 944, + "proportion": 0.31185992732077966, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23277 + }, + { + "mutation": "A23403G", + "count": 3037, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 23403 + }, + { + "mutation": "C23423T", + "count": 3036, + "proportion": 0.9996707276918011, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23423 + }, + { + "mutation": "C23525T", + "count": 2853, + "proportion": 0.9992994746059545, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23525 + }, + { + "mutation": "T23599G", + "count": 2987, + "proportion": 0.9903846153846154, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 23599 + }, + { + "mutation": "C23604G", + "count": 3005, + "proportion": 0.9943745863666446, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "G", + "position": 23604 + }, + { + "mutation": "C23854A", + "count": 3022, + "proportion": 0.9996692027786966, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 23854 + }, + { + "mutation": "G23948T", + "count": 3006, + "proportion": 0.9996674426338543, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 23948 + }, + { + "mutation": "C24378T", + "count": 2843, + "proportion": 0.9874956582146579, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 24378 + }, + { + "mutation": "A24424T", + "count": 2874, + "proportion": 0.9996521739130435, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 24424 + }, + { + "mutation": "T24469A", + "count": 2903, + "proportion": 0.9969093406593407, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 24469 + }, + { + "mutation": "G24821T", + "count": 220, + "proportion": 0.07275132275132275, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 24821 + }, + { + "mutation": "G24872T", + "count": 560, + "proportion": 0.18543046357615894, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 24872 + }, + { + "mutation": "C24990T", + "count": 3028, + "proportion": 0.9993399339933994, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 24990 + }, + { + "mutation": "C25000T", + "count": 3028, + "proportion": 0.9993399339933994, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25000 + }, + { + "mutation": "G25012T", + "count": 428, + "proportion": 0.1418157720344599, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 25012 + }, + { + "mutation": "C25207T", + "count": 2980, + "proportion": 0.9979906229068989, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25207 + }, + { + "mutation": "C25566T", + "count": 431, + "proportion": 0.14224422442244225, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25566 + }, + { + "mutation": "C25584T", + "count": 3041, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25584 + }, + { + "mutation": "C25680T", + "count": 232, + "proportion": 0.07649192218925156, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25680 + }, + { + "mutation": "C26060T", + "count": 3010, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26060 + }, + { + "mutation": "C26270T", + "count": 3006, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26270 + }, + { + "mutation": "G26529C", + "count": 3024, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 26529 + }, + { + "mutation": "C26577G", + "count": 2992, + "proportion": 0.9993319973279893, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "G", + "position": 26577 + }, + { + "mutation": "A26610G", + "count": 2865, + "proportion": 0.9899792674498963, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 26610 + }, + { + "mutation": "C26681T", + "count": 3023, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26681 + }, + { + "mutation": "G26709A", + "count": 3007, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 26709 + }, + { + "mutation": "C26833T", + "count": 3034, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26833 + }, + { + "mutation": "C26858T", + "count": 3027, + "proportion": 0.9986803035301881, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26858 + }, + { + "mutation": "C26894T", + "count": 260, + "proportion": 0.08583690987124463, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26894 + }, + { + "mutation": "A27259C", + "count": 3040, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 27259 + }, + { + "mutation": "G27382C", + "count": 3035, + "proportion": 0.999012508229098, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 27382 + }, + { + "mutation": "A27383T", + "count": 3035, + "proportion": 0.999012508229098, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 27383 + }, + { + "mutation": "T27384C", + "count": 3029, + "proportion": 0.9970375246872942, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 27384 + }, + { + "mutation": "C27476T", + "count": 208, + "proportion": 0.06855636123928807, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 27476 + }, + { + "mutation": "C27807T", + "count": 3020, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 27807 + }, + { + "mutation": "T27810C", + "count": 3022, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 27810 + }, + { + "mutation": "A28271T", + "count": 3021, + "proportion": 0.9990079365079365, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 28271 + }, + { + "mutation": "C28311T", + "count": 3021, + "proportion": 0.9986776859504132, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 28311 + }, + { + "mutation": "G28362-", + "count": 3004, + "proportion": 0.9937148527952365, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 28362 + }, + { + "mutation": "A28363-", + "count": 3004, + "proportion": 0.9943727242634889, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28363 + }, + { + "mutation": "G28364-", + "count": 3004, + "proportion": 0.9943727242634889, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 28364 + }, + { + "mutation": "A28365-", + "count": 3004, + "proportion": 0.9943727242634889, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28365 + }, + { + "mutation": "A28366-", + "count": 3004, + "proportion": 0.9943727242634889, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28366 + }, + { + "mutation": "C28367-", + "count": 3004, + "proportion": 0.9943727242634889, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 28367 + }, + { + "mutation": "G28368-", + "count": 3004, + "proportion": 0.9943727242634889, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 28368 + }, + { + "mutation": "C28369-", + "count": 3004, + "proportion": 0.9943727242634889, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 28369 + }, + { + "mutation": "A28370-", + "count": 3003, + "proportion": 0.9940417080436942, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28370 + }, + { + "mutation": "G28881A", + "count": 3034, + "proportion": 0.9993412384716732, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 28881 + }, + { + "mutation": "G28882A", + "count": 3034, + "proportion": 0.9993412384716732, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 28882 + }, + { + "mutation": "G28883C", + "count": 3034, + "proportion": 0.9993412384716732, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 28883 + }, + { + "mutation": "C28958A", + "count": 3010, + "proportion": 0.9914361001317523, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 28958 + }, + { + "mutation": "A29510C", + "count": 3014, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 29510 + }, + { + "mutation": "G29734-", + "count": 1898, + "proportion": 0.9663951120162932, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29734 + }, + { + "mutation": "A29735-", + "count": 1897, + "proportion": 0.9683511995916284, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29735 + }, + { + "mutation": "G29736-", + "count": 1897, + "proportion": 0.9683511995916284, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29736 + }, + { + "mutation": "G29737-", + "count": 1897, + "proportion": 0.9683511995916284, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29737 + }, + { + "mutation": "C29738-", + "count": 1897, + "proportion": 0.9683511995916284, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29738 + }, + { + "mutation": "C29739-", + "count": 1897, + "proportion": 0.9683511995916284, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29739 + }, + { + "mutation": "A29740-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29740 + }, + { + "mutation": "C29741-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29741 + }, + { + "mutation": "G29742-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29742 + }, + { + "mutation": "C29743-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29743 + }, + { + "mutation": "G29744-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29744 + }, + { + "mutation": "G29745-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29745 + }, + { + "mutation": "A29746-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29746 + }, + { + "mutation": "G29747-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29747 + }, + { + "mutation": "T29748-", + "count": 1896, + "proportion": 0.9683350357507661, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 29748 + }, + { + "mutation": "A29749-", + "count": 1896, + "proportion": 0.9683350357507661, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29749 + }, + { + "mutation": "C29750-", + "count": 1896, + "proportion": 0.9683350357507661, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29750 + }, + { + "mutation": "G29751-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29751 + }, + { + "mutation": "A29752-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29752 + }, + { + "mutation": "T29753-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 29753 + }, + { + "mutation": "C29754-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29754 + }, + { + "mutation": "G29755-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29755 + }, + { + "mutation": "A29756-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29756 + }, + { + "mutation": "G29757-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29757 + }, + { + "mutation": "T29758-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 29758 + }, + { + "mutation": "G29759-", + "count": 1896, + "proportion": 0.9683350357507661, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29759 + } + ], + "info": { + "dataVersion": "1720033519", + "requestId": "3f36cdd2-49ba-41ce-92ec-43dfa1c30e1e", + "requestInfo": "sars_cov-2_nextstrain_open on lapis.cov-spectrum.org at 2024-07-17T14:53:28.677114291", + "reportTo": "Please report to https://github.com/GenSpectrum/LAPIS/issues in case you encounter any unexpected issues. Please include the request ID and the requestInfo in your report." + } +} diff --git a/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_05.json b/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_05.json new file mode 100644 index 00000000..8ada5223 --- /dev/null +++ b/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_05.json @@ -0,0 +1,1927 @@ +{ + "data": [ + { + "mutation": "C21T", + "count": 100, + "proportion": 0.8264462809917356, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21 + }, + { + "mutation": "C44T", + "count": 265, + "proportion": 0.488929889298893, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 44 + }, + { + "mutation": "C241T", + "count": 2398, + "proportion": 0.9991666666666666, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 241 + }, + { + "mutation": "T670G", + "count": 2482, + "proportion": 0.9908183632734531, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 670 + }, + { + "mutation": "C774T", + "count": 178, + "proportion": 0.07071911005164878, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 774 + }, + { + "mutation": "C897A", + "count": 2432, + "proportion": 0.977491961414791, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 897 + }, + { + "mutation": "C2790T", + "count": 2426, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 2790 + }, + { + "mutation": "C3037T", + "count": 2526, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 3037 + }, + { + "mutation": "G3431T", + "count": 2304, + "proportion": 0.9901160292221745, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 3431 + }, + { + "mutation": "T3565C", + "count": 2485, + "proportion": 0.9868943606036537, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 3565 + }, + { + "mutation": "G4184A", + "count": 2532, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 4184 + }, + { + "mutation": "C4321T", + "count": 2496, + "proportion": 0.9881235154394299, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 4321 + }, + { + "mutation": "C4784T", + "count": 140, + "proportion": 0.05555555555555555, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 4784 + }, + { + "mutation": "A6183G", + "count": 2448, + "proportion": 0.9894907033144705, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 6183 + }, + { + "mutation": "C7113T", + "count": 1149, + "proportion": 0.46181672025723475, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 7113 + }, + { + "mutation": "A7842G", + "count": 2509, + "proportion": 0.9913077834847887, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 7842 + }, + { + "mutation": "C8293T", + "count": 2507, + "proportion": 0.9913009094503756, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 8293 + }, + { + "mutation": "G8393A", + "count": 2505, + "proportion": 0.9912940245350218, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 8393 + }, + { + "mutation": "C9344T", + "count": 2496, + "proportion": 0.9916567342073898, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 9344 + }, + { + "mutation": "A9424G", + "count": 2501, + "proportion": 0.9972089314194578, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 9424 + }, + { + "mutation": "C9534T", + "count": 2496, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 9534 + }, + { + "mutation": "C10029T", + "count": 2491, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 10029 + }, + { + "mutation": "C10198T", + "count": 2500, + "proportion": 0.9992006394884093, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 10198 + }, + { + "mutation": "G10447A", + "count": 2530, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 10447 + }, + { + "mutation": "C10449A", + "count": 2531, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 10449 + }, + { + "mutation": "G11042T", + "count": 2504, + "proportion": 0.9908982983775227, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 11042 + }, + { + "mutation": "T11288-", + "count": 2530, + "proportion": 0.9996048992493086, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11288 + }, + { + "mutation": "C11289-", + "count": 2530, + "proportion": 0.9996048992493086, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 11289 + }, + { + "mutation": "T11290-", + "count": 2530, + "proportion": 0.9996048992493086, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11290 + }, + { + "mutation": "G11291-", + "count": 2530, + "proportion": 0.9996048992493086, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 11291 + }, + { + "mutation": "G11292-", + "count": 2530, + "proportion": 0.9996048992493086, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 11292 + }, + { + "mutation": "T11293-", + "count": 2530, + "proportion": 0.9996048992493086, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11293 + }, + { + "mutation": "T11294-", + "count": 2529, + "proportion": 0.9992097984986171, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11294 + }, + { + "mutation": "T11295-", + "count": 2529, + "proportion": 0.9992097984986171, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11295 + }, + { + "mutation": "T11296-", + "count": 2529, + "proportion": 0.9992097984986171, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11296 + }, + { + "mutation": "G11727A", + "count": 2365, + "proportion": 0.9907834101382489, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 11727 + }, + { + "mutation": "C12789T", + "count": 2488, + "proportion": 0.9900517309988062, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 12789 + }, + { + "mutation": "C12815T", + "count": 2491, + "proportion": 0.9912455232789494, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 12815 + }, + { + "mutation": "C12880T", + "count": 2516, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 12880 + }, + { + "mutation": "T13339C", + "count": 2415, + "proportion": 0.990159901599016, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 13339 + }, + { + "mutation": "C14408T", + "count": 2533, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 14408 + }, + { + "mutation": "G15372T", + "count": 128, + "proportion": 0.05073325406262386, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 15372 + }, + { + "mutation": "C15714T", + "count": 2529, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 15714 + }, + { + "mutation": "T15756A", + "count": 2503, + "proportion": 0.9908946951702297, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 15756 + }, + { + "mutation": "G17334T", + "count": 1110, + "proportion": 0.44435548438751, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 17334 + }, + { + "mutation": "C17410T", + "count": 2528, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 17410 + }, + { + "mutation": "A18163G", + "count": 2522, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 18163 + }, + { + "mutation": "A18492G", + "count": 2504, + "proportion": 0.9916831683168317, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 18492 + }, + { + "mutation": "C18894T", + "count": 2481, + "proportion": 0.9912105473431881, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 18894 + }, + { + "mutation": "A19722G", + "count": 126, + "proportion": 0.050239234449760764, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 19722 + }, + { + "mutation": "C19955T", + "count": 2465, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 19955 + }, + { + "mutation": "A20055G", + "count": 2464, + "proportion": 0.9887640449438202, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 20055 + }, + { + "mutation": "G21123T", + "count": 150, + "proportion": 0.060265166733627966, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 21123 + }, + { + "mutation": "C21618T", + "count": 2397, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21618 + }, + { + "mutation": "C21622T", + "count": 2390, + "proportion": 0.999581764951903, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21622 + }, + { + "mutation": "G21624C", + "count": 2389, + "proportion": 0.9987458193979933, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 21624 + }, + { + "mutation": "T21633-", + "count": 2334, + "proportion": 0.986892177589852, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21633 + }, + { + "mutation": "A21634-", + "count": 2334, + "proportion": 0.9953091684434968, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21634 + }, + { + "mutation": "C21635-", + "count": 2343, + "proportion": 0.9995733788395904, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21635 + }, + { + "mutation": "C21636-", + "count": 2343, + "proportion": 0.9995733788395904, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21636 + }, + { + "mutation": "C21637-", + "count": 2343, + "proportion": 0.9995733788395904, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21637 + }, + { + "mutation": "C21638-", + "count": 2343, + "proportion": 0.9995733788395904, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21638 + }, + { + "mutation": "C21639-", + "count": 2343, + "proportion": 0.9987212276214834, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21639 + }, + { + "mutation": "T21640-", + "count": 2343, + "proportion": 0.9940602460755197, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21640 + }, + { + "mutation": "G21641-", + "count": 2342, + "proportion": 0.9819706498951782, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 21641 + }, + { + "mutation": "T21653-", + "count": 473, + "proportion": 0.18844621513944224, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21653 + }, + { + "mutation": "C21654-", + "count": 471, + "proportion": 0.18772419290554004, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21654 + }, + { + "mutation": "T21655-", + "count": 473, + "proportion": 0.1868088467614534, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21655 + }, + { + "mutation": "C21711T", + "count": 2465, + "proportion": 0.9979757085020243, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21711 + }, + { + "mutation": "T21738C", + "count": 164, + "proportion": 0.06642365330093156, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 21738 + }, + { + "mutation": "T21765-", + "count": 2465, + "proportion": 0.9983799108950993, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21765 + }, + { + "mutation": "A21766-", + "count": 2465, + "proportion": 0.9995944849959448, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21766 + }, + { + "mutation": "C21767-", + "count": 2466, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21767 + }, + { + "mutation": "A21768-", + "count": 2466, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21768 + }, + { + "mutation": "T21769-", + "count": 2466, + "proportion": 0.9987849331713244, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21769 + }, + { + "mutation": "G21770-", + "count": 2466, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 21770 + }, + { + "mutation": "G21941T", + "count": 2526, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 21941 + }, + { + "mutation": "G21987A", + "count": 2515, + "proportion": 0.9988085782366958, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 21987 + }, + { + "mutation": "T21992-", + "count": 2531, + "proportion": 0.9988161010260458, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21992 + }, + { + "mutation": "A21993-", + "count": 2531, + "proportion": 0.9988161010260458, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21993 + }, + { + "mutation": "T21994-", + "count": 2531, + "proportion": 0.9988161010260458, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21994 + }, + { + "mutation": "C22000A", + "count": 139, + "proportion": 0.055071315372424726, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22000 + }, + { + "mutation": "T22032C", + "count": 2527, + "proportion": 0.9984195969972343, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22032 + }, + { + "mutation": "C22033A", + "count": 2528, + "proportion": 0.9988146977479258, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22033 + }, + { + "mutation": "A22034G", + "count": 2528, + "proportion": 0.9988146977479258, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22034 + }, + { + "mutation": "G22111T", + "count": 262, + "proportion": 0.10372129849564529, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 22111 + }, + { + "mutation": "A22194-", + "count": 2510, + "proportion": 0.9996017522899243, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 22194 + }, + { + "mutation": "T22195-", + "count": 2510, + "proportion": 0.9996017522899243, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 22195 + }, + { + "mutation": "T22196-", + "count": 2510, + "proportion": 0.9996017522899243, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 22196 + }, + { + "mutation": "T22200G", + "count": 2492, + "proportion": 0.9924332935085624, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22200 + }, + { + "mutation": "C22208T", + "count": 2511, + "proportion": 0.9988066825775657, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22208 + }, + { + "mutation": "C22295A", + "count": 2504, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22295 + }, + { + "mutation": "C22353A", + "count": 2496, + "proportion": 0.9908693926161175, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22353 + }, + { + "mutation": "A22556G", + "count": 2512, + "proportion": 0.9996020692399522, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22556 + }, + { + "mutation": "G22577C", + "count": 2503, + "proportion": 0.9984044674910252, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 22577 + }, + { + "mutation": "G22578A", + "count": 2503, + "proportion": 0.9988028731045491, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22578 + }, + { + "mutation": "G22599C", + "count": 1464, + "proportion": 0.5867735470941884, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 22599 + }, + { + "mutation": "A22629C", + "count": 2422, + "proportion": 0.9979398434281005, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 22629 + }, + { + "mutation": "C22674T", + "count": 2505, + "proportion": 0.9984057393383818, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22674 + }, + { + "mutation": "T22679C", + "count": 2510, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22679 + }, + { + "mutation": "C22686T", + "count": 2504, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22686 + }, + { + "mutation": "A22688G", + "count": 2497, + "proportion": 0.9968063872255489, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22688 + }, + { + "mutation": "G22770A", + "count": 2476, + "proportion": 0.9947770188830856, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22770 + }, + { + "mutation": "G22775A", + "count": 2502, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22775 + }, + { + "mutation": "A22786C", + "count": 2426, + "proportion": 0.9893964110929854, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 22786 + }, + { + "mutation": "T22795G", + "count": 200, + "proportion": 0.0827129859387924, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22795 + }, + { + "mutation": "G22813T", + "count": 2424, + "proportion": 0.9987639060568603, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 22813 + }, + { + "mutation": "T22882G", + "count": 2394, + "proportion": 0.9991652754590985, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22882 + }, + { + "mutation": "G22895C", + "count": 2380, + "proportion": 0.9966499162479062, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 22895 + }, + { + "mutation": "T22896A", + "count": 2344, + "proportion": 0.9823973176865046, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 22896 + }, + { + "mutation": "G22898A", + "count": 2383, + "proportion": 0.9983242563887725, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22898 + }, + { + "mutation": "A22910G", + "count": 2388, + "proportion": 0.9974937343358395, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22910 + }, + { + "mutation": "C22916T", + "count": 2372, + "proportion": 0.9983164983164983, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22916 + }, + { + "mutation": "T22917G", + "count": 2392, + "proportion": 0.9987473903966597, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22917 + }, + { + "mutation": "T22926C", + "count": 2395, + "proportion": 0.999165623696287, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22926 + }, + { + "mutation": "T22928C", + "count": 1709, + "proportion": 0.7174643157010915, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22928 + }, + { + "mutation": "T22942A", + "count": 2399, + "proportion": 0.9995833333333334, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 22942 + }, + { + "mutation": "G22992A", + "count": 2475, + "proportion": 0.9979838709677419, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22992 + }, + { + "mutation": "C22995A", + "count": 2462, + "proportion": 0.993543179983858, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22995 + }, + { + "mutation": "T23005A", + "count": 2437, + "proportion": 0.9975440032746623, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 23005 + }, + { + "mutation": "G23009-", + "count": 2424, + "proportion": 0.9946655724251129, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 23009 + }, + { + "mutation": "T23010-", + "count": 2424, + "proportion": 0.9946655724251129, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 23010 + }, + { + "mutation": "T23011-", + "count": 2424, + "proportion": 0.9950738916256158, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 23011 + }, + { + "mutation": "G23012A", + "count": 2444, + "proportion": 0.9975510204081632, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 23012 + }, + { + "mutation": "T23018C", + "count": 2442, + "proportion": 0.996328029375765, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 23018 + }, + { + "mutation": "T23019C", + "count": 2464, + "proportion": 0.9963606955115245, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 23019 + }, + { + "mutation": "C23039G", + "count": 344, + "proportion": 0.13882163034705408, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "G", + "position": 23039 + }, + { + "mutation": "A23055G", + "count": 2458, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 23055 + }, + { + "mutation": "A23063T", + "count": 2457, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 23063 + }, + { + "mutation": "T23075C", + "count": 2453, + "proportion": 0.9979658258746948, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 23075 + }, + { + "mutation": "G23222A", + "count": 2532, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 23222 + }, + { + "mutation": "C23271T", + "count": 2534, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23271 + }, + { + "mutation": "C23277T", + "count": 420, + "proportion": 0.16600790513833993, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23277 + }, + { + "mutation": "A23403G", + "count": 2531, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 23403 + }, + { + "mutation": "C23423T", + "count": 2530, + "proportion": 0.9996048992493086, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23423 + }, + { + "mutation": "C23525T", + "count": 2246, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23525 + }, + { + "mutation": "T23599G", + "count": 2451, + "proportion": 0.9883064516129032, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 23599 + }, + { + "mutation": "C23604G", + "count": 2455, + "proportion": 0.9903186768858411, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "G", + "position": 23604 + }, + { + "mutation": "C23854A", + "count": 2468, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 23854 + }, + { + "mutation": "G23948T", + "count": 2445, + "proportion": 0.9987745098039216, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 23948 + }, + { + "mutation": "C24378T", + "count": 2196, + "proportion": 0.991869918699187, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 24378 + }, + { + "mutation": "A24424T", + "count": 2210, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 24424 + }, + { + "mutation": "T24469A", + "count": 2216, + "proportion": 0.9941677882458502, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 24469 + }, + { + "mutation": "A24819G", + "count": 182, + "proportion": 0.07213634562029331, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 24819 + }, + { + "mutation": "G24821T", + "count": 129, + "proportion": 0.051008303677342826, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 24821 + }, + { + "mutation": "G24872T", + "count": 1106, + "proportion": 0.44310897435897434, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 24872 + }, + { + "mutation": "C24990T", + "count": 2527, + "proportion": 0.9992091735863978, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 24990 + }, + { + "mutation": "C25000T", + "count": 2527, + "proportion": 0.9992091735863978, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25000 + }, + { + "mutation": "G25012T", + "count": 194, + "proportion": 0.07677087455480808, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 25012 + }, + { + "mutation": "C25207T", + "count": 2354, + "proportion": 0.998303647158609, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25207 + }, + { + "mutation": "C25566T", + "count": 196, + "proportion": 0.077500988533017, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25566 + }, + { + "mutation": "C25584T", + "count": 2533, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25584 + }, + { + "mutation": "G25593T", + "count": 135, + "proportion": 0.053423031262366444, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 25593 + }, + { + "mutation": "C25680T", + "count": 132, + "proportion": 0.05217391304347826, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25680 + }, + { + "mutation": "C26060T", + "count": 2512, + "proportion": 0.9992044550517104, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26060 + }, + { + "mutation": "C26270T", + "count": 2513, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26270 + }, + { + "mutation": "G26529C", + "count": 2530, + "proportion": 0.9996048992493086, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 26529 + }, + { + "mutation": "C26577G", + "count": 2525, + "proportion": 0.9980237154150198, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "G", + "position": 26577 + }, + { + "mutation": "A26610G", + "count": 2441, + "proportion": 0.9910678034916768, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 26610 + }, + { + "mutation": "C26681T", + "count": 2523, + "proportion": 0.998812351543943, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26681 + }, + { + "mutation": "G26709A", + "count": 2519, + "proportion": 0.9992066640222134, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 26709 + }, + { + "mutation": "C26833T", + "count": 2519, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26833 + }, + { + "mutation": "C26858T", + "count": 2496, + "proportion": 0.9976019184652278, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26858 + }, + { + "mutation": "C26894T", + "count": 132, + "proportion": 0.052778888444622155, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26894 + }, + { + "mutation": "A27259C", + "count": 2526, + "proportion": 0.9992088607594937, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 27259 + }, + { + "mutation": "G27382C", + "count": 2522, + "proportion": 0.998021369212505, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 27382 + }, + { + "mutation": "A27383T", + "count": 2525, + "proportion": 0.999208547685002, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 27383 + }, + { + "mutation": "T27384C", + "count": 2517, + "proportion": 0.9960427384250099, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 27384 + }, + { + "mutation": "C27807T", + "count": 2469, + "proportion": 0.9995951417004049, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 27807 + }, + { + "mutation": "T27810C", + "count": 2474, + "proportion": 0.9987888574888979, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 27810 + }, + { + "mutation": "A28271T", + "count": 2512, + "proportion": 0.9992044550517104, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 28271 + }, + { + "mutation": "C28311T", + "count": 2513, + "proportion": 0.9996022275258553, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 28311 + }, + { + "mutation": "G28362-", + "count": 2497, + "proportion": 0.993633107839236, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 28362 + }, + { + "mutation": "A28363-", + "count": 2497, + "proportion": 0.9944245320589407, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28363 + }, + { + "mutation": "G28364-", + "count": 2497, + "proportion": 0.9944245320589407, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 28364 + }, + { + "mutation": "A28365-", + "count": 2497, + "proportion": 0.999599679743795, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28365 + }, + { + "mutation": "A28366-", + "count": 2497, + "proportion": 0.999599679743795, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28366 + }, + { + "mutation": "C28367-", + "count": 2497, + "proportion": 0.999599679743795, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 28367 + }, + { + "mutation": "G28368-", + "count": 2497, + "proportion": 0.999599679743795, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 28368 + }, + { + "mutation": "C28369-", + "count": 2497, + "proportion": 0.999599679743795, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 28369 + }, + { + "mutation": "A28370-", + "count": 2495, + "proportion": 0.9987990392313851, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28370 + }, + { + "mutation": "G28881A", + "count": 2525, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 28881 + }, + { + "mutation": "G28882A", + "count": 2525, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 28882 + }, + { + "mutation": "G28883C", + "count": 2525, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 28883 + }, + { + "mutation": "C28958A", + "count": 2502, + "proportion": 0.9908910891089109, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 28958 + }, + { + "mutation": "A29510C", + "count": 2509, + "proportion": 0.999601593625498, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 29510 + }, + { + "mutation": "G29734-", + "count": 1563, + "proportion": 0.9714108141702921, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29734 + }, + { + "mutation": "A29735-", + "count": 1563, + "proportion": 0.9738317757009346, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29735 + }, + { + "mutation": "G29736-", + "count": 1563, + "proportion": 0.9738317757009346, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29736 + }, + { + "mutation": "G29737-", + "count": 1563, + "proportion": 0.9738317757009346, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29737 + }, + { + "mutation": "C29738-", + "count": 1563, + "proportion": 0.9738317757009346, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29738 + }, + { + "mutation": "C29739-", + "count": 1563, + "proportion": 0.9744389027431422, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29739 + }, + { + "mutation": "A29740-", + "count": 1563, + "proportion": 0.9750467872738615, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29740 + }, + { + "mutation": "C29741-", + "count": 1563, + "proportion": 0.9750467872738615, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29741 + }, + { + "mutation": "G29742-", + "count": 1563, + "proportion": 0.9750467872738615, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29742 + }, + { + "mutation": "C29743-", + "count": 1563, + "proportion": 0.9750467872738615, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29743 + }, + { + "mutation": "G29744-", + "count": 1563, + "proportion": 0.9750467872738615, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29744 + }, + { + "mutation": "G29745-", + "count": 1563, + "proportion": 0.9750467872738615, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29745 + }, + { + "mutation": "A29746-", + "count": 1563, + "proportion": 0.9750467872738615, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29746 + }, + { + "mutation": "G29747-", + "count": 1563, + "proportion": 0.9750467872738615, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29747 + }, + { + "mutation": "T29748-", + "count": 1563, + "proportion": 0.9750467872738615, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 29748 + }, + { + "mutation": "A29749-", + "count": 1563, + "proportion": 0.9750467872738615, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29749 + }, + { + "mutation": "C29750-", + "count": 1563, + "proportion": 0.9750467872738615, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29750 + }, + { + "mutation": "G29751-", + "count": 1563, + "proportion": 0.9750467872738615, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29751 + }, + { + "mutation": "A29752-", + "count": 1563, + "proportion": 0.9750467872738615, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29752 + }, + { + "mutation": "T29753-", + "count": 1563, + "proportion": 0.9750467872738615, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 29753 + }, + { + "mutation": "C29754-", + "count": 1563, + "proportion": 0.9750467872738615, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29754 + }, + { + "mutation": "G29755-", + "count": 1563, + "proportion": 0.9750467872738615, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29755 + }, + { + "mutation": "A29756-", + "count": 1563, + "proportion": 0.9750467872738615, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29756 + }, + { + "mutation": "G29757-", + "count": 1563, + "proportion": 0.9744389027431422, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29757 + }, + { + "mutation": "T29758-", + "count": 1563, + "proportion": 0.9744389027431422, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 29758 + }, + { + "mutation": "G29759-", + "count": 1562, + "proportion": 0.9738154613466334, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29759 + }, + { + "mutation": "C29870A", + "count": 2, + "proportion": 0.08333333333333333, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 29870 + } + ], + "info": { + "dataVersion": "1720033519", + "requestId": "d7009924-8753-48f3-b52f-fe1d9e0b9537", + "requestInfo": "sars_cov-2_nextstrain_open on lapis.cov-spectrum.org at 2024-07-17T14:53:28.677304289", + "reportTo": "Please report to https://github.com/GenSpectrum/LAPIS/issues in case you encounter any unexpected issues. Please include the request ID and the requestInfo in your report." + } +} diff --git a/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_06.json b/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_06.json new file mode 100644 index 00000000..ff14d0f5 --- /dev/null +++ b/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_06.json @@ -0,0 +1,1864 @@ +{ + "data": [ + { + "mutation": "C21T", + "count": 120, + "proportion": 0.7741935483870968, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21 + }, + { + "mutation": "C44T", + "count": 292, + "proportion": 0.5367647058823529, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 44 + }, + { + "mutation": "C241T", + "count": 2820, + "proportion": 0.9985835694050992, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 241 + }, + { + "mutation": "G515-", + "count": 157, + "proportion": 0.0599923576614444, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 515 + }, + { + "mutation": "T516-", + "count": 169, + "proportion": 0.06460244648318043, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 516 + }, + { + "mutation": "T517-", + "count": 169, + "proportion": 0.06462715105162524, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 517 + }, + { + "mutation": "A518-", + "count": 183, + "proportion": 0.07003444316877153, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 518 + }, + { + "mutation": "T670G", + "count": 2932, + "proportion": 0.9892037786774629, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 670 + }, + { + "mutation": "C774T", + "count": 558, + "proportion": 0.189280868385346, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 774 + }, + { + "mutation": "C897A", + "count": 2916, + "proportion": 0.9818181818181818, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 897 + }, + { + "mutation": "C2790T", + "count": 2901, + "proportion": 0.9993110575266965, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 2790 + }, + { + "mutation": "C3037T", + "count": 3029, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 3037 + }, + { + "mutation": "G3431T", + "count": 2828, + "proportion": 0.9915848527349228, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 3431 + }, + { + "mutation": "T3565C", + "count": 2967, + "proportion": 0.9886704431856048, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 3565 + }, + { + "mutation": "G4184A", + "count": 3035, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 4184 + }, + { + "mutation": "C4321T", + "count": 2960, + "proportion": 0.9830621056127532, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 4321 + }, + { + "mutation": "A6183G", + "count": 2974, + "proportion": 0.9890256069171932, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 6183 + }, + { + "mutation": "C7113T", + "count": 602, + "proportion": 0.2, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 7113 + }, + { + "mutation": "A7842G", + "count": 3013, + "proportion": 0.9920974646032269, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 7842 + }, + { + "mutation": "C8293T", + "count": 3007, + "proportion": 0.9907742998352553, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 8293 + }, + { + "mutation": "G8393A", + "count": 3011, + "proportion": 0.9920922570016475, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 8393 + }, + { + "mutation": "C9344T", + "count": 3037, + "proportion": 0.999670836076366, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 9344 + }, + { + "mutation": "A9424G", + "count": 2983, + "proportion": 0.9996648793565683, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 9424 + }, + { + "mutation": "C9534T", + "count": 3007, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 9534 + }, + { + "mutation": "C10029T", + "count": 2990, + "proportion": 0.9993315508021391, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 10029 + }, + { + "mutation": "C10198T", + "count": 2964, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 10198 + }, + { + "mutation": "G10447A", + "count": 3038, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 10447 + }, + { + "mutation": "C10449A", + "count": 3038, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 10449 + }, + { + "mutation": "G11042T", + "count": 3017, + "proportion": 0.9921078592568234, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 11042 + }, + { + "mutation": "T11288-", + "count": 3027, + "proportion": 0.9967072769180112, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11288 + }, + { + "mutation": "C11289-", + "count": 3027, + "proportion": 0.9967072769180112, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 11289 + }, + { + "mutation": "T11290-", + "count": 3027, + "proportion": 0.9967072769180112, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11290 + }, + { + "mutation": "G11291-", + "count": 3026, + "proportion": 0.9963780046098123, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 11291 + }, + { + "mutation": "G11292-", + "count": 3026, + "proportion": 0.9963780046098123, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 11292 + }, + { + "mutation": "T11293-", + "count": 3026, + "proportion": 0.9963780046098123, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11293 + }, + { + "mutation": "T11294-", + "count": 3024, + "proportion": 0.9957194599934146, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11294 + }, + { + "mutation": "T11295-", + "count": 3023, + "proportion": 0.9953901876852157, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11295 + }, + { + "mutation": "T11296-", + "count": 3023, + "proportion": 0.9953901876852157, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 11296 + }, + { + "mutation": "G11727A", + "count": 2902, + "proportion": 0.9924760601915185, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 11727 + }, + { + "mutation": "C12789T", + "count": 3015, + "proportion": 0.9917763157894737, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 12789 + }, + { + "mutation": "C12815T", + "count": 3015, + "proportion": 0.9921026653504442, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 12815 + }, + { + "mutation": "C12880T", + "count": 3034, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 12880 + }, + { + "mutation": "A12928G", + "count": 179, + "proportion": 0.059114927344782034, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 12928 + }, + { + "mutation": "T13339C", + "count": 2928, + "proportion": 0.9888551165146909, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 13339 + }, + { + "mutation": "C14408T", + "count": 3042, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 14408 + }, + { + "mutation": "C15714T", + "count": 3037, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 15714 + }, + { + "mutation": "T15756A", + "count": 3008, + "proportion": 0.9920844327176781, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 15756 + }, + { + "mutation": "G17334T", + "count": 559, + "proportion": 0.18522200132538105, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 17334 + }, + { + "mutation": "C17410T", + "count": 3030, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 17410 + }, + { + "mutation": "A18163G", + "count": 3027, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 18163 + }, + { + "mutation": "T18453C", + "count": 368, + "proportion": 0.12189466710831401, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 18453 + }, + { + "mutation": "A18492G", + "count": 3017, + "proportion": 0.9924342105263158, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 18492 + }, + { + "mutation": "C18894T", + "count": 2971, + "proportion": 0.99298128342246, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 18894 + }, + { + "mutation": "C19955T", + "count": 2971, + "proportion": 0.9996635262449529, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 19955 + }, + { + "mutation": "A20055G", + "count": 2972, + "proportion": 0.9966465459423206, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 20055 + }, + { + "mutation": "C21618T", + "count": 2906, + "proportion": 0.998282377189969, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21618 + }, + { + "mutation": "C21622T", + "count": 2903, + "proportion": 0.9979374355448608, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21622 + }, + { + "mutation": "G21624C", + "count": 2905, + "proportion": 0.9979388526279629, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 21624 + }, + { + "mutation": "T21633-", + "count": 2838, + "proportion": 0.9854166666666667, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21633 + }, + { + "mutation": "A21634-", + "count": 2838, + "proportion": 0.9968387776606955, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21634 + }, + { + "mutation": "C21635-", + "count": 2847, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21635 + }, + { + "mutation": "C21636-", + "count": 2847, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21636 + }, + { + "mutation": "C21637-", + "count": 2847, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21637 + }, + { + "mutation": "C21638-", + "count": 2846, + "proportion": 0.9992977528089888, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21638 + }, + { + "mutation": "C21639-", + "count": 2846, + "proportion": 0.9989469989469989, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21639 + }, + { + "mutation": "T21640-", + "count": 2846, + "proportion": 0.9944095038434662, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21640 + }, + { + "mutation": "G21641-", + "count": 2846, + "proportion": 0.9888811674774148, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 21641 + }, + { + "mutation": "C21711T", + "count": 2930, + "proportion": 0.9996588195155237, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 21711 + }, + { + "mutation": "T21738C", + "count": 232, + "proportion": 0.07856417202844565, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 21738 + }, + { + "mutation": "T21765-", + "count": 2926, + "proportion": 0.9911924119241192, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21765 + }, + { + "mutation": "A21766-", + "count": 2926, + "proportion": 0.9986348122866894, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21766 + }, + { + "mutation": "C21767-", + "count": 2930, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 21767 + }, + { + "mutation": "A21768-", + "count": 2930, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21768 + }, + { + "mutation": "T21769-", + "count": 2930, + "proportion": 0.9955827387020048, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21769 + }, + { + "mutation": "G21770-", + "count": 2927, + "proportion": 0.995578231292517, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 21770 + }, + { + "mutation": "G21941T", + "count": 3023, + "proportion": 0.9990085922009253, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 21941 + }, + { + "mutation": "G21987A", + "count": 3004, + "proportion": 0.9990023279015631, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 21987 + }, + { + "mutation": "T21992-", + "count": 3014, + "proportion": 0.9960343688037012, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21992 + }, + { + "mutation": "A21993-", + "count": 3014, + "proportion": 0.9973527465254798, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 21993 + }, + { + "mutation": "T21994-", + "count": 3014, + "proportion": 0.9960343688037012, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 21994 + }, + { + "mutation": "T22032C", + "count": 3014, + "proportion": 0.9993368700265252, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22032 + }, + { + "mutation": "C22033A", + "count": 3016, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22033 + }, + { + "mutation": "A22034G", + "count": 3017, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22034 + }, + { + "mutation": "A22194-", + "count": 2994, + "proportion": 0.9986657771847899, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 22194 + }, + { + "mutation": "T22195-", + "count": 2994, + "proportion": 0.9986657771847899, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 22195 + }, + { + "mutation": "T22196-", + "count": 2994, + "proportion": 0.9986657771847899, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 22196 + }, + { + "mutation": "T22200G", + "count": 2994, + "proportion": 0.9986657771847899, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22200 + }, + { + "mutation": "C22208T", + "count": 3001, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22208 + }, + { + "mutation": "C22295A", + "count": 2955, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22295 + }, + { + "mutation": "C22353A", + "count": 2947, + "proportion": 0.9859484777517564, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22353 + }, + { + "mutation": "A22556G", + "count": 2991, + "proportion": 0.9986644407345576, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22556 + }, + { + "mutation": "G22577C", + "count": 2984, + "proportion": 0.9996649916247906, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 22577 + }, + { + "mutation": "G22578A", + "count": 2985, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22578 + }, + { + "mutation": "G22599C", + "count": 1064, + "proportion": 0.35764705882352943, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 22599 + }, + { + "mutation": "A22629C", + "count": 2900, + "proportion": 0.9993108201240524, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 22629 + }, + { + "mutation": "C22674T", + "count": 2995, + "proportion": 0.9996662216288384, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22674 + }, + { + "mutation": "T22679C", + "count": 2995, + "proportion": 0.9996662216288384, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22679 + }, + { + "mutation": "C22686T", + "count": 2993, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22686 + }, + { + "mutation": "A22688G", + "count": 2979, + "proportion": 0.9983243967828418, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22688 + }, + { + "mutation": "G22770A", + "count": 2939, + "proportion": 0.996609020006782, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22770 + }, + { + "mutation": "G22775A", + "count": 3001, + "proportion": 0.9993339993339994, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22775 + }, + { + "mutation": "A22786C", + "count": 2996, + "proportion": 0.9946879150066401, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 22786 + }, + { + "mutation": "G22813T", + "count": 2962, + "proportion": 0.9986513823331086, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 22813 + }, + { + "mutation": "T22882G", + "count": 2935, + "proportion": 0.9993190330268982, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22882 + }, + { + "mutation": "G22895C", + "count": 2932, + "proportion": 0.9986376021798365, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 22895 + }, + { + "mutation": "T22896A", + "count": 2918, + "proportion": 0.9948857824752813, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 22896 + }, + { + "mutation": "G22898A", + "count": 2932, + "proportion": 0.9996590521650187, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22898 + }, + { + "mutation": "A22910G", + "count": 2941, + "proportion": 0.99932042133877, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 22910 + }, + { + "mutation": "C22916T", + "count": 2936, + "proportion": 0.998639455782313, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 22916 + }, + { + "mutation": "T22917G", + "count": 2939, + "proportion": 0.9993199591975519, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 22917 + }, + { + "mutation": "T22926C", + "count": 2941, + "proportion": 0.9989809782608695, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22926 + }, + { + "mutation": "T22928C", + "count": 875, + "proportion": 0.29883879781420764, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 22928 + }, + { + "mutation": "T22942A", + "count": 2946, + "proportion": 0.999660671869698, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 22942 + }, + { + "mutation": "G22992A", + "count": 2965, + "proportion": 0.998989218328841, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 22992 + }, + { + "mutation": "C22995A", + "count": 2962, + "proportion": 0.9979784366576819, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 22995 + }, + { + "mutation": "T23005A", + "count": 2933, + "proportion": 0.9986380660537963, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 23005 + }, + { + "mutation": "G23009-", + "count": 2888, + "proportion": 0.9951757408683667, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 23009 + }, + { + "mutation": "T23010-", + "count": 2888, + "proportion": 0.9951757408683667, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 23010 + }, + { + "mutation": "T23011-", + "count": 2888, + "proportion": 0.9803122878479293, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 23011 + }, + { + "mutation": "G23012A", + "count": 2954, + "proportion": 0.9983102399459277, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 23012 + }, + { + "mutation": "T23018C", + "count": 2954, + "proportion": 0.9983102399459277, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 23018 + }, + { + "mutation": "T23019C", + "count": 2961, + "proportion": 0.9983142279163857, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 23019 + }, + { + "mutation": "A23055G", + "count": 2965, + "proportion": 0.998989218328841, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 23055 + }, + { + "mutation": "A23063T", + "count": 2970, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 23063 + }, + { + "mutation": "T23075C", + "count": 2962, + "proportion": 0.995965030262273, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 23075 + }, + { + "mutation": "G23222A", + "count": 3035, + "proportion": 0.9996706192358367, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 23222 + }, + { + "mutation": "C23271T", + "count": 3037, + "proportion": 0.999670836076366, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23271 + }, + { + "mutation": "C23277T", + "count": 944, + "proportion": 0.31185992732077966, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23277 + }, + { + "mutation": "A23403G", + "count": 3037, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 23403 + }, + { + "mutation": "C23423T", + "count": 3036, + "proportion": 0.9996707276918011, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23423 + }, + { + "mutation": "C23525T", + "count": 2853, + "proportion": 0.9992994746059545, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 23525 + }, + { + "mutation": "T23599G", + "count": 2987, + "proportion": 0.9903846153846154, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "G", + "position": 23599 + }, + { + "mutation": "C23604G", + "count": 3005, + "proportion": 0.9943745863666446, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "G", + "position": 23604 + }, + { + "mutation": "C23854A", + "count": 3022, + "proportion": 0.9996692027786966, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 23854 + }, + { + "mutation": "G23948T", + "count": 3006, + "proportion": 0.9996674426338543, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 23948 + }, + { + "mutation": "C24378T", + "count": 2843, + "proportion": 0.9874956582146579, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 24378 + }, + { + "mutation": "A24424T", + "count": 2874, + "proportion": 0.9996521739130435, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 24424 + }, + { + "mutation": "T24469A", + "count": 2903, + "proportion": 0.9969093406593407, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "A", + "position": 24469 + }, + { + "mutation": "G24821T", + "count": 220, + "proportion": 0.07275132275132275, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 24821 + }, + { + "mutation": "G24872T", + "count": 560, + "proportion": 0.18543046357615894, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 24872 + }, + { + "mutation": "C24990T", + "count": 3028, + "proportion": 0.9993399339933994, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 24990 + }, + { + "mutation": "C25000T", + "count": 3028, + "proportion": 0.9993399339933994, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25000 + }, + { + "mutation": "G25012T", + "count": 428, + "proportion": 0.1418157720344599, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "T", + "position": 25012 + }, + { + "mutation": "C25207T", + "count": 2980, + "proportion": 0.9979906229068989, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25207 + }, + { + "mutation": "C25566T", + "count": 431, + "proportion": 0.14224422442244225, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25566 + }, + { + "mutation": "C25584T", + "count": 3041, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25584 + }, + { + "mutation": "C25680T", + "count": 232, + "proportion": 0.07649192218925156, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 25680 + }, + { + "mutation": "C26060T", + "count": 3010, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26060 + }, + { + "mutation": "C26270T", + "count": 3006, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26270 + }, + { + "mutation": "G26529C", + "count": 3024, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 26529 + }, + { + "mutation": "C26577G", + "count": 2992, + "proportion": 0.9993319973279893, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "G", + "position": 26577 + }, + { + "mutation": "A26610G", + "count": 2865, + "proportion": 0.9899792674498963, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "G", + "position": 26610 + }, + { + "mutation": "C26681T", + "count": 3023, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26681 + }, + { + "mutation": "G26709A", + "count": 3007, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 26709 + }, + { + "mutation": "C26833T", + "count": 3034, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26833 + }, + { + "mutation": "C26858T", + "count": 3027, + "proportion": 0.9986803035301881, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26858 + }, + { + "mutation": "C26894T", + "count": 260, + "proportion": 0.08583690987124463, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 26894 + }, + { + "mutation": "A27259C", + "count": 3040, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 27259 + }, + { + "mutation": "G27382C", + "count": 3035, + "proportion": 0.999012508229098, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 27382 + }, + { + "mutation": "A27383T", + "count": 3035, + "proportion": 0.999012508229098, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 27383 + }, + { + "mutation": "T27384C", + "count": 3029, + "proportion": 0.9970375246872942, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 27384 + }, + { + "mutation": "C27476T", + "count": 208, + "proportion": 0.06855636123928807, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 27476 + }, + { + "mutation": "C27807T", + "count": 3020, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 27807 + }, + { + "mutation": "T27810C", + "count": 3022, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "C", + "position": 27810 + }, + { + "mutation": "A28271T", + "count": 3021, + "proportion": 0.9990079365079365, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "T", + "position": 28271 + }, + { + "mutation": "C28311T", + "count": 3021, + "proportion": 0.9986776859504132, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "T", + "position": 28311 + }, + { + "mutation": "G28362-", + "count": 3004, + "proportion": 0.9937148527952365, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 28362 + }, + { + "mutation": "A28363-", + "count": 3004, + "proportion": 0.9943727242634889, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28363 + }, + { + "mutation": "G28364-", + "count": 3004, + "proportion": 0.9943727242634889, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 28364 + }, + { + "mutation": "A28365-", + "count": 3004, + "proportion": 0.9943727242634889, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28365 + }, + { + "mutation": "A28366-", + "count": 3004, + "proportion": 0.9943727242634889, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28366 + }, + { + "mutation": "C28367-", + "count": 3004, + "proportion": 0.9943727242634889, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 28367 + }, + { + "mutation": "G28368-", + "count": 3004, + "proportion": 0.9943727242634889, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 28368 + }, + { + "mutation": "C28369-", + "count": 3004, + "proportion": 0.9943727242634889, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 28369 + }, + { + "mutation": "A28370-", + "count": 3003, + "proportion": 0.9940417080436942, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 28370 + }, + { + "mutation": "G28881A", + "count": 3034, + "proportion": 0.9993412384716732, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 28881 + }, + { + "mutation": "G28882A", + "count": 3034, + "proportion": 0.9993412384716732, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "A", + "position": 28882 + }, + { + "mutation": "G28883C", + "count": 3034, + "proportion": 0.9993412384716732, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "C", + "position": 28883 + }, + { + "mutation": "C28958A", + "count": 3010, + "proportion": 0.9914361001317523, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "A", + "position": 28958 + }, + { + "mutation": "A29510C", + "count": 3014, + "proportion": 1.0, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "C", + "position": 29510 + }, + { + "mutation": "G29734-", + "count": 1898, + "proportion": 0.9663951120162932, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29734 + }, + { + "mutation": "A29735-", + "count": 1897, + "proportion": 0.9683511995916284, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29735 + }, + { + "mutation": "G29736-", + "count": 1897, + "proportion": 0.9683511995916284, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29736 + }, + { + "mutation": "G29737-", + "count": 1897, + "proportion": 0.9683511995916284, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29737 + }, + { + "mutation": "C29738-", + "count": 1897, + "proportion": 0.9683511995916284, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29738 + }, + { + "mutation": "C29739-", + "count": 1897, + "proportion": 0.9683511995916284, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29739 + }, + { + "mutation": "A29740-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29740 + }, + { + "mutation": "C29741-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29741 + }, + { + "mutation": "G29742-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29742 + }, + { + "mutation": "C29743-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29743 + }, + { + "mutation": "G29744-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29744 + }, + { + "mutation": "G29745-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29745 + }, + { + "mutation": "A29746-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29746 + }, + { + "mutation": "G29747-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29747 + }, + { + "mutation": "T29748-", + "count": 1896, + "proportion": 0.9683350357507661, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 29748 + }, + { + "mutation": "A29749-", + "count": 1896, + "proportion": 0.9683350357507661, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29749 + }, + { + "mutation": "C29750-", + "count": 1896, + "proportion": 0.9683350357507661, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29750 + }, + { + "mutation": "G29751-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29751 + }, + { + "mutation": "A29752-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29752 + }, + { + "mutation": "T29753-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 29753 + }, + { + "mutation": "C29754-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "C", + "mutationTo": "-", + "position": 29754 + }, + { + "mutation": "G29755-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29755 + }, + { + "mutation": "A29756-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "A", + "mutationTo": "-", + "position": 29756 + }, + { + "mutation": "G29757-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29757 + }, + { + "mutation": "T29758-", + "count": 1897, + "proportion": 0.9688457609805925, + "sequenceName": null, + "mutationFrom": "T", + "mutationTo": "-", + "position": 29758 + }, + { + "mutation": "G29759-", + "count": 1896, + "proportion": 0.9683350357507661, + "sequenceName": null, + "mutationFrom": "G", + "mutationTo": "-", + "position": 29759 + } + ], + "info": { + "dataVersion": "1720033519", + "requestId": "3f36cdd2-49ba-41ce-92ec-43dfa1c30e1e", + "requestInfo": "sars_cov-2_nextstrain_open on lapis.cov-spectrum.org at 2024-07-17T14:53:28.677114291", + "reportTo": "Please report to https://github.com/GenSpectrum/LAPIS/issues in case you encounter any unexpected issues. Please include the request ID and the requestInfo in your report." + } +} diff --git a/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_07.json b/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_07.json new file mode 100644 index 00000000..7e0d9e90 --- /dev/null +++ b/components/src/preact/mutationOverTime/__mockData__/nucleotideMutations_2024_07.json @@ -0,0 +1,9 @@ +{ + "data": [], + "info": { + "dataVersion": "1720033519", + "requestId": "4701b007-bce8-49cf-b417-035785c0273b", + "requestInfo": "sars_cov-2_nextstrain_open on lapis.cov-spectrum.org at 2024-07-17T14:53:28.668667270", + "reportTo": "Please report to https://github.com/GenSpectrum/LAPIS/issues in case you encounter any unexpected issues. Please include the request ID and the requestInfo in your report." + } +} diff --git a/components/src/preact/mutationOverTime/mutation-over-time-grid.tsx b/components/src/preact/mutationOverTime/mutation-over-time-grid.tsx new file mode 100644 index 00000000..8cc652b1 --- /dev/null +++ b/components/src/preact/mutationOverTime/mutation-over-time-grid.tsx @@ -0,0 +1,92 @@ +import { Fragment, type FunctionComponent } from 'preact'; + +import { + type MutationOverTimeDataGroupedByMutation, + type MutationOverTimeMutationValue, +} from '../../query/queryMutationOverTime'; +import { type Deletion, type Substitution } from '../../utils/mutations'; +import { compareTemporal, type Temporal } from '../../utils/temporal'; +import { singleGraphColorRGBByName } from '../shared/charts/colors'; +import { formatProportion } from '../shared/table/formatProportion'; + +export interface MutationOverTimeGridProps { + data: MutationOverTimeDataGroupedByMutation; +} + +const MutationOverTimeGrid: FunctionComponent = ({ data }) => { + const mutations = data.getFirstAxisKeys(); + const dates = data.getSecondAxisKeys().sort((a, b) => compareTemporal(a, b)); + + return ( +
+ {mutations.map((mutation, i) => { + return ( + +
+ +
+ {dates.map((date, j) => { + const value = data.get(mutation, date) ?? 0; + return ( +
+ +
+ ); + })} +
+ ); + })} +
+ ); +}; + +const ProportionCell: FunctionComponent<{ + value: MutationOverTimeMutationValue; + date: Temporal; + mutation: Substitution | Deletion; +}> = ({ value }) => { + // TODO(#353): Add tooltip with date, mutation and proportion + return ( + <> +
+
+ {formatProportion(value, 0)} +
+
+ + ); +}; + +const backgroundColor = (proportion: number) => { + // TODO(#353): Make minAlpha and maxAlpha configurable + const minAlpha = 0.0; + const maxAlpha = 1; + + const alpha = minAlpha + (maxAlpha - minAlpha) * proportion; + return singleGraphColorRGBByName('indigo', alpha); +}; + +const textColor = (proportion: number) => { + return proportion > 0.5 ? 'white' : 'black'; +}; + +const MutationCell: FunctionComponent<{ mutation: Substitution | Deletion }> = ({ mutation }) => { + return
{mutation.toString()}
; +}; + +export default MutationOverTimeGrid; diff --git a/components/src/preact/mutationOverTime/mutation-over-time.stories.tsx b/components/src/preact/mutationOverTime/mutation-over-time.stories.tsx new file mode 100644 index 00000000..a4ecf352 --- /dev/null +++ b/components/src/preact/mutationOverTime/mutation-over-time.stories.tsx @@ -0,0 +1,199 @@ +import { type Meta, type StoryObj } from '@storybook/preact'; + +import aggregated_date from './__mockData__/aggregated_date.json'; +import nucleotideMutation_01 from './__mockData__/nucleotideMutations_2024_01.json'; +import nucleotideMutation_02 from './__mockData__/nucleotideMutations_2024_02.json'; +import nucleotideMutation_03 from './__mockData__/nucleotideMutations_2024_03.json'; +import nucleotideMutation_04 from './__mockData__/nucleotideMutations_2024_04.json'; +import nucleotideMutation_05 from './__mockData__/nucleotideMutations_2024_05.json'; +import nucleotideMutation_06 from './__mockData__/nucleotideMutations_2024_06.json'; +import nucleotideMutation_07 from './__mockData__/nucleotideMutations_2024_07.json'; +import { MutationOverTime, type MutationOverTimeProps } from './mutation-over-time'; +import { AGGREGATED_ENDPOINT, LAPIS_URL, NUCLEOTIDE_MUTATIONS_ENDPOINT } from '../../constants'; +import referenceGenome from '../../lapisApi/__mockData__/referenceGenome.json'; +import { LapisUrlContext } from '../LapisUrlContext'; +import { ReferenceGenomeContext } from '../ReferenceGenomeContext'; + +const meta: Meta = { + title: 'Visualization/Mutation over time', + component: MutationOverTime, + argTypes: { + lapisFilter: { control: 'object' }, + sequenceType: { + options: ['nucleotide', 'amino acid'], + control: { type: 'radio' }, + }, + views: { + options: ['table', 'grid', 'insertions'], + control: { type: 'check' }, + }, + width: { control: 'text' }, + height: { control: 'text' }, + headline: { control: 'text' }, + granularity: { + options: ['day', 'week', 'month', 'year'], + control: { type: 'radio' }, + }, + }, +}; + +export default meta; + +const Template = { + render: (args: MutationOverTimeProps) => ( + + + + + + ), +}; + +export const Default: StoryObj = { + ...Template, + args: { + lapisFilter: { pangoLineage: 'JN.1*', dateFrom: '2024-01-15', dateTo: '2024-07-10' }, + sequenceType: 'nucleotide', + views: ['grid'], + width: '100%', + height: '700px', + headline: 'Mutation over time', + granularity: 'month', + }, + parameters: { + fetchMock: { + mocks: [ + { + matcher: { + name: 'aggregated_dates', + url: AGGREGATED_ENDPOINT, + body: { + dateFrom: '2024-01-15', + dateTo: '2024-07-10', + fields: ['date'], + pangoLineage: 'JN.1*', + }, + }, + response: { + status: 200, + body: aggregated_date, + }, + }, + { + matcher: { + name: 'nucleotideMutations_01', + url: NUCLEOTIDE_MUTATIONS_ENDPOINT, + body: { + pangoLineage: 'JN.1*', + dateFrom: '2024-01-01', + dateTo: '2024-01-31', + }, + }, + response: { + status: 200, + body: nucleotideMutation_01, + }, + }, + { + matcher: { + name: 'nucleotideMutations_02', + url: NUCLEOTIDE_MUTATIONS_ENDPOINT, + body: { + pangoLineage: 'JN.1*', + dateFrom: '2024-02-01', + dateTo: '2024-02-29', + }, + }, + response: { + status: 200, + body: nucleotideMutation_02, + }, + }, + { + matcher: { + name: 'nucleotideMutations_03', + url: NUCLEOTIDE_MUTATIONS_ENDPOINT, + body: { + pangoLineage: 'JN.1*', + dateFrom: '2024-03-01', + dateTo: '2024-03-31', + }, + response: { + status: 200, + body: nucleotideMutation_03, + }, + }, + }, + { + matcher: { + name: 'nucleotideMutations_04', + url: NUCLEOTIDE_MUTATIONS_ENDPOINT, + body: { + pangoLineage: 'JN.1*', + dateFrom: '2024-04-01', + dateTo: '2024-04-30', + }, + response: { + status: 200, + body: nucleotideMutation_04, + }, + }, + }, + { + matcher: { + name: 'nucleotideMutations_05', + url: NUCLEOTIDE_MUTATIONS_ENDPOINT, + body: { + pangoLineage: 'JN.1*', + dateFrom: '2024-05-01', + dateTo: '2024-05-31', + }, + response: { + status: 200, + body: nucleotideMutation_05, + }, + }, + }, + { + matcher: { + name: 'nucleotideMutations_06', + url: NUCLEOTIDE_MUTATIONS_ENDPOINT, + body: { + pangoLineage: 'JN.1*', + dateFrom: '2024-06-01', + dateTo: '2024-06-30', + }, + response: { + status: 200, + body: nucleotideMutation_06, + }, + }, + }, + + { + matcher: { + name: 'nucleotideMutations_07', + url: NUCLEOTIDE_MUTATIONS_ENDPOINT, + body: { + pangoLineage: 'JN.1*', + dateFrom: '2024-07-01', + dateTo: '2024-07-31', + }, + response: { + status: 200, + body: nucleotideMutation_07, + }, + }, + }, + ], + }, + }, +}; diff --git a/components/src/preact/mutationOverTime/mutation-over-time.tsx b/components/src/preact/mutationOverTime/mutation-over-time.tsx new file mode 100644 index 00000000..4a613d8a --- /dev/null +++ b/components/src/preact/mutationOverTime/mutation-over-time.tsx @@ -0,0 +1,184 @@ +import { type FunctionComponent } from 'preact'; +import { type Dispatch, type StateUpdater, useContext, useMemo, useState } from 'preact/hooks'; + +import MutationOverTimeGrid from './mutation-over-time-grid'; +import { + filterMutationOverTimeData, + type MutationOverTimeDataGroupedByMutation, + queryMutationOverTimeData, +} from '../../query/queryMutationOverTime'; +import { type LapisFilter, type SequenceType, type TemporalGranularity } from '../../types'; +import { LapisUrlContext } from '../LapisUrlContext'; +import { type DisplayedSegment, SegmentSelector, useDisplayedSegments } from '../components/SegmentSelector'; +import { CsvDownloadButton } from '../components/csv-download-button'; +import { ErrorBoundary } from '../components/error-boundary'; +import { ErrorDisplay } from '../components/error-display'; +import Headline from '../components/headline'; +import Info from '../components/info'; +import { LoadingDisplay } from '../components/loading-display'; +import { type DisplayedMutationType, MutationTypeSelector } from '../components/mutation-type-selector'; +import { NoDataDisplay } from '../components/no-data-display'; +import type { ProportionInterval } from '../components/proportion-selector'; +import { ProportionSelectorDropdown } from '../components/proportion-selector-dropdown'; +import { ResizeContainer } from '../components/resize-container'; +import Tabs from '../components/tabs'; +import { useQuery } from '../useQuery'; + +export type View = 'grid'; + +export interface MutationOverTimeInnerProps { + lapisFilter: LapisFilter; + sequenceType: SequenceType; + views: View[]; + granularity: TemporalGranularity; +} + +export interface MutationOverTimeProps extends MutationOverTimeInnerProps { + width: string; + height: string; + headline?: string; +} + +export const MutationOverTime: FunctionComponent = ({ + width, + height, + headline = 'Mutation over time', + ...innerProps +}) => { + const size = { height, width }; + + return ( + + + + + + + + ); +}; + +export const MutationOverTimeInner: FunctionComponent = ({ + lapisFilter, + sequenceType, + views, + granularity, +}) => { + const lapis = useContext(LapisUrlContext); + const { data, error, isLoading } = useQuery(async () => { + return queryMutationOverTimeData(lapisFilter, sequenceType, lapis, 'date', granularity); + }, [lapisFilter, sequenceType, lapis]); + + if (isLoading) { + return ; + } + + if (error !== null) { + return ; + } + + if (data === null) { + return ; + } + + return ; +}; + +type MutationOverTimeTabsProps = { + mutationOverTimeData: MutationOverTimeDataGroupedByMutation; + sequenceType: SequenceType; + views: View[]; +}; + +const MutationOverTimeTabs: FunctionComponent = ({ + mutationOverTimeData, + sequenceType, + views, +}) => { + const [proportionInterval, setProportionInterval] = useState({ min: 0.05, max: 0.9 }); + + const [displayedSegments, setDisplayedSegments] = useDisplayedSegments(sequenceType); + const [displayedMutationTypes, setDisplayedMutationTypes] = useState([ + { label: 'Substitutions', checked: true, type: 'substitution' }, + { label: 'Deletions', checked: true, type: 'deletion' }, + ]); + + const filteredData = useMemo( + () => + filterMutationOverTimeData( + mutationOverTimeData.copy(), + displayedSegments, + displayedMutationTypes, + proportionInterval, + ), + [mutationOverTimeData, displayedSegments, displayedMutationTypes, proportionInterval], + ); + + const getTab = (view: View) => { + switch (view) { + case 'grid': + return { + title: 'Grid', + content: , + }; + } + }; + + const tabs = views.map((view) => getTab(view)); + + const toolbar = () => ( + + ); + + return ; +}; + +type ToolbarProps = { + displayedSegments: DisplayedSegment[]; + setDisplayedSegments: (segments: DisplayedSegment[]) => void; + displayedMutationTypes: DisplayedMutationType[]; + setDisplayedMutationTypes: (types: DisplayedMutationType[]) => void; + proportionInterval: ProportionInterval; + setProportionInterval: Dispatch>; +}; + +const Toolbar: FunctionComponent = ({ + displayedSegments, + setDisplayedSegments, + displayedMutationTypes, + setDisplayedMutationTypes, + proportionInterval, + setProportionInterval, +}) => { + return ( + <> + + + <> + setProportionInterval((prev) => ({ ...prev, min }))} + setMaxProportion={(max) => setProportionInterval((prev) => ({ ...prev, max }))} + /> + { + return [{ value: 1 }, { value: 2 }]; + }} + filename='mutation-over-time.csv' + /> + + Info for mutation over time + + ); +}; diff --git a/components/src/preact/numberSequencesOverTime/getNumberOfSequencesOverTimeTableData.ts b/components/src/preact/numberSequencesOverTime/getNumberOfSequencesOverTimeTableData.ts index aeb33d91..b05244dc 100644 --- a/components/src/preact/numberSequencesOverTime/getNumberOfSequencesOverTimeTableData.ts +++ b/components/src/preact/numberSequencesOverTime/getNumberOfSequencesOverTimeTableData.ts @@ -21,7 +21,7 @@ export const getNumberOfSequencesOverTimeTableData = { - return `${(proportion * 100).toFixed(2)}%`; +export const formatProportion = (proportion: number, digits: number = 2) => { + return `${(proportion * 100).toFixed(digits)}%`; }; diff --git a/components/src/query/queryAggregatedDataOverTime.ts b/components/src/query/queryAggregatedDataOverTime.ts index a9e14249..961e3078 100644 --- a/components/src/query/queryAggregatedDataOverTime.ts +++ b/components/src/query/queryAggregatedDataOverTime.ts @@ -6,13 +6,7 @@ import { RenameFieldOperator } from '../operator/RenameFieldOperator'; import { SlidingOperator } from '../operator/SlidingOperator'; import { SortOperator } from '../operator/SortOperator'; import type { LapisFilter, TemporalGranularity } from '../types'; -import { - compareTemporal, - generateAllInRange, - getMinMaxTemporal, - type Temporal, - TemporalCache, -} from '../utils/temporal'; +import { compareTemporal, generateAllInRange, getMinMaxTemporal, parseDate, type Temporal } from '../utils/temporal'; export function queryAggregatedDataOverTime( filter: LapisFilter, @@ -36,32 +30,17 @@ export function queryAggregatedDataOverTime( return smoothingWindow >= 1 ? new SlidingOperator(sortData, smoothingWindow, averageSmoothing) : sortData; } -function mapDateToGranularityRange(d: { date: string | null; count: number }, granularity: TemporalGranularity) { - let dateRange: Temporal | null = null; - if (d.date !== null) { - const date = TemporalCache.getInstance().getYearMonthDay(d.date); - switch (granularity) { - case 'day': - dateRange = date; - break; - case 'week': - dateRange = date.week; - break; - case 'month': - dateRange = date.month; - break; - case 'year': - dateRange = date.year; - break; - } - } +export function mapDateToGranularityRange( + data: { date: string | null; count: number }, + granularity: TemporalGranularity, +) { return { - dateRange, - count: d.count, + dateRange: data.date === null ? null : parseDate(data.date, granularity), + count: data.count, }; } -function dateRangeCompare(a: { dateRange: Temporal | null }, b: { dateRange: Temporal | null }) { +export function dateRangeCompare(a: { dateRange: Temporal | null }, b: { dateRange: Temporal | null }) { if (a.dateRange === null) { return 1; } diff --git a/components/src/query/queryMutationOverTime.ts b/components/src/query/queryMutationOverTime.ts new file mode 100644 index 00000000..e3c90e1d --- /dev/null +++ b/components/src/query/queryMutationOverTime.ts @@ -0,0 +1,219 @@ +import { dateRangeCompare, mapDateToGranularityRange } from './queryAggregatedDataOverTime'; +import { FetchAggregatedOperator } from '../operator/FetchAggregatedOperator'; +import { FetchSubstitutionsOrDeletionsOperator } from '../operator/FetchSubstitutionsOrDeletionsOperator'; +import { GroupByAndSumOperator } from '../operator/GroupByAndSumOperator'; +import { MapOperator } from '../operator/MapOperator'; +import { RenameFieldOperator } from '../operator/RenameFieldOperator'; +import { SortOperator } from '../operator/SortOperator'; +import type { DisplayedSegment } from '../preact/components/SegmentSelector'; +import type { DisplayedMutationType } from '../preact/components/mutation-type-selector'; +import { + type LapisFilter, + type SequenceType, + type SubstitutionOrDeletionEntry, + type TemporalGranularity, +} from '../types'; +import { Map2d } from '../utils/Map2d'; +import { type Deletion, type Substitution } from '../utils/mutations'; +import { generateAllInRange, getMinMaxTemporal, parseDate, type Temporal } from '../utils/temporal'; + +export type MutationOverTimeData = { + date: Temporal; + mutations: SubstitutionOrDeletionEntry[]; +}; + +export type MutationOverTimeMutationValue = number; +export type MutationOverTimeDataGroupedByMutation = Map2d< + Substitution | Deletion, + Temporal, + MutationOverTimeMutationValue +>; + +export async function queryMutationOverTimeData( + lapisFilter: LapisFilter, + sequenceType: 'nucleotide' | 'amino acid', + lapis: string, + lapisDateField: string, + granularity: TemporalGranularity, + signal?: AbortSignal, +) { + const allDates = await getDatesInDataset(lapisFilter, lapis, granularity, lapisDateField, signal); + + const subQueries = allDates.map(async (date) => { + const dateFrom = date.firstDay.toString(); + const dateTo = date.lastDay.toString(); + + const filter = { + ...lapisFilter, + [`${lapisDateField}From`]: dateFrom, + [`${lapisDateField}To`]: dateTo, + }; + + const data = await fetchAndPrepare(filter, sequenceType).evaluate(lapis, signal); + return { + date, + mutations: data.content, + }; + }); + + const data = await Promise.all(subQueries); + + return groupByMutation(data); +} + +async function getDatesInDataset( + lapisFilter: LapisFilter, + lapis: string, + granularity: 'day' | 'week' | 'month' | 'year', + lapisDateField: string, + signal: AbortSignal | undefined, +) { + const { content: availableDates } = await queryAvailableDates( + lapisFilter, + lapis, + granularity, + lapisDateField, + signal, + ); + + const { dateFrom, dateTo } = getDateRangeFromFilter(lapisFilter, lapisDateField, granularity); + const { min, max } = getMinMaxTemporal([...availableDates, dateFrom, dateTo]); + return generateAllInRange(min, max); +} + +function getDateRangeFromFilter(lapisFilter: LapisFilter, lapisDateField: string, granularity: TemporalGranularity) { + const valueFromFilter = lapisFilter[lapisDateField] as string | null; + + if (valueFromFilter) { + return { + dateFrom: parseDate(valueFromFilter, granularity), + dateTo: parseDate(valueFromFilter, granularity), + }; + } + + const minFromFilter = lapisFilter[`${lapisDateField}From`] as string | null; + const maxFromFilter = lapisFilter[`${lapisDateField}To`] as string | null; + + return { + dateFrom: minFromFilter ? parseDate(minFromFilter, granularity) : null, + dateTo: maxFromFilter ? parseDate(maxFromFilter, granularity) : null, + }; +} + +function queryAvailableDates( + lapisFilter: LapisFilter, + lapis: string, + granularity: TemporalGranularity, + lapisDateField: string, + signal?: AbortSignal, +) { + return fetchAndPrepareDates(lapisFilter, granularity, lapisDateField).evaluate(lapis, signal); +} + +function fetchAndPrepareDates( + filter: LapisFilter, + granularity: TemporalGranularity, + lapisDateField: LapisDateField, +) { + const fetchData = new FetchAggregatedOperator<{ [key in LapisDateField]: string | null }>(filter, [lapisDateField]); + const dataWithFixedDateKey = new RenameFieldOperator(fetchData, lapisDateField, 'date'); + const mapData = new MapOperator(dataWithFixedDateKey, (data) => mapDateToGranularityRange(data, granularity)); + const groupByData = new GroupByAndSumOperator(mapData, 'dateRange', 'count'); + const sortData = new SortOperator(groupByData, dateRangeCompare); + return new MapOperator(sortData, (data) => data.dateRange); +} + +function fetchAndPrepare(filter: LapisFilter, sequenceType: SequenceType) { + return new FetchSubstitutionsOrDeletionsOperator(filter, sequenceType); +} + +export function filterMutationOverTimeData( + data: Map2d, + displayedSegments: DisplayedSegment[], + displayedMutationTypes: DisplayedMutationType[], + proportionInterval: { min: number; max: number }, +) { + filterDisplayedSegments(displayedSegments, data); + filterMutationTypes(displayedMutationTypes, data); + filterProportion(data, proportionInterval); + + return data; +} + +function filterDisplayedSegments( + displayedSegments: DisplayedSegment[], + data: Map2d, +) { + displayedSegments.forEach((segment) => { + if (!segment.checked) { + data.getFirstAxisKeys().forEach((mutation) => { + if (mutation.segment === segment.segment) { + data.deleteRow(mutation); + } + }); + } + }); +} + +function filterMutationTypes( + displayedMutationTypes: DisplayedMutationType[], + data: Map2d, +) { + displayedMutationTypes.forEach((mutationType) => { + if (!mutationType.checked) { + data.getFirstAxisKeys().forEach((mutation) => { + if (mutationType.type === mutation.type) { + data.deleteRow(mutation); + } + }); + } + }); +} + +function filterProportion( + data: Map2d, + proportionInterval: { + min: number; + max: number; + }, +) { + data.getFirstAxisKeys().forEach((mutation) => { + const row = data.getRow(mutation, 0); + if ( + !row.some((value) => { + return value >= proportionInterval.min && value <= proportionInterval.max; + }) + ) { + data.deleteRow(mutation); + } + }); +} + +export function groupByMutation(data: MutationOverTimeData[]) { + const dataArray = new Map2d( + (mutation) => mutation.code, + (date) => date.toString(), + ); + + data.forEach((mutationData) => { + mutationData.mutations.forEach((mutationEntry) => { + dataArray.set(mutationEntry.mutation, mutationData.date, mutationEntry.proportion); + }); + }); + + addZeroValuesForDatesWithNoMutationData(dataArray, data); + + return dataArray; +} + +function addZeroValuesForDatesWithNoMutationData( + dataArray: Map2d, + data: MutationOverTimeData[], +) { + const someMutation = dataArray.getFirstAxisKeys()[0]; + data.forEach((mutationData) => { + if (mutationData.mutations.length === 0) { + dataArray.set(someMutation, mutationData.date, 0); + } + }); +} diff --git a/components/src/query/queryNumberOfSequencesOverTime.ts b/components/src/query/queryNumberOfSequencesOverTime.ts index c200ed2a..aabdcbff 100644 --- a/components/src/query/queryNumberOfSequencesOverTime.ts +++ b/components/src/query/queryNumberOfSequencesOverTime.ts @@ -4,7 +4,6 @@ import { sortNullToBeginningThenByDate } from '../utils/sort'; import { makeArray } from '../utils/utils'; export type NumberOfSequencesDatasets = Awaited>; -export type NumberOfSequencesDataset = NumberOfSequencesDatasets[number]; export async function queryNumberOfSequencesOverTime( lapis: string, diff --git a/components/src/query/queryRelativeGrowthAdvantage.ts b/components/src/query/queryRelativeGrowthAdvantage.ts index 158b83e2..f93623a6 100644 --- a/components/src/query/queryRelativeGrowthAdvantage.ts +++ b/components/src/query/queryRelativeGrowthAdvantage.ts @@ -28,11 +28,13 @@ export async function queryRelativeGrowthAdvantage d.date)); - if (!minMaxDate) { + const { min, max } = getMinMaxTemporal(denominatorData.content.map((d) => d.date)); + if (!min && !max) { return null; } - const [minDate, maxDate] = minMaxDate as [YearMonthDay, YearMonthDay]; + const minDate = min as YearMonthDay; + const maxDate = max as YearMonthDay; + const numeratorCounts = new Map(); numeratorData.content.forEach((d) => { if (d.date) { diff --git a/components/src/utils/Map2d.ts b/components/src/utils/Map2d.ts new file mode 100644 index 00000000..39b20fe7 --- /dev/null +++ b/components/src/utils/Map2d.ts @@ -0,0 +1,75 @@ +import hash from 'object-hash'; + +export class Map2d { + readonly data: Map> = new Map>(); + readonly keysFirstAxis = new Map(); + readonly keysSecondAxis = new Map(); + + constructor( + readonly serializeFirstAxis: (key: Key1) => string = (key) => (typeof key === 'string' ? key : hash(key)), + readonly serializeSecondAxis: (key: Key2) => string = (key) => (typeof key === 'string' ? key : hash(key)), + ) {} + + get(keyFirstAxis: Key1, keySecondAxis: Key2) { + const serializedKeyFirstAxis = this.serializeFirstAxis(keyFirstAxis); + const serializedKeySecondAxis = this.serializeSecondAxis(keySecondAxis); + return this.data.get(serializedKeyFirstAxis)?.get(serializedKeySecondAxis); + } + + getRow(key: Key1, fillEmptyWith: Value) { + const serializedKeyFirstAxis = this.serializeFirstAxis(key); + const row = this.data.get(serializedKeyFirstAxis); + if (row === undefined) { + return []; + } + return Array.from(this.keysSecondAxis.keys()).map((key) => row.get(key) ?? fillEmptyWith); + } + + set(keyFirstAxis: Key1, keySecondAxis: Key2, value: Value) { + const serializedKeyFirstAxis = this.serializeFirstAxis(keyFirstAxis); + const serializedKeySecondAxis = this.serializeSecondAxis(keySecondAxis); + + if (!this.data.has(serializedKeyFirstAxis)) { + this.data.set(serializedKeyFirstAxis, new Map()); + } + + this.data.get(serializedKeyFirstAxis)!.set(serializedKeySecondAxis, value); + + this.keysFirstAxis.set(serializedKeyFirstAxis, keyFirstAxis); + this.keysSecondAxis.set(serializedKeySecondAxis, keySecondAxis); + } + + deleteRow(key: Key1) { + const serializedKeyFirstAxis = this.serializeFirstAxis(key); + this.data.delete(serializedKeyFirstAxis); + this.keysFirstAxis.delete(serializedKeyFirstAxis); + } + + getFirstAxisKeys() { + return Array.from(this.keysFirstAxis.values()); + } + + getSecondAxisKeys() { + return Array.from(this.keysSecondAxis.values()); + } + + getAsArray(fillEmptyWith: Value) { + return this.getFirstAxisKeys().map((firstAxisKey) => { + return this.getSecondAxisKeys().map((secondAxisKey) => { + return this.get(firstAxisKey, secondAxisKey) ?? fillEmptyWith; + }); + }); + } + + copy() { + const copy = new Map2d(this.serializeFirstAxis, this.serializeSecondAxis); + this.data.forEach((value, key) => { + const keyFirstAxis = this.keysFirstAxis.get(key); + value.forEach((value, key) => { + const keySecondAxis = this.keysSecondAxis.get(key); + copy.set(keyFirstAxis!, keySecondAxis!, value); + }); + }); + return copy; + } +} diff --git a/components/src/utils/map2d.spec.ts b/components/src/utils/map2d.spec.ts new file mode 100644 index 00000000..bcb9679c --- /dev/null +++ b/components/src/utils/map2d.spec.ts @@ -0,0 +1,94 @@ +import { describe, expect, it } from 'vitest'; + +import { Map2d } from './Map2d'; + +describe('Map2d', () => { + it('should add a value and return it', () => { + const map2d = new Map2d(); + map2d.set('a', 'b', 2); + expect(map2d.get('a', 'b')).toBe(2); + }); + + it('should update a value', () => { + const map2d = new Map2d(); + map2d.set('a', 'b', 2); + map2d.set('a', 'b', 3); + expect(map2d.get('a', 'b')).toBe(3); + }); + + it('should return the data as an array', () => { + const map2d = new Map2d(); + map2d.set('a', 'b', 1); + map2d.set('a', 'd', 2); + map2d.set('c', 'b', 3); + map2d.set('c', 'd', 4); + + expect(map2d.getAsArray(0)).toEqual([ + [1, 2], + [3, 4], + ]); + }); + + it('should fill empty values with the given value', () => { + const map2d = new Map2d(); + map2d.set('a', 'b', 2); + map2d.set('c', 'd', 4); + expect(map2d.getAsArray(0)).toEqual([ + [2, 0], + [0, 4], + ]); + }); + + it('should return the keys from the first axis', () => { + const map2d = new Map2d(); + map2d.set('a', 'b', 2); + map2d.set('c', 'd', 4); + + expect(map2d.getFirstAxisKeys()).toEqual(['a', 'c']); + }); + + it('should return the keys from the second axis', () => { + const map2d = new Map2d(); + map2d.set('a', 'b', 2); + map2d.set('c', 'd', 4); + + expect(map2d.getSecondAxisKeys()).toEqual(['b', 'd']); + }); + + it('should work with objects as keys', () => { + const map2d = new Map2d<{ a: string }, { b: string }, number>(); + map2d.set({ a: 'a' }, { b: 'b' }, 2); + map2d.set({ a: 'second' }, { b: 'second' }, 3); + + expect(map2d.get({ a: 'a' }, { b: 'b' })).toBe(2); + expect(map2d.get({ a: 'second' }, { b: 'second' })).toBe(3); + }); + + it('should update a value with objects as keys', () => { + const map2d = new Map2d<{ a: string }, { b: string }, number>(); + map2d.set({ a: 'a' }, { b: 'b' }, 2); + map2d.set({ a: 'a' }, { b: 'b' }, 3); + expect(map2d.get({ a: 'a' }, { b: 'b' })).toBe(3); + }); + + it('should create a deep copy of the map', () => { + const map2d = new Map2d(); + map2d.set('a', 'b', 2); + expect(map2d.get('a', 'b')).toBe(2); + + const copy = map2d.copy(); + expect(copy.get('a', 'b')).toBe(2); + + map2d.deleteRow('a'); + expect(map2d.get('a', 'b')).toBe(undefined); + }); + + it('should return a row by key', () => { + const map2d = new Map2d(); + map2d.set('a', 'b', 2); + map2d.set('c', 'd', 4); + + expect(map2d.getRow('a', 0)).toEqual([2, 0]); + expect(map2d.getRow('c', 0)).toEqual([0, 4]); + }); +}); diff --git a/components/src/utils/mutations.ts b/components/src/utils/mutations.ts index 6fd02870..a2a8c440 100644 --- a/components/src/utils/mutations.ts +++ b/components/src/utils/mutations.ts @@ -1,9 +1,10 @@ -import { type SequenceType } from '../types'; +import { type MutationType, type SequenceType } from '../types'; export interface Mutation { readonly segment: string | undefined; readonly position: number; readonly code: string; + readonly type: MutationType; equals(other: Mutation): boolean; @@ -15,6 +16,7 @@ export const substitutionRegex = export class Substitution implements Mutation { readonly code; + readonly type = 'substitution'; constructor( readonly segment: string | undefined, @@ -62,6 +64,7 @@ export const deletionRegex = /^((?[A-Za-z0-9_-]+)(?=:):)?(?): [Temporal, Temporal] | null { +export function getMinMaxTemporal(values: Iterable) { let min = null; let max = null; for (const value of values) { @@ -326,9 +360,9 @@ export function getMinMaxTemporal(values: Iterable): [Temporal, } } if (min === null || max === null) { - return null; + return { min: null, max: null }; } - return [min, max]; + return { min, max }; } export function addUnit(temporal: Temporal, amount: number): Temporal { @@ -346,3 +380,18 @@ export function addUnit(temporal: Temporal, amount: number): Temporal { } throw new Error(`Invalid argument: ${temporal}`); } + +export function parseDate(date: string, granularity: TemporalGranularity) { + const cache = TemporalCache.getInstance(); + const day = cache.getYearMonthDay(date); + switch (granularity) { + case 'day': + return day; + case 'week': + return day.week; + case 'month': + return day.month; + case 'year': + return day.year; + } +} diff --git a/components/src/web-components/visualization/gs-mutation-over-time.stories.ts b/components/src/web-components/visualization/gs-mutation-over-time.stories.ts new file mode 100644 index 00000000..d387b674 --- /dev/null +++ b/components/src/web-components/visualization/gs-mutation-over-time.stories.ts @@ -0,0 +1,216 @@ +import type { Meta, StoryObj } from '@storybook/web-components'; +import { html } from 'lit'; + +import './gs-mutation-over-time'; +import '../app'; +import { withComponentDocs } from '../../../.storybook/ComponentDocsBlock'; +import { AGGREGATED_ENDPOINT, LAPIS_URL, NUCLEOTIDE_MUTATIONS_ENDPOINT } from '../../constants'; +import aggregated_date from '../../preact/mutationOverTime/__mockData__/aggregated_date.json'; +import nucleotideMutation_01 from '../../preact/mutationOverTime/__mockData__/nucleotideMutations_2024_01.json'; +import nucleotideMutation_02 from '../../preact/mutationOverTime/__mockData__/nucleotideMutations_2024_02.json'; +import nucleotideMutation_03 from '../../preact/mutationOverTime/__mockData__/nucleotideMutations_2024_03.json'; +import nucleotideMutation_04 from '../../preact/mutationOverTime/__mockData__/nucleotideMutations_2024_04.json'; +import nucleotideMutation_05 from '../../preact/mutationOverTime/__mockData__/nucleotideMutations_2024_05.json'; +import nucleotideMutation_06 from '../../preact/mutationOverTime/__mockData__/nucleotideMutations_2024_06.json'; +import nucleotideMutation_07 from '../../preact/mutationOverTime/__mockData__/nucleotideMutations_2024_07.json'; +import { type MutationOverTimeProps } from '../../preact/mutationOverTime/mutation-over-time'; + +const codeExample = String.raw` +`; + +const meta: Meta> = { + title: 'Visualization/Mutation over time', + component: 'gs-mutation-over-time', + argTypes: { + lapisFilter: { control: 'object' }, + sequenceType: { + options: ['nucleotide', 'amino acid'], + control: { type: 'radio' }, + }, + views: { + options: ['grid'], + control: { type: 'check' }, + }, + width: { control: 'text' }, + height: { control: 'text' }, + headline: { control: 'text' }, + granularity: { + options: ['day', 'week', 'month', 'year'], + control: { type: 'radio' }, + }, + }, + args: { + lapisFilter: { pangoLineage: 'JN.1*', dateFrom: '2024-01-15', dateTo: '2024-07-10' }, + sequenceType: 'nucleotide', + views: ['grid'], + width: '100%', + height: '700px', + headline: 'Mutation over time', + granularity: 'month', + }, + parameters: withComponentDocs({ + componentDocs: { + opensShadowDom: true, + expectsChildren: false, + codeExample, + }, + }), + tags: ['autodocs'], +}; + +export default meta; + +const Template: StoryObj> = { + render: (args) => html` + + + + `, +}; + +export const Default: StoryObj> = { + ...Template, + parameters: { + fetchMock: { + mocks: [ + { + matcher: { + name: 'aggregated_dates', + url: AGGREGATED_ENDPOINT, + body: { + dateFrom: '2024-01-15', + dateTo: '2024-07-10', + fields: ['date'], + pangoLineage: 'JN.1*', + }, + }, + response: { + status: 200, + body: aggregated_date, + }, + }, + { + matcher: { + name: 'nucleotideMutations_01', + url: NUCLEOTIDE_MUTATIONS_ENDPOINT, + body: { + pangoLineage: 'JN.1*', + dateFrom: '2024-01-01', + dateTo: '2024-01-31', + }, + }, + response: { + status: 200, + body: nucleotideMutation_01, + }, + }, + { + matcher: { + name: 'nucleotideMutations_02', + url: NUCLEOTIDE_MUTATIONS_ENDPOINT, + body: { + pangoLineage: 'JN.1*', + dateFrom: '2024-02-01', + dateTo: '2024-02-29', + }, + }, + response: { + status: 200, + body: nucleotideMutation_02, + }, + }, + { + matcher: { + name: 'nucleotideMutations_03', + url: NUCLEOTIDE_MUTATIONS_ENDPOINT, + body: { + pangoLineage: 'JN.1*', + dateFrom: '2024-03-01', + dateTo: '2024-03-31', + }, + response: { + status: 200, + body: nucleotideMutation_03, + }, + }, + }, + { + matcher: { + name: 'nucleotideMutations_04', + url: NUCLEOTIDE_MUTATIONS_ENDPOINT, + body: { + pangoLineage: 'JN.1*', + dateFrom: '2024-04-01', + dateTo: '2024-04-30', + }, + response: { + status: 200, + body: nucleotideMutation_04, + }, + }, + }, + { + matcher: { + name: 'nucleotideMutations_05', + url: NUCLEOTIDE_MUTATIONS_ENDPOINT, + body: { + pangoLineage: 'JN.1*', + dateFrom: '2024-05-01', + dateTo: '2024-05-31', + }, + response: { + status: 200, + body: nucleotideMutation_05, + }, + }, + }, + { + matcher: { + name: 'nucleotideMutations_06', + url: NUCLEOTIDE_MUTATIONS_ENDPOINT, + body: { + pangoLineage: 'JN.1*', + dateFrom: '2024-06-01', + dateTo: '2024-06-30', + }, + response: { + status: 200, + body: nucleotideMutation_06, + }, + }, + }, + + { + matcher: { + name: 'nucleotideMutations_07', + url: NUCLEOTIDE_MUTATIONS_ENDPOINT, + body: { + pangoLineage: 'JN.1*', + dateFrom: '2024-07-01', + dateTo: '2024-07-31', + }, + response: { + status: 200, + body: nucleotideMutation_07, + }, + }, + }, + ], + }, + }, +}; diff --git a/components/src/web-components/visualization/gs-mutation-over-time.tsx b/components/src/web-components/visualization/gs-mutation-over-time.tsx new file mode 100644 index 00000000..f5208e30 --- /dev/null +++ b/components/src/web-components/visualization/gs-mutation-over-time.tsx @@ -0,0 +1,97 @@ +import { customElement, property } from 'lit/decorators.js'; + +import { MutationOverTime, type View } from '../../preact/mutationOverTime/mutation-over-time'; +import { type LapisFilter, type SequenceType } from '../../types'; +import type { Equals, Expect } from '../../utils/typeAssertions'; +import { PreactLitAdapterWithGridJsStyles } from '../PreactLitAdapterWithGridJsStyles'; + +/** + * ## Context + * + * This component displays mutations (substitutions and deletions) over time for a dataset selected by a LAPIS filter. + * The shown date range is determined by the date field in the LAPIS filter. + * If the date field is not set, the date range is determined by all available dates in the dataset. + * + * ## Views + * + * ### Grid View + * + * The grid view shows the proportion for each mutation over date ranges. + * + */ +@customElement('gs-mutation-over-time') +export class MutationOverTimeComponent extends PreactLitAdapterWithGridJsStyles { + /** + * Required. + * + * LAPIS filter to select the displayed data. + */ + @property({ type: Object }) + lapisFilter: Record = {}; + + /** + * The type of the sequence for which the mutations should be shown. + */ + @property({ type: String }) + sequenceType: 'nucleotide' | 'amino acid' = 'nucleotide'; + + /** + * A list of tabs with views that this component should provide. + */ + @property({ type: Array }) + views: 'grid'[] = ['grid']; + + /** + * The width of the component. + * + * Visit https://genspectrum.github.io/dashboard-components/?path=/docs/components-size-of-components--docs for more information. + */ + @property({ type: String }) + width: string = '100%'; + + /** + * The height of the component. + * + * Visit https://genspectrum.github.io/dashboard-components/?path=/docs/components-size-of-components--docs for more information. + */ + @property({ type: String }) + height: string = '700px'; + + /** + * The headline of the component. Set to an empty string to hide the headline. + */ + @property({ type: String }) + headline: string = 'Mutation over time'; + + /** + * The granularity of the time axis. + */ + @property({ type: String }) + granularity: 'day' | 'week' | 'month' | 'year' = 'week'; + + override render() { + return ( + + ); + } +} + +declare global { + interface HTMLElementTagNameMap { + 'gs-mutation-over-time-component': MutationOverTimeComponent; + } +} + +/* eslint-disable @typescript-eslint/no-unused-vars, no-unused-vars */ +type LapisFilterMatches = Expect>; +type SequenceTypeMatches = Expect>; +type ViewsMatches = Expect>; +/* eslint-enable @typescript-eslint/no-unused-vars, no-unused-vars */ diff --git a/components/tests/snapshots.spec.ts-snapshots/Mutation-over-time-Story-visualization-mutation-over-time--default-should-match-screenshot-1-chromium-linux.png b/components/tests/snapshots.spec.ts-snapshots/Mutation-over-time-Story-visualization-mutation-over-time--default-should-match-screenshot-1-chromium-linux.png new file mode 100644 index 00000000..39c5c5fd Binary files /dev/null and b/components/tests/snapshots.spec.ts-snapshots/Mutation-over-time-Story-visualization-mutation-over-time--default-should-match-screenshot-1-chromium-linux.png differ diff --git a/components/tests/snapshots.spec.ts-snapshots/Mutation-over-time-Story-visualization-mutation-over-time--default-should-match-screenshot-1-firefox-linux.png b/components/tests/snapshots.spec.ts-snapshots/Mutation-over-time-Story-visualization-mutation-over-time--default-should-match-screenshot-1-firefox-linux.png new file mode 100644 index 00000000..3a6453cf Binary files /dev/null and b/components/tests/snapshots.spec.ts-snapshots/Mutation-over-time-Story-visualization-mutation-over-time--default-should-match-screenshot-1-firefox-linux.png differ diff --git a/components/tests/visualizationStories.ts b/components/tests/visualizationStories.ts index f18ccc6c..495bb697 100644 --- a/components/tests/visualizationStories.ts +++ b/components/tests/visualizationStories.ts @@ -42,4 +42,8 @@ export const visualizationStories = [ id: 'visualization-number-sequences-over-time--two-datasets-with-non-overlapping-dates', title: 'Number of sequences over time', }, + { + id: 'visualization-mutation-over-time--default', + title: 'Mutation over time', + }, ];