Skip to content

Commit

Permalink
add missing columns in the mutation mapper table
Browse files Browse the repository at this point in the history
  • Loading branch information
leexgh committed Nov 29, 2019
1 parent fe241c4 commit 33f917c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ export default class MutationMapperTool extends React.Component<IMutationMapperT
trackVisibility={this.userSelectionStore.trackVisibility}
downloadDataFetcher={this.store.downloadDataFetcher}
genomeNexusCache={this.store.genomeNexusCache}
genomeNexusMyVariantInfoCache={this.store.genomeNexusMyVariantInfoCache}
oncoKbEvidenceCache={this.store.oncoKbEvidenceCache}
pubMedCache={this.store.pubMedCache}
pdbHeaderCache={this.store.pdbHeaderCache}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default class StandaloneMutationMapper extends MutationMapper<IStandalone
oncoKbCancerGenes={this.props.store.oncoKbCancerGenes}
indexedVariantAnnotations={this.props.store.indexedVariantAnnotations}
genomeNexusCache={this.props.genomeNexusCache}
genomeNexusMyVariantInfoCache={this.props.genomeNexusMyVariantInfoCache}
oncoKbEvidenceCache={this.props.oncoKbEvidenceCache}
pubMedCache={this.props.pubMedCache}
dataStore={this.props.store.dataStore}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ export default class StandaloneMutationTable extends MutationTable<IStandaloneMu
MutationTableColumnType.PROTEIN_CHANGE,
MutationTableColumnType.MUTATION_TYPE,
MutationTableColumnType.TUMOR_ALLELE_FREQ,
MutationTableColumnType.NORMAL_ALLELE_FREQ
MutationTableColumnType.NORMAL_ALLELE_FREQ,
MutationTableColumnType.HGVSC,
MutationTableColumnType.GNOMAD,
MutationTableColumnType.CLINVAR
]
};

Expand Down Expand Up @@ -80,5 +83,8 @@ export default class StandaloneMutationTable extends MutationTable<IStandaloneMu
this._columns[MutationTableColumnType.VAR_READS_N].order = 200;
this._columns[MutationTableColumnType.REF_READS_N].order = 210;
//this._columns[MutationTableColumnType.NUM_MUTATIONS].order = 220;
this._columns[MutationTableColumnType.HGVSC].order = 220;
this._columns[MutationTableColumnType.GNOMAD].order = 230;
this._columns[MutationTableColumnType.CLINVAR].order = 240;
}
}
2 changes: 2 additions & 0 deletions src/shared/components/mutationMapper/MutationMapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import StructureViewerPanel from "shared/components/structureViewer/StructureVie
import OncoKbEvidenceCache from "shared/cache/OncoKbEvidenceCache";
import PubMedCache from "shared/cache/PubMedCache";
import GenomeNexusCache from "shared/cache/GenomeNexusCache";
import GenomeNexusMyVariantInfoCache from 'shared/cache/GenomeNexusMyVariantInfoCache';
import {IMyCancerGenomeData} from "shared/model/MyCancerGenome";
import PdbHeaderCache from "shared/cache/PdbHeaderCache";
import {DEFAULT_PROTEIN_IMPACT_TYPE_COLORS, getColorForProteinImpactType} from "shared/lib/MutationUtils";
Expand Down Expand Up @@ -53,6 +54,7 @@ export interface IMutationMapperProps {
pdbHeaderCache?: PdbHeaderCache;
oncoKbEvidenceCache?:OncoKbEvidenceCache;
genomeNexusCache?:GenomeNexusCache;
genomeNexusMyVariantInfoCache?:GenomeNexusMyVariantInfoCache;
// server config properties
genomeNexusUrl?: string;
oncoKbPublicApiUrl?: string;
Expand Down

0 comments on commit 33f917c

Please sign in to comment.