Closed AHTARazzak closed 1 year ago
Maybe something changed with the stable IDs in data_microbiome.txt? https://github.com/cBioPortal/cbioportal/blob/master/core/src/main/java/org/mskcc/cbio/portal/scripts/ImportGenericAssayEntity.java#L193
Maybe something changed with the stable IDs in data_microbiome.txt? https://github.com/cBioPortal/cbioportal/blob/master/core/src/main/java/org/mskcc/cbio/portal/scripts/ImportGenericAssayEntity.java#L193
Hmm interesting, I don't even have a data_microbiome.txt file in my study so that could be the root cause. Good catch, will investigate tomorrow.
@BasLee Going through trouble shooting process reallised I made a critical mistake. That I tried loading in a public study: acc_tcga_pan_can_atlas_2018
Which led to the above errors regarding data_microbiome.txt- perhaps as you've outlined maybe some has changed there.
But more related my problem- I identified that it was problems in expression file formatting, there were 2 problem files:
Although they import fine in v5.1.0 maybe something has changed since then?
Additionally, when I attempt to import the new CNA data (files attached) I am met with the following errors:
DEBUG: meta_cna_discrete.txt: Starting validation of meta file
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Error occurred during validation step:
INFO: meta_cna_discrete.txt: Validation of meta file complete
Traceback (most recent call last):
File "/usr/local/bin/metaImport.py", line 121, in <module>
exitcode = validateData.main_validate(args)
File "/cbioportal/core/src/main/scripts/importer/validateData.py", line 5647, in main_validate
validate_study(study_dir, portal_instance, logger, relaxed_mode, strict_maf_checks)
File "/cbioportal/core/src/main/scripts/importer/validateData.py", line 5370, in validate_study
tags_file_path) = process_metadata_files(study_dir, portal_instance, logger, relaxed_mode, strict_maf_checks)
File "/cbioportal/core/src/main/scripts/importer/validateData.py", line 4796, in process_metadata_files
validator_class = globals()[VALIDATOR_IDS[meta_file_type]]
KeyError: 'meta_CNA_long'
As an update, Bas identified that there is a bug where the data_cna_discrete.txt file demands an entrez_id even if the hugo_symbol is filled when loading a study. Need to confirm but I think the intended fix is to allow the entrez_id value to be absent when a hugo_symbol is defined for an entry.
The import of cna long format entries with hugo instead of entrez IDs should be fixed in release 5.2.4: https://github.com/cBioPortal/cbioportal/discussions/9964
Awesome, thanks Bas. Can verify the study with SVS data I wanted to load is successfully importing & visualising with just a hugo symbol, sample id & value.
As a side note, thought the Expression data import was also somehow affected but totally wrong- artifact from my transformation script due to CNA transformation changes.
Thanks a bunch !
Hello,
I've recently updated our local cbioportal to 5.2.3. instance to take advantage of @BasLee new CNA input format.
However, when I try to load a new study I am met with the following error:
I suspect it a result of:
o.m.cbio.portal.util.ServerDetector - Detected server null
If i revert to an earlier version (5.1.0) I do not meet this error & can load my data fine (when it doesn't possess the new CNA format)
I'll tinker about but any guidance or advice is greatly appreciated.