Clinical-Genomics / demultiplexing

To keep scripts associated with execution of the Illumina demultiplexing pipeline
5 stars 0 forks source link

fix novaseq demux script to enable automated post demux actions #137

Closed barrystokman closed 3 years ago

barrystokman commented 3 years ago

The script https://github.com/Clinical-Genomics/deliver/blob/master/scripts/checkfornewdemuxonhasta.bash looks for both copycomplete.txt and demuxcomplete.txt to start post demux actions. For novaseq flowcells these actions are limited to adding the flowcell to HK (by running cg transfer flowcell <flowcell_id) and sending out an email indicating the the run is complete.

The file copycomplete.txt was previously added by the script https://github.com/Clinical-Genomics/demultiplexing/blob/98b5d9f5dff9d5bd932db98c32c3dbf422a73b11/scripts/2-hiseq-deliver.bash on thalamus that synced the demux directory on thalamus to the demultiplexed-runs directory on hasta.

This fix makes sure a copycomplete.txt is added to the run directory in demultiplexed-runs. It also remove any existing delivery.txt so the automation will pick it up for post demux actions

How to prepare for test:

How to test:

Expected test outcome:

Review:

This version is a:

barrystokman commented 3 years ago

image image image

barrystokman commented 3 years ago

@karlnyr @henrikstranneheim I realized a quick fix was needed for post demux actions, if possible I'd like to deploy this today so it's ready to process the novaseq flowcell being sequenced today.

barrystokman commented 3 years ago

Bumped: image

Deployed on hasta: image