react-mutation-mapper 0.8.117 → 0.8.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/component/column/Annotation.d.ts +2 -6
- package/dist/component/mutationTable/DefaultMutationTable.d.ts +1 -2
- package/dist/index.d.ts +0 -1
- package/dist/index.es.js +21 -88
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +21 -91
- package/dist/index.js.map +1 -1
- package/dist/model/MutationMapperStore.d.ts +1 -2
- package/dist/store/DefaultMutationMapperStore.d.ts +1 -2
- package/dist/styles.css +3 -7
- package/package.json +5 -5
- package/dist/component/myCancerGenome/MyCancerGenome.d.ts +0 -11
- package/dist/component/myCancerGenome/MyCancerGenome.spec.d.ts +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Gene, ICivicGeneIndex, ICivicVariantIndex, IHotspotIndex,
|
|
1
|
+
import { Gene, ICivicGeneIndex, ICivicVariantIndex, IHotspotIndex, IOncoKbData, Mutation, PostTranslationalModification, RemoteData, UniprotTopology } from 'cbioportal-utils';
|
|
2
2
|
import { EnsemblTranscript, Hotspot, MyVariantInfo, PfamDomain, VariantAnnotation } from 'genome-nexus-ts-api-client';
|
|
3
3
|
import { CancerGene, IndicatorQueryResp, OncoKBInfo } from 'oncokb-ts-api-client';
|
|
4
4
|
import DataStore from './DataStore';
|
|
@@ -58,7 +58,6 @@ export interface MutationMapperStore<T extends Mutation> {
|
|
|
58
58
|
usingPublicOncoKbInstance: boolean;
|
|
59
59
|
civicGenes?: RemoteData<ICivicGeneIndex | undefined>;
|
|
60
60
|
civicVariants?: RemoteData<ICivicVariantIndex | undefined>;
|
|
61
|
-
myCancerGenomeData?: IMyCancerGenomeData;
|
|
62
61
|
indexedVariantAnnotations: RemoteData<{
|
|
63
62
|
[genomicLocation: string]: VariantAnnotation;
|
|
64
63
|
} | undefined>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MobxPromise } from 'cbioportal-frontend-commons';
|
|
2
|
-
import { AggregatedHotspots, ICivicGeneIndex, ICivicVariantIndex, IHotspotIndex,
|
|
2
|
+
import { AggregatedHotspots, ICivicGeneIndex, ICivicVariantIndex, IHotspotIndex, IOncoKbData, PostTranslationalModification, UniprotFeature, UniprotTopology } from 'cbioportal-utils';
|
|
3
3
|
import { Gene, Mutation, IMyVariantInfoIndex } from 'cbioportal-utils';
|
|
4
4
|
import { CancerGene, IndicatorQueryResp, OncoKBInfo } from 'oncokb-ts-api-client';
|
|
5
5
|
import { EnsemblTranscript, Hotspot, PfamDomain, PostTranslationalModification as DbPtm, VariantAnnotation } from 'genome-nexus-ts-api-client';
|
|
@@ -52,7 +52,6 @@ declare class DefaultMutationMapperStore<T extends Mutation> implements Mutation
|
|
|
52
52
|
get annotationFields(): string[];
|
|
53
53
|
protected getDataStore?: () => DataStore;
|
|
54
54
|
get dataStore(): DataStore;
|
|
55
|
-
readonly myCancerGenomeData: IMyCancerGenomeData;
|
|
56
55
|
get mutations(): T[];
|
|
57
56
|
protected getAnnotatedMutationsByTranscriptId(mutations: T[], transcriptId: string, indexedVariantAnnotations: {
|
|
58
57
|
[genomicLocation: string]: VariantAnnotation;
|
package/dist/styles.css
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
.gnomad-frequency-table .rt-table .rt-tbody .rt-td {
|
|
2
|
+
padding: 4px 5px;
|
|
3
|
+
}
|
|
1
4
|
.default-mutation-table {
|
|
2
5
|
font-size: 0.8rem;
|
|
3
6
|
min-width: 300px;
|
|
@@ -11,9 +14,6 @@
|
|
|
11
14
|
.default-mutation-table .-pagination .-center {
|
|
12
15
|
flex-grow: 5;
|
|
13
16
|
}
|
|
14
|
-
.gnomad-frequency-table .rt-table .rt-tbody .rt-td {
|
|
15
|
-
padding: 4px 5px;
|
|
16
|
-
}
|
|
17
17
|
.lollipop_mutation_plot__controls .rangeslider {
|
|
18
18
|
margin: 0;
|
|
19
19
|
}
|
|
@@ -139,10 +139,6 @@
|
|
|
139
139
|
justify-content: space-around;
|
|
140
140
|
align-items: center;
|
|
141
141
|
}
|
|
142
|
-
.myCancerGenome-module_link-list__2wFhH {
|
|
143
|
-
list-style-position: inside;
|
|
144
|
-
padding-left: 0;
|
|
145
|
-
}
|
|
146
142
|
.hotspotInfo-module_hotspot-info__S24fX {
|
|
147
143
|
max-width: 400px;
|
|
148
144
|
display: block;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-mutation-mapper",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.119",
|
|
4
4
|
"description": "Generic Mutation Mapper",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"autobind-decorator": "^2.1.0",
|
|
42
|
-
"cbioportal-frontend-commons": "^0.5.
|
|
43
|
-
"cbioportal-utils": "^0.3.
|
|
42
|
+
"cbioportal-frontend-commons": "^0.5.75",
|
|
43
|
+
"cbioportal-utils": "^0.3.48",
|
|
44
44
|
"classnames": "^2.2.5",
|
|
45
45
|
"genome-nexus-ts-api-client": "^1.1.35",
|
|
46
46
|
"jquery": "^3.2.1",
|
|
47
47
|
"lodash": "^4.17.15",
|
|
48
48
|
"memoize-weak-decorator": "^1.0.3",
|
|
49
|
-
"oncokb-frontend-commons": "^0.0.
|
|
49
|
+
"oncokb-frontend-commons": "^0.0.32",
|
|
50
50
|
"oncokb-styles": "~1.4.2",
|
|
51
51
|
"oncokb-ts-api-client": "^1.3.8",
|
|
52
52
|
"react-collapse": "^4.0.3",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"superagent": "^3.8.3",
|
|
60
60
|
"typescript": "4.0.3"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "d920bfdc2507aeea88827a6b8622a996b9be901e"
|
|
63
63
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface IMyCancerGenomeProps {
|
|
3
|
-
linksHTML: string[];
|
|
4
|
-
}
|
|
5
|
-
export declare function placeArrow(tooltipEl: any): void;
|
|
6
|
-
export declare function sortValue(links: string[]): number;
|
|
7
|
-
export declare function download(links: string[]): string;
|
|
8
|
-
export declare function myCancerGenomeLinks(linksHTML: string[]): JSX.Element;
|
|
9
|
-
export default class MyCancerGenome extends React.Component<IMyCancerGenomeProps> {
|
|
10
|
-
render(): JSX.Element;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|