-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC84: Data Entries Removal #46
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
forus
requested review from
JREastonMarks,
pieterlukasse and
haynescd
and removed request for
JREastonMarks
June 5, 2024 09:58
src/main/java/org/mskcc/cbio/portal/dao/DaoGeneticProfileSamples.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @forus ! I added some comments. Please take a look
pieterlukasse
previously approved these changes
Jun 28, 2024
src/main/java/org/mskcc/cbio/portal/dao/DaoGeneticAlteration.java
Outdated
Show resolved
Hide resolved
src/test/java/org/mskcc/cbio/portal/integrationTest/scripts/TestImportCnaDiscreteLongData.java
Show resolved
Hide resolved
This was referenced Jun 28, 2024
Add command to remove sample to python wrapper Implment sample removal command Remove sample from the tab delimited tables as well Do samples removal in a transaction Move removing sample everywhere in study to respective DAOs To be able to reuse this functionality Refactor sample removal test by using stream of Test and fix edge cases of sample removal command Add command to remove patient to python wrapper Add java command to remove patient in a study Increase test independence Adding or removing profile/sample should break only one test Fix patient id to sample ids mapping bug Throw exception when sample with GSVA is removed Throw exception when generic profile samples list is empty Refactor patient and sample removal code Remove unused logger and imports Remove unused code from cna discrete long data tests
pieterlukasse
approved these changes
Jul 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In the current implementation of cBioPortal, the functionality for data management is limited to the deletion of entire studies, as documented here. This approach lacks granularity and does not provide users with the ability to selectively remove individual entries associated with a study, such as patients, samples, or specific molecular data profiles. This limitation restricts the flexibility needed for detailed data management and maintenance, leading to potential inefficiencies and challenges in study data handling.
To address this limitation, this PR extends the capabilities of the
cbioportalImporter.py
script and includes additional commands to the java tool that allow for the selective removal of patient or sample.See more details in the RFC84 Data Entries Removal document.
Reminder: Do not forget to enable the following PR cBioPortal/cbioportal#10820