cBioPortal / cbioportal

cBioPortal for Cancer Genomics
https://cbioportal.org
GNU Affero General Public License v3.0
636 stars 487 forks source link

Segmented copy number data doesn't show up #611

Closed j-hudecek closed 6 years ago

j-hudecek commented 8 years ago

I have a study with clinical and copy number data (see attached meta file). When I go to patient view of a patient that has copy number profile, the genomic overview never shows up (instead the ajax-loader stays there forever). However, when I put a js breakpoint on line 326 of the main HTML file (on the "if (true)"):

 $(document).ready(function(){
        if (true) {
            $('div#summary').html("No mutation or copy number profile data is available for this tumor.");
            return;
        }

and execute the block that follows (that loads the copy number data) it shows up perfectly fine.

meta_segmented.txt

j-hudecek commented 8 years ago

This study doesn't have any mutation data. Segmented copy number data for some reason doesn't create a genomic profile, so the logic in patient_view.jsp determines that there are no genomic profiles to display. And that's why it decides to hide the genomic overview. So either copy number data should create a genomic profile on import or the method of determining if copy number is present should change.