Skip to content

Commit

Permalink
opencga-clinical-review-cases.js amd variant-interpreter-browser-rd.j…
Browse files Browse the repository at this point in the history
…s external setting in progress opencb/jsorolla#152, #236
  • Loading branch information
antonioaltamura committed Jun 24, 2021
1 parent 733dedb commit 33293f8
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 40 deletions.
7 changes: 0 additions & 7 deletions src/conf/opencga-clinical-review-cases.config.js

This file was deleted.

56 changes: 25 additions & 31 deletions src/conf/opencga-clinical-review-cases.settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,29 @@ const OpencgaClinicalReviewCasesSettings = {
}
]
},
filter: {
sections: [
{
id: "main",
title: "",
fields: [
{
id: "case"
},
{
id: "sample"
},
{
id: "proband"
},
{
id: "family"
},
{
id: "disorder"
},
{
id: "type"
},
{
id: "assignee"
}
]
}
]
}
// NOTE cannot easily customise canned filters here
filters: [
{
id: "case"
},
{
id: "sample"
},
{
id: "proband"
},
{
id: "family"
},
{
id: "disorder"
},
{
id: "type"
},
{
id: "assignee"
}
]

};
56 changes: 56 additions & 0 deletions src/conf/variant-interpreter-browser-rd.settings.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
const variantInterpreterBrowserRdSettings = {
filters: [
{
id: "sample-genotype"
},
{
id: "sample"
},
{
id: "file-quality",
showDepth: false
},
{
id: "cohort"
},
{
id: "region"
},
{
id: "feature"
},
{
id: "biotype"
},
{
id: "type"
},
{
id: "diseasePanels"
},
{
id: "clinvar"
},
{
id: "consequenceTypeSelect"
},
{
id: "populationFrequency"
},
{
id: "go"
},
{
id: "hpo"
},
{
id: "proteinSubstitutionScore"
},
{
id: "cadd"
},
{
id: "conservation"
}
]
};
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
<script defer src="conf/opencga-clinical-analysis-view.settings.js"></script>
<script defer src="conf/opencga-sample-browser.config.js"></script>
<script defer src="conf/opencga-variant-browser.config.js"></script>
<script defer src="conf/opencga-clinical-review-cases.config.js"></script>
<script defer src="conf/variant-interpreter.config.js"></script>
<script defer src="conf/opencga-clinical-review-cases.settings.js"></script>
<script defer src="conf/variant-interpreter-browser-rd.settings.js"></script>
<!-- <script src="../lib/jsorolla/src/core/webcomponents/opencga/panels_example.js"></script>-->
<script src="conf/tools.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion src/iva-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ class IvaApp extends LitElement {
<div class="content" id="clinicalAnalysisPortal">
<tool-header title="${"Case Portal"}" icon="${"fas fa-window-restore"}"></tool-header>
<opencga-clinical-review-cases .opencgaSession="${this.opencgaSession}"
.config="${OpencgaClinicalReviewCasesConfig}"></opencga-clinical-review-cases>
.settings="${OpencgaClinicalReviewCasesSettings}"></opencga-clinical-review-cases>
</div>
` : null}
Expand Down

0 comments on commit 33293f8

Please sign in to comment.