Skip to content

Commit

Permalink
Merge branch 'cBioPortal:master' into 10299-genetable-version
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeswari2904 authored Dec 16, 2024
2 parents ffd69eb + 711a61d commit 2e457a7
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 7 deletions.
21 changes: 21 additions & 0 deletions docs/Donate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## The cBioPortal Foundation

The mission of cBioPortal Foundation is to support the development and adoption of the cBioPortal for Cancer Genomics, open-source software for the interactive exploration of multidimensional cancer genomics data sets. The cBioPortal aims to significantly lower the barriers between complex genomic data and cancer researchers by providing rapid, intuitive, and high-quality access to molecular profiles and clinical attributes from large-scale cancer genomics projects, and by doing so, empower researchers to translate these rich data sets into biologic insights and clinical applications.

The cBioPortal Foundation will help further the mission of cBioPortal by supporting hackathons, user meetings, internships and other activities.

## Contribute to cBioPortal Foundation

**TAX-DEDUCTIBLE CONTRIBUTIONS**

**Grants or distributions accepted from:**
Individuals • Corporations • Donor-Advised Funds • Foundations
Retirement Accounts • Charitable Trusts

**Donate any asset with established or appraisable value, such as:**
Stocks • Bonds • Real Estate • Collectibles • Art
Cryptocurrency • Privately Held Business Interests

[Asset & Large Contributions](https://lohas.org/client/cbioportal-foundation/#donation_form)

[Online Donations](https://abqwvktl.donorsupport.co/page/FUNFLDNZDHK)
2 changes: 1 addition & 1 deletion docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@
* [Release Procedure](development/Release-Procedure.md)
* [Deployment Procedure](development/Deployment-Procedure.md)
* [This documentation site](development/Documentation-site.md)

* [Donate](Donate.md)
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ After download, the files can be unzipped by entering the following command:
1. Import the database schema (/db-scripts/src/main/resources/cgds.sql):

```
mysql --user=cbio_user --password=somepassword cbioportal < cgds.sql
mysql --user=cbio --password=P@ssword1 cbioportal < cgds.sql
```
Note that this may currently fail when using the default character encoding on MySQL 8.0 (`utf8mb4`); this is why MySQL 5.7 (which uses `latin1`) is recommended.
2. Import the main part of the seed database:
```
mysql --user=cbio_user --password=somepassword cbioportal < seed-cbioportal_RefGenome_vX.Y.Z.sql
mysql --user=cbio --password=P@ssword1 cbioportal < seed-cbioportal_RefGenome_vX.Y.Z.sql
```
**Important:** Replace `seed-cbioportal_RefGenome_vX.Y.Z.sql` with the downloaded version of the seed database, such as `seed-cbioportal_hg19_v2.3.1.sql` or `seed-cbioportal_mm10_v2.3.1.sql`.
3. (Human only) Import the Protein Data Bank (PDB) part of the seed database. This will enable the visualization of PDB structures in the mutation tab. Loading this file takes more time than loading the previous files, and is optional for users that do not require PDB structures.
```
mysql --user=cbio_user --password=somepassword cbioportal < seed-cbioportal_hg19_vX.Y.Z_only-pdb.sql
mysql --user=cbio --password=P@ssword1 cbioportal < seed-cbioportal_hg19_vX.Y.Z_only-pdb.sql
```
**Important:** Replace `seed-cbioportal_hg19_vX.Y.Z_only-pdb.sql` with the downloaded version of the PDB database, such as `seed-cbioportal_hg19_v2.3.1_only-pdb.sql`.
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>org.cbioportal</groupId>
<artifactId>cbioportal</artifactId>
<version>6.0.22-SNAPSHOT</version>
<version>6.0.23-SNAPSHOT</version>

<description>cBioPortal for Cancer Genomics</description>

Expand All @@ -27,7 +27,7 @@
<!-- TODO replace with version of cbioportal frontend with compatible
login url-->
<frontend.groupId>com.github.cbioportal</frontend.groupId>
<frontend.version>v6.0.21</frontend.version>
<frontend.version>v6.0.22</frontend.version>

<!-- THIS SHOULD BE KEPT IN SYNC TO VERSION IN CGDS.SQL -->
<db.version>2.13.1</db.version>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/cbioportal/WebAppConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void addViewControllers(ViewControllerRegistry registry) {
registry.addRedirectViewController("/installations", "https://installationmap.netlify.app/");
registry.addRedirectViewController("/tutorials", "https://docs.cbioportal.org/user-guide/overview/#tutorial-slides");
registry.addRedirectViewController("/oql", "https://docs.cbioportal.org/user-guide/oql/");
registry.addRedirectViewController("/faq", "https://docs.cbioportal.org/user-guide/faq/");
registry.addRedirectViewController("/donate", "https://docs.cbioportal.org/donate/");

List<String> endpoints = List.of(
"/results/*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ public enum FrontendProperty {
skin_patient_view_structural_variant_table_columns_show_on_init("skin.patient_view.structural_variant_table.columns.show_on_init", null),
skin_results_view_tables_default_sort_column("skin.results_view.tables.default_sort_column", null),
skin_survival_plot_clinical_event_types_show_on_init("skin.survival_plot.clinical_event_types.show_on_init", null),
skin_show_donate_button("skin.show_donate_button", "false"),

skin_patient_view_tables_default_sort_column("skin.patient_view.tables.default_sort_column", null),
enable_treatment_groups("enable_treatment_groups", null),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ public List<GeneMolecularData> getMolecularDataInMultipleMolecularProfiles(List<

Map<String, MolecularProfileSamples> commaSeparatedSampleIdsOfMolecularProfilesMap = molecularDataRepository
.commaSeparatedSampleIdsOfMolecularProfilesMap(distinctMolecularProfileIds);
if (commaSeparatedSampleIdsOfMolecularProfilesMap.size() == 0) {
return molecularDataList;
}

Map<String, Map<Integer, Integer>> internalSampleIdsMap = new HashMap<>();
List<Integer> allInternalSampleIds = new ArrayList<>();
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/webapp/config_service.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"skin.show_tutorials_tab",
"skin.show_web_api_tab",
"skin.show_tweet_button",
"skin.show_donate_button",
"skin.patientview.filter_genes_profiled_all_samples",
"skin.patientview.show_mskcc_slide_viewer",
"skin.home_page.show_unauthorized_studies",
Expand Down

0 comments on commit 2e457a7

Please sign in to comment.