Skip to content

Commit

Permalink
completely removed PdbAnnotation API dependency (fix cBioPortal/cbiop…
Browse files Browse the repository at this point in the history
…ortal#3159)

Signed-off-by: Onur Sumer <s.onur.sumer@gmail.com>
  • Loading branch information
onursumer committed Apr 4, 2018
1 parent 29fa625 commit aa2f88a
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 831 deletions.
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"updateOncoKbAPI": "npm run fetchOncoKbAPI && npm run buildOncoKbAPI",
"fetchOncoKbAPI": "curl http://oncokb.org/api/v1/v2/api-docs | json > src/shared/api/generated/OncoKbAPI-docs.json",
"buildOncoKbAPI": "node scripts/generate-api.js src/shared/api/generated OncoKbAPI",
"updatePdbAnnotationAPI": "npm run fetchPdbAnnotationAPI && npm run buildPdbAnnotationAPI",
"fetchPdbAnnotationAPI": "curl https://cbioportal.mskcc.org/pdb-annotation/v2/api-docs?group=pdb_annotation | json > src/shared/api/generated/PdbAnnotationAPI-docs.json",
"buildPdbAnnotationAPI": "node scripts/generate-api.js src/shared/api/generated PdbAnnotationAPI",
"updateG2SAPI": "npm run fetchG2SAPI && npm run buildG2SAPI",
"fetchG2SAPI": "curl http://g2s.genomenexus.org/v2/api-docs?group=api > src/shared/api/generated/Genome2StructureAPI-docs.json",
"buildG2SAPI": "node scripts/generate-api.js src/shared/api/generated Genome2StructureAPI",
Expand Down
6 changes: 0 additions & 6 deletions src/pages/resultsView/mutation/MutationMapperStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {IOncoKbData, IOncoKbDataWrapper} from "shared/model/OncoKB";
import {IHotspotIndex} from "shared/model/CancerHotspots";
import {IPdbChain, PdbAlignmentIndex} from "shared/model/Pdb";
import {ICivicGene, ICivicVariant} from "shared/model/Civic";
import PdbPositionMappingCache from "shared/cache/PdbPositionMappingCache";
import ResidueMappingCache from "shared/cache/ResidueMappingCache";
import {calcPdbIdNumericalValue, mergeIndexedPdbAlignments} from "shared/lib/PdbUtils";
import {lazyMobXTableSort} from "shared/components/lazyMobXTable/LazyMobXTable";
Expand Down Expand Up @@ -244,11 +243,6 @@ export class MutationMapperStore {
return new PdbChainDataStore(this.sortedMergedAlignmentData);
}

@cached get pdbPositionMappingCache()
{
return new PdbPositionMappingCache();
}

@cached get residueMappingCache()
{
return new ResidueMappingCache();
Expand Down
1 change: 0 additions & 1 deletion src/shared/api/generated/PdbAnnotationAPI-docs.json

This file was deleted.

Loading

0 comments on commit aa2f88a

Please sign in to comment.