Skip to content

Commit

Permalink
feat: update regulation workflow id and add transcriptomics (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterckx committed Oct 26, 2024
1 parent 67729d6 commit 814b352
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
1 change: 1 addition & 0 deletions app/apis/catalog/brc-analytics-catalog/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export const WORKFLOW_IDS_BY_ANALYSIS_METHOD: Partial<
Record<ANALYSIS_METHOD, WORKFLOW_ID>
> = {
[ANALYSIS_METHOD.REGULATION]: WORKFLOW_ID.REGULATION,
[ANALYSIS_METHOD.TRANSCRIPTOMICS]: WORKFLOW_ID.TRANSCRIPTOMICS,
};
3 changes: 2 additions & 1 deletion app/apis/catalog/brc-analytics-catalog/common/entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ export interface EntitiesResponsePagination {
}

export enum WORKFLOW_ID {
REGULATION = "https://dockstore.org/api/ga4gh/trs/v2/tools/#workflow/github.com/iwc-workflows/chipseq-pe/main/versions/v0.12",
REGULATION = "https://dockstore.org/api/ga4gh/trs/v2/tools/#workflow/github.com/iwc-workflows/ChIPseq_PE/main",
TRANSCRIPTOMICS = "https://dockstore.org/api/ga4gh/trs/v2/tools/#workflow/github.com/iwc-workflows/rnaseq-pe/main",
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ export const mainColumn: ComponentsConfig = [
variant: "banner",
},
},
{
component: C.AnalysisMethod,
viewBuilder: (r) =>
V.buildGenomeAnalysisMethod(r, {
analysisMethod: ANALYSIS_METHOD.TRANSCRIPTOMICS,
text: MDX.Transcriptomics({}),
title: "Transcriptomics",
}),
},
{
component: C.AnalysisMethod,
viewBuilder: (r) =>
Expand Down Expand Up @@ -54,15 +63,6 @@ export const mainColumn: ComponentsConfig = [
title: "Variant calling",
}),
},
{
component: C.AnalysisMethod,
viewBuilder: (r) =>
V.buildGenomeAnalysisMethod(r, {
analysisMethod: ANALYSIS_METHOD.TRANSCRIPTOMICS,
text: MDX.Transcriptomics({}),
title: "Transcriptomics",
}),
},
{
component: C.AnalysisMethod,
viewBuilder: (r) =>
Expand Down

0 comments on commit 814b352

Please sign in to comment.