:sparkles: search and track orphaned BioSamples IDs
Closed this issue · 2 comments
Is your feature request related to a problem? Please describe.
During previous submission, we have seen issues like records duplication for some submitted Animal/Samples. Moreover there should be the possibility to remove a submitted biosample id. Regarding the duplication issue, records can't be deleted using InjectTool, since they never be submitted from InjectTool. The main intent of this issue now become notify admin about data not managed by InjectTool. Since is not possible to remove a record from BioSample, the release date should be postponed with a lot of years
Describe the solution you'd like
A new background tasks should monitor for ophaned BioSamples records, and notify to the admin user that there are issues in Submitted data. Then a command will postpone the published date for ophan records. This command will not be executed by InjectTool, the BioSamples removal is not described in the project aims, so it need to be requested explicitely by the user.
Describe alternatives you've considered
A user could load its data and then remove records from InjectTool while preserving them into BioSamples: for such cases orphaned records need to be ignored
Additional context
- define a task to monitor orphaned records
- filter record accordingly domains (record that I could change)
- define a table in which track orphaned records
- define a table in which track records to ignore
- notify admin about issues in IMAGE data
- test how the release data trick affect the returned results
- define a submission task for orphaned samples
- track orphaned submission status with
pyUSIrest
- write a magement command to deal with this stuff
The BioSamples team has removed these duplicated ids and made them private. This issue in particular could be refactored to monitor and notify the admin user that something strange happened
Re-opened in order to remove from BioSamples samples submitted by InjectTool and not more managed