Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
imedina committed Mar 18, 2019
2 parents 8450a17 + afe3467 commit fb4235b
Show file tree
Hide file tree
Showing 7 changed files with 150 additions and 130 deletions.
2 changes: 1 addition & 1 deletion lib/jsorolla
Submodule jsorolla updated 46 files
+1 −1 package.json
+4 −0 src/core/clients/opencga-client.js
+3 −1 src/core/data-adapter/opencga-adapter.js
+1 −1 src/core/webcomponents/cellbase/core/cellbase-gene-filter.html
+1 −1 src/core/webcomponents/cellbase/variation/cellbase-variantannotation-view.html
+7 −4 src/core/webcomponents/commons/opencb-grid-toolbar.html
+113 −92 src/core/webcomponents/opencga/alignment/opencga-panel-transcript-view.html
+0 −183 src/core/webcomponents/opencga/catalog/clinical/opencga-clinical-portal.html
+46 −46 src/core/webcomponents/opencga/catalog/family/opencga-family-browser.html
+37 −37 src/core/webcomponents/opencga/catalog/individual/opencga-individual-browser.html
+2 −2 src/core/webcomponents/opencga/catalog/panel/opencga-panel-grid.html
+27 −26 src/core/webcomponents/opencga/catalog/samples/opencga-sample-browser.html
+8 −8 src/core/webcomponents/opencga/clinical/obsolete/opencga-variant-clinical.html
+5 −5 src/core/webcomponents/opencga/clinical/obsolete/variant-clinical-samples.html
+18 −2 src/core/webcomponents/opencga/clinical/obsolete/variant-clinical-upload-new.html
+2 −2 src/core/webcomponents/opencga/clinical/opencga-clinical-analysis-browser.html
+25 −19 src/core/webcomponents/opencga/clinical/opencga-clinical-analysis-editor.html
+2 −2 src/core/webcomponents/opencga/clinical/opencga-clinical-analysis-filter.html
+35 −21 src/core/webcomponents/opencga/clinical/opencga-clinical-analysis-grid.html
+16 −12 src/core/webcomponents/opencga/clinical/opencga-clinical-analysis-view.html
+207 −0 src/core/webcomponents/opencga/clinical/opencga-clinical-portal.html
+64 −55 src/core/webcomponents/opencga/clinical/opencga-clinical-review-cases.html
+0 −0 src/core/webcomponents/opencga/clinical/report/opencga-clinical-report-view
+0 −0 src/core/webcomponents/opencga/clinical/report/variant-clinical-report.html
+3 −3 src/core/webcomponents/opencga/clinical/report/variant-report-filter.html
+0 −0 src/core/webcomponents/opencga/clinical/report/variant-report-view.html
+1 −1 src/core/webcomponents/opencga/clinical/test/clinical-analysis-view.html
+2 −2 src/core/webcomponents/opencga/clinical/test/variant-clinical-report.html
+10 −10 src/core/webcomponents/opencga/commons/opencga-facet-result-view.html
+72 −17 src/core/webcomponents/opencga/variant/VariantGridFormatter.js
+47 −40 src/core/webcomponents/opencga/variant/opencga-variant-browser.html
+13 −5 src/core/webcomponents/opencga/variant/opencga-variant-cohort-stats.html
+595 −0 src/core/webcomponents/opencga/variant/opencga-variant-facet-query.html
+1 −1 src/core/webcomponents/opencga/variant/opencga-variant-facet.html
+10 −2 src/core/webcomponents/opencga/variant/opencga-variant-filter-clinical.html
+60 −29 src/core/webcomponents/opencga/variant/opencga-variant-filter.html
+15 −6 src/core/webcomponents/opencga/variant/opencga-variant-grid.html
+23 −24 src/core/webcomponents/opencga/variant/opencga-variant-interpretation-detail.html
+3 −3 src/core/webcomponents/opencga/variant/opencga-variant-interpretation-editor.html
+99 −62 src/core/webcomponents/opencga/variant/opencga-variant-interpretation-grid.html
+525 −131 src/core/webcomponents/opencga/variant/opencga-variant-interpretation.html
+239 −98 src/core/webcomponents/opencga/variant/opencga-variant-interpreter-genome-browser.html
+85 −7 src/core/webcomponents/opencga/variant/opencga-variant-samples.html
+101 −86 src/core/webcomponents/opencga/variant/variant-beacon.html
+28 −19 src/genome-browser/test/gb-alignment-component-demo.html
+49 −25 src/genome-browser/webcomponent/genome-browser.html
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iva",
"version": "1.0.0-rc3",
"version": "1.0.0-rc4",
"description": "IVA description",
"repository": {
"type": "git",
Expand Down Expand Up @@ -36,7 +36,7 @@
"crypto-js": "~3.1.9-1",
"eonasdan-bootstrap-datetimepicker": "~4.17.43",
"file-saver": "~1.3.2",
"font-awesome": "*",
"@fortawesome/fontawesome-free": "^5.6.0",
"highcharts": "~4.2.7",
"jquery": "~2.2.4",
"jquery.json-viewer": "^1.1.0",
Expand Down
48 changes: 24 additions & 24 deletions src/conf/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const opencga = {

const application = {
title: "IVA",
version: "v1.0.0-rc3",
version: "v1.0.0-rc4",
logo: "img/opencb-logo.png",
// The order, title and nested submenus are respected
menu: [
Expand All @@ -91,6 +91,11 @@ const application = {
title: "Aggregation Stats",
visibility: "public",
},
{
id: "clinicalAnalysisPortal",
title: "Interpretation Portal",
visibility: "public",
},
{
id: "beacon",
title: "Beacon",
Expand All @@ -99,22 +104,8 @@ const application = {
{
id: "case",
title: "Clinical",
visibility: "public",
visibility: "none",
submenu: [
{
id: "clinicalAnalysisPortal",
title: "Interpretation Portal",
visibility: "public",
},
{
id: "interpretation",
title: "Variant Interpreter",
visibility: "public",
},
{
separator: true,
visibility: "public",
},
{
id: "clinical",
title: "Clinical (Old)",
Expand All @@ -124,7 +115,7 @@ const application = {
},
{
id: "genomeBrowser",
title: "Genome Browser (Beta)",
title: "Genome Browser",
visibility: "public"
},
{
Expand Down Expand Up @@ -185,9 +176,14 @@ const application = {
category: true,
visibility: "public",
},
{
id: "interpretation",
title: "Variant Interpreter",
visibility: "public",
},
{
id: "tiering",
title: "Tiering (Genomics England)",
title: "OpenCGA Tiering (Based on GEL Tiering)",
visibility: "public",
},
{
Expand Down Expand Up @@ -223,7 +219,7 @@ const application = {
},
{
id: "catalog",
title: "Catalog (New!)",
title: "Catalog Metadata",
visibility: "public",
submenu: [
{
Expand Down Expand Up @@ -283,7 +279,7 @@ const application = {
visible: true,
},
settings: {
visibility: "public",
visible: false,
},
about: {
dropdown: true,
Expand Down Expand Up @@ -367,12 +363,16 @@ const populationFrequencies = {
common: "#0000ff",
unobserved: "black"
},
tooltip: `<strong>1000 Genomes</strong> Only considers variants whose observed allelic frequency in the 1000 genomes phase 3 database
is below (or above) the defined value. Genome-wide allelic frequencies were obtained from more than 2.500 genomes.<br><br>
<strong>gnomAD Genomes</strong> Only considers variants whose observed allelic frequency in the gnomAD Genomes database is
below (or above) the defined value. Frequencies were calculated from about 15,000 unrelated individuals`,
studies: [
{
id: "1kG_phase3",
title: "1000 Genomes",
tooltip: "Only considers variants whose observed allelic frequency in the 1000 genomes phase 3 database is below (or above) " +
"the defined value. Genome-wide allelic frequencies were obtained from more than 2.500 genomes.",
// tooltip: "Only considers variants whose observed allelic frequency in the 1000 genomes phase 3 database is below (or above) " +
// "the defined value. Genome-wide allelic frequencies were obtained from more than 2.500 genomes.",
populations: [
{
id: "ALL", title: "All populations [ALL]",
Expand All @@ -397,8 +397,8 @@ const populationFrequencies = {
{
id: "GNOMAD_GENOMES",
title: "gnomAD Genomes",
tooltip: "Only considers variants whose observed allelic frequency in the gnomAD Genomes database is below (or above) the " +
"defined value. Frequencies were calculated from about 15,000 unrelated individuals.",
// tooltip: "Only considers variants whose observed allelic frequency in the gnomAD Genomes database is below (or above) the " +
// "defined value. Frequencies were calculated from about 15,000 unrelated individuals.",
populations: [
{
id: "ALL", title: "gnomAD [ALL]",
Expand Down
62 changes: 29 additions & 33 deletions src/conf/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
/**
* Created by imedina on 05/06/17.
*/

const filterMenu = {
searchButtonText: "Search",
tooltip: {
Expand Down Expand Up @@ -77,7 +78,7 @@ const filterMenu = {
},
{
id: "biotype",
title: "Biotype",
title: "Gene Biotype",
biotypes: [
"3prime_overlapping_ncrna", "IG_C_gene", "IG_C_pseudogene", "IG_D_gene", "IG_J_gene", "IG_J_pseudogene",
"IG_V_gene", "IG_V_pseudogene", "Mt_rRNA", "Mt_tRNA", "TR_C_gene", "TR_D_gene", "TR_J_gene", "TR_J_pseudogene",
Expand All @@ -104,13 +105,8 @@ const filterMenu = {
{
id: "populationFrequency",
title: "Select Population Frequency",
tooltip: "<strong>1000 Genomes</strong> only considers variants whose observed allelic frequency in the 1000 Genomes " +
"Phase 3 project is below (or above) the defined value. Allele frequencies were obtained from about 2,500 samples." +
"<br><strong>ExAC</strong> only considers variants whose observed allelic frequency in the The Exome Aggregation " +
"Consortium (ExAC) database is below (or above) the defined value. ExAC covers only exomic positions. " +
"The frequencies were obtained using more than 60.000 exomes." +
"<br><strong>ESP56500</strong> only considers variants whose observed allelic frequency in the Exome Variant Server " +
"(ESP6500) database is below (or above) the defined value. ESP6500 covers only exomic positions from about 6000 exomes"
tooltip: populationFrequencies.tooltip,
showSetAll: true
}
]
},
Expand Down Expand Up @@ -247,7 +243,7 @@ const tools = {
examples: [
{
name: "Example BRCA2",
active: true,
active: false,
query: {
gene: "BRCA2",
conservation: "phylop<0.001"
Expand Down Expand Up @@ -304,21 +300,34 @@ const tools = {
{
id: "network",
component: "reactome-variant-network",
title: "Gene network"
title: "Reactome Pathways"
},
{
id: "template",
component: "opencga-variant-detail-template",
title: "Template"
}
// {
// id: "template",
// component: "opencga-variant-detail-template",
// title: "Template"
// }
]
},
interpretation: {
title: "Variant Interpreter",
active: false,
filter: {
menu: interpreterMenu,
lof: ["transcript_ablation", "splice_acceptor_variant", "splice_donor_variant", "stop_gained", "frameshift_variant",
"stop_lost", "start_lost", "transcript_amplification", "inframe_insertion", "inframe_deletion"],
examples: [
{
name: "Default (protein and missense)",
active: true,
query: {
biotype: "protein_coding",
// alternate_frequency: "1kG_phase3:ALL<0.001;GNOMAD_GENOMES:ALL<0.001",
ct: "transcript_ablation,splice_acceptor_variant,splice_donor_variant,stop_gained," +
"frameshift_variant,stop_lost,start_lost,transcript_amplification,inframe_insertion,inframe_deletion," +
"missense_variant",
}
},
{
name: "Tiering (AR)",
active: false,
Expand All @@ -345,19 +354,6 @@ const tools = {
"SO:0001821,SO:0001822,SO:0001583,SO:0001630,SO:0001626"
}
},
{
name: "Clinical Interpretation",
active: true,
query: {
region: "1",
biotype: "protein_coding",
alternate_frequency: "1kG_phase3:ALL<0.001;GNOMAD_GENOMES:ALL<0.001",
ct: "transcript_ablation,splice_acceptor_variant,splice_donor_variant,stop_gained," +
"frameshift_variant,stop_lost,start_lost,transcript_amplification,inframe_insertion,inframe_deletion," +
"missense_variant",
// genotype: "NA12877:0/1;NA12878:0/1;NA12879:0/1,1/1"
}
},
{
name: "Stickler syndrome",
query: {
Expand Down Expand Up @@ -403,11 +399,11 @@ const tools = {
// "lovd", "hgmd", "icgc", "sahgp"
// ]
},
{
id: "template",
component: "opencga-variant-detail-template",
title: "Template"
}
// {
// id: "template",
// component: "opencga-variant-detail-template",
// title: "Template"
// }
],
css: {
style: "font-size: 12px"
Expand Down
3 changes: 2 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@
<!-- /build -->

<!-- build:css css/font-awesome.min.css -->
<link rel="stylesheet" href="../node_modules/font-awesome/css/font-awesome.min.css">
<!--<link rel="stylesheet" href="../node_modules/font-awesome/css/font-awesome.min.css">-->
<link rel="stylesheet" href="../node_modules/@fortawesome/fontawesome-free/css/all.min.css">
<!-- /build -->

<!-- build:css css/jquery.qtip.min.css -->
Expand Down
Loading

0 comments on commit fb4235b

Please sign in to comment.