#1548 closed enhancement (fixed)

Reggie should not delete merged items in the DNA/WGS pipeline

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Reggie v4.51
Component: net.sf.basedb.reggie Keywords:
Cc:

Description

The merged items have the FASTQ files that are the first level of raw data for the DNA/WGS pipelines. There is no way to get them back if the merged items and everything downstream is deleted.

There are two wizards that are affected by this:

  1. The "Stray files" wizard. It should be blocked from deleting folders that seems to be related to a merged item. Note that this wizard only matches folders that have no associated item in the database, so we can only "guess" this by the general folder layout. The FASTQ files for a merged item are typically located 3 levels down from the root folder, for example: /11/1122334.b/d.a.lib.g/.
  1. The "Secondary analysis cleanup" wizard. This wizard works with items that have been put into the traschcan. It should be relatively easy to implement a check that blocks removal of MergedSequences depending on the Pipeline annotation. It should be possible to manually override this after a warning.

Change History (2)

comment:1 by Nicklas Nordborg, 12 months ago

In 7471:

References #1548: Reggie should not delete merged items in the DNA/WGS pipeline

The "Stray files" wizard show now detect folders that may contain FASTQ files and should refuse to delete them.

comment:2 by Nicklas Nordborg, 12 months ago

Resolution: fixed
Status: newclosed

In 7472:

Fixes #1548: Reggie should not delete merged items in the DNA/WGS pipeline

The "Secondary analysis cleanup" wizard now check if there are any MergedSequences in the DNA/*/WGS pipelines that have been marked for deletion. If so, a warning message is displayed and a special checkbox must be checked to delete them.

Note: See TracTickets for help on using tickets.