react-mutation-mapper 0.8.20 → 0.8.24
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/lollipopMutationPlot/LollipopMutationPlot.d.ts +1 -0
- package/dist/component/mutationMapper/MutationMapper.d.ts +1 -0
- package/dist/component/track/TrackItem.d.ts +2 -1
- package/dist/component/track/TrackPanel.d.ts +1 -0
- package/dist/component/track/TrackSelector.d.ts +6 -1
- package/dist/component/track/UniprotTopologyTrack.d.ts +38 -0
- package/dist/index.es.js +412 -106
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +412 -105
- package/dist/index.js.map +1 -1
- package/dist/model/MutationMapperDataFetcher.d.ts +1 -1
- package/dist/model/MutationMapperStore.d.ts +2 -1
- package/dist/store/DefaultMutationMapperDataFetcher.d.ts +1 -1
- package/dist/store/DefaultMutationMapperStore.d.ts +2 -1
- package/package.json +5 -5
|
@@ -15,7 +15,7 @@ export interface MutationMapperDataFetcher {
|
|
|
15
15
|
fetchCanonicalTranscript(hugoSymbol: string, isoformOverrideSource: string, client?: GenomeNexusAPI): Promise<EnsemblTranscript>;
|
|
16
16
|
fetchEnsemblTranscriptsByEnsemblFilter(ensemblFilter: Partial<EnsemblFilter>, client?: GenomeNexusAPI): Promise<EnsemblTranscript[] | undefined>;
|
|
17
17
|
fetchPtmData(ensemblId: string, client?: GenomeNexusAPI): Promise<PostTranslationalModification[]>;
|
|
18
|
-
fetchUniprotFeatures(swissProtId: string, client?: GenomeNexusAPI): Promise<UniprotFeature[]>;
|
|
18
|
+
fetchUniprotFeatures(swissProtId: string, category: string[], client?: GenomeNexusAPI): Promise<UniprotFeature[]>;
|
|
19
19
|
fetchCancerHotspotData(ensemblId: string, client?: GenomeNexusAPIInternal): Promise<Hotspot[]>;
|
|
20
20
|
fetchAggregatedHotspotsData(mutations: Mutation[], client?: GenomeNexusAPIInternal): Promise<AggregatedHotspots[]>;
|
|
21
21
|
fetchOncoKbCancerGenes(client?: OncoKbAPI): Promise<CancerGene[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Gene, ICivicGeneIndex, ICivicVariantIndex, IHotspotIndex, IMyCancerGenomeData, IOncoKbData, Mutation, PostTranslationalModification, RemoteData } from 'cbioportal-utils';
|
|
1
|
+
import { Gene, ICivicGeneIndex, ICivicVariantIndex, IHotspotIndex, IMyCancerGenomeData, 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';
|
|
@@ -44,6 +44,7 @@ export interface MutationMapperStore<T extends Mutation> {
|
|
|
44
44
|
[position: number]: PostTranslationalModification[];
|
|
45
45
|
};
|
|
46
46
|
} | undefined>;
|
|
47
|
+
uniprotTopologyData: RemoteData<UniprotTopology[] | undefined>;
|
|
47
48
|
indexedHotspotData: RemoteData<IHotspotIndex | undefined>;
|
|
48
49
|
hotspotsByPosition: {
|
|
49
50
|
[pos: number]: Hotspot[];
|
|
@@ -31,7 +31,7 @@ export declare class DefaultMutationMapperDataFetcher implements MutationMapperD
|
|
|
31
31
|
fetchCanonicalTranscript(hugoSymbol: string, isoformOverrideSource: string, client?: GenomeNexusAPI): Promise<EnsemblTranscript>;
|
|
32
32
|
fetchEnsemblTranscriptsByEnsemblFilter(ensemblFilter: Partial<EnsemblFilter>, client?: GenomeNexusAPI): Promise<EnsemblTranscript[] | undefined>;
|
|
33
33
|
fetchPtmData(ensemblId: string, client?: GenomeNexusAPI): Promise<PostTranslationalModification[]>;
|
|
34
|
-
fetchUniprotFeatures(swissProtId: string, client?: GenomeNexusAPI): Promise<UniprotFeature[]>;
|
|
34
|
+
fetchUniprotFeatures(swissProtId: string, category: string[], client?: GenomeNexusAPI): Promise<UniprotFeature[]>;
|
|
35
35
|
fetchCancerHotspotData(ensemblId: string, client?: GenomeNexusAPIInternal): Promise<Hotspot[]>;
|
|
36
36
|
fetchAggregatedHotspotsData(mutations: Mutation[], client?: GenomeNexusAPIInternal): Promise<AggregatedHotspots[]>;
|
|
37
37
|
fetchOncoKbCancerGenes(client?: OncoKbAPI): Promise<CancerGene[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AggregatedHotspots, ICivicGeneIndex, ICivicVariantIndex, IHotspotIndex, IMyCancerGenomeData, IOncoKbData, PostTranslationalModification, UniprotFeature } from 'cbioportal-utils';
|
|
1
|
+
import { AggregatedHotspots, ICivicGeneIndex, ICivicVariantIndex, IHotspotIndex, IMyCancerGenomeData, IOncoKbData, PostTranslationalModification, UniprotFeature, UniprotTopology } from 'cbioportal-utils';
|
|
2
2
|
import { Gene, Mutation, IMyVariantInfoIndex } from 'cbioportal-utils';
|
|
3
3
|
import { CancerGene, IndicatorQueryResp, OncoKBInfo } from 'oncokb-ts-api-client';
|
|
4
4
|
import { EnsemblTranscript, Hotspot, PfamDomain, PostTranslationalModification as DbPtm, VariantAnnotation } from 'genome-nexus-ts-api-client';
|
|
@@ -112,6 +112,7 @@ declare class DefaultMutationMapperStore<T extends Mutation> implements Mutation
|
|
|
112
112
|
readonly transcriptsWithAnnotations: MobxPromise<string[] | undefined>;
|
|
113
113
|
readonly ptmData: MobxPromise<PostTranslationalModification[]>;
|
|
114
114
|
readonly uniprotPtmData: MobxPromise<UniprotFeature[]>;
|
|
115
|
+
readonly uniprotTopologyData: MobxPromise<UniprotTopology[]>;
|
|
115
116
|
readonly dbPtmData: MobxPromise<DbPtm[]>;
|
|
116
117
|
readonly ptmDataByProteinPosStart: MobxPromise<{
|
|
117
118
|
[pos: number]: PostTranslationalModification[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-mutation-mapper",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.24",
|
|
4
4
|
"description": "Generic Mutation Mapper",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -39,8 +39,8 @@
|
|
|
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.12",
|
|
43
|
+
"cbioportal-utils": "^0.3.8",
|
|
44
44
|
"classnames": "^2.2.5",
|
|
45
45
|
"genome-nexus-ts-api-client": "^1.1.17",
|
|
46
46
|
"jquery": "^3.2.1",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"memoize-weak-decorator": "^1.0.3",
|
|
49
49
|
"mobxpromise": "github:cbioportal/mobxpromise#303db72588860bff0a6862a4f07a4e8a3578c94f",
|
|
50
50
|
"oncokb-styles": "~1.3.0",
|
|
51
|
-
"oncokb-ts-api-client": "^1.1.
|
|
51
|
+
"oncokb-ts-api-client": "^1.1.9",
|
|
52
52
|
"react-collapse": "^4.0.3",
|
|
53
53
|
"react-if": "^2.1.0",
|
|
54
54
|
"react-motion": "^0.5.2",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"superagent": "^3.8.3",
|
|
60
60
|
"typescript": "4.0.3"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "e9b16f96e5f5866e4562eb6cf0a10c64fd5214fe"
|
|
63
63
|
}
|