Skip to content

Commit

Permalink
[Platform]: Add ClinVar widget to variant page (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmcn authored Aug 30, 2024
1 parent 9e328ea commit 7284909
Show file tree
Hide file tree
Showing 7 changed files with 201 additions and 2,949 deletions.
16 changes: 8 additions & 8 deletions apps/platform/src/pages/VariantPage/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
import PharmacogenomicsSummary from "sections/src/variant/Pharmacogenomics/Summary";
import InSilicoPredictorsSummary from "sections/src/variant/InSilicoPredictors/Summary";
import VariantEffectPredictorSummary from "sections/src/variant/VariantEffectPredictor/Summary";
// import EVASummary from "sections/src/variant/EVA/Summary";
import EVASummary from "sections/src/variant/EVA/Summary";
// import UniProtVariantsSummary from "sections/src/variant/UniProtVariants/Summary";
// import QTLCredibleSetsSummary from "sections/src/variant/QTLCredibleSets/Summary";
// import GWASCredibleSetsSummary from "sections/src/variant/GWASCredibleSets/Summary";
Expand All @@ -27,7 +27,7 @@ const InSilicoPredictorsSection = lazy(
const VariantEffectPredictorSection = lazy(
() => import("sections/src/variant/VariantEffectPredictor/Body")
);
// const EVASection = lazy(() => import("sections/src/variant/EVA/Body"));
const EVASection = lazy(() => import("sections/src/variant/EVA/Body"));
// const UniProtVariantsSection = lazy(() => import("sections/src/variant/UniProtVariants/Body"));
// const QTLCredibleSetsSection = lazy(() => import("sections/src/variant/QTLCredibleSets/Body"));
// const GWASCredibleSetsSection = lazy(() => import("sections/src/variant/GWASCredibleSets/Body"));
Expand All @@ -36,7 +36,7 @@ const summaries = [
PharmacogenomicsSummary,
InSilicoPredictorsSummary,
VariantEffectPredictorSummary,
// EVASummary,
EVASummary,
// UniProtVariantsSummary,
// QTLCredibleSetsSummary,
// GWASCredibleSetsSummary,
Expand Down Expand Up @@ -77,8 +77,8 @@ function Profile({ varId }: ProfileProps) {
<PharmacogenomicsSummary />
<InSilicoPredictorsSummary />
<VariantEffectPredictorSummary />
{/* <EVASummary />
<UniProtVariantsSummary />
<EVASummary />
{/* <UniProtVariantsSummary />
<QTLCredibleSetsSummary />
<GWASCredibleSetsSummary /> */}
</SummaryContainer>
Expand All @@ -93,10 +93,10 @@ function Profile({ varId }: ProfileProps) {
<Suspense fallback={<SectionLoader />}>
<VariantEffectPredictorSection id={varId} entity={VARIANT} />
</Suspense>
{/* <Suspense fallback={<SectionLoader />}>
<EVASection id={varId} label='NO-LABEL!' entity={VARIANT} />
</Suspense>
<Suspense fallback={<SectionLoader />}>
<EVASection id={varId} entity={VARIANT} />
</Suspense>
{/* <Suspense fallback={<SectionLoader />}>
<UniProtVariantsSection id={varId} label='NO-LABEL!' entity={VARIANT} />
</Suspense>
<Suspense fallback={<SectionLoader />}>
Expand Down
Loading

0 comments on commit 7284909

Please sign in to comment.