Clinical-Genomics / demultiplexing

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

fix: run once and only once #95

Closed ingkebil closed 4 years ago

ingkebil commented 4 years ago

This PR removes a run condition from starting a novaseq demux

How to test:

Expected outcome: Only one run should "start" (echo)

Review:

This is patch version bump because this fixes an edge case bug.

patrikgrenfeldt commented 4 years ago

Nice one!

barrystokman commented 4 years ago

Are the tests executed? There's a name but no check mark :confused:

ingkebil commented 4 years ago
[hiseq.clinical@thalamus novaseq]$ bash checkfornewrun.bash ~/STAGE/novaseq/runs/ ~/STAGE/novaseq/demux/
date +'%Y%m%d%H%M%S' > /home/hiseq.clinical/STAGE/novaseq/runs//190129_A00689_0008_BHHGYWDSXX/demuxstarted.txt
mkdir -p /home/hiseq.clinical/STAGE/novaseq/demux//190129_A00689_0008_BHHGYWDSXX/
bash /home/hiseq.clinical/git/kenny/demultiplexing/scripts/novaseq/demux-novaseq.bash /home/hiseq.clinical/STAGE/novaseq/runs//190129_A00689_0
008_BHHGYWDSXX /home/hiseq.clinical/STAGE/novaseq/demux/ &>> /home/hiseq.clinical/STAGE/novaseq/demux//190129_A00689_0008_BHHGYWDSXX/projectlo
g.20200220153505.log
rm -f /home/hiseq.clinical/STAGE/novaseq/demux//190129_A00689_0008_BHHGYWDSXX/copycomplete.txt
date +'%Y%m%d%H%M%S' > /home/hiseq.clinical/STAGE/novaseq/demux//190129_A00689_0008_BHHGYWDSXX/demuxcomplete.txt
[hiseq.clinical@thalamus novaseq]$ bash checkfornewrun.bash ~/STAGE/novaseq/runs/ ~/STAGE/novaseq/demux/
190129_A00689_0008_BHHGYWDSXX is finished and demultiplexing has already started
date +'%Y%m%d%H%M%S' > /home/hiseq.clinical/STAGE/novaseq/runs//200214_A00621_0182_AHKC5VDRXX/demuxstarted.txt
mkdir -p /home/hiseq.clinical/STAGE/novaseq/demux//200214_A00621_0182_AHKC5VDRXX/
bash /home/hiseq.clinical/git/kenny/demultiplexing/scripts/novaseq/demux-novaseq.bash /home/hiseq.clinical/STAGE/novaseq/runs//200214_A00621_0
182_AHKC5VDRXX /home/hiseq.clinical/STAGE/novaseq/demux/ &>> /home/hiseq.clinical/STAGE/novaseq/demux//200214_A00621_0182_AHKC5VDRXX/projectlo
g.20200220153516.log
rm -f /home/hiseq.clinical/STAGE/novaseq/demux//200214_A00621_0182_AHKC5VDRXX/copycomplete.txt
date +'%Y%m%d%H%M%S' > /home/hiseq.clinical/STAGE/novaseq/demux//200214_A00621_0182_AHKC5VDRXX/demuxcomplete.txt