add nextflow d30e48d
This commit is contained in:
78
nextflow/tests-v1/checks/output-dsl.nf/.checks
Normal file
78
nextflow/tests-v1/checks/output-dsl.nf/.checks
Normal file
@@ -0,0 +1,78 @@
|
||||
#
|
||||
# run normal mode
|
||||
#
|
||||
echo First run
|
||||
$NXF_RUN --save_bam_bai | tee stdout
|
||||
|
||||
[[ $(grep INFO .nextflow.log | grep -c 'Submitted process > fastqc') == 3 ]] || false
|
||||
[[ $(grep INFO .nextflow.log | grep -c 'Submitted process > align') == 3 ]] || false
|
||||
[[ $(grep INFO .nextflow.log | grep -c 'Submitted process > quant') == 3 ]] || false
|
||||
|
||||
[[ -f results/log/alpha.fastqc.log ]] || false
|
||||
[[ -f results/log/beta.fastqc.log ]] || false
|
||||
[[ -f results/log/delta.fastqc.log ]] || false
|
||||
[[ -f results/align/alpha.bai ]] || false
|
||||
[[ -f results/align/alpha.bam ]] || false
|
||||
[[ -f results/align/beta.bai ]] || false
|
||||
[[ -f results/align/beta.bam ]] || false
|
||||
[[ -f results/align/delta.bai ]] || false
|
||||
[[ -f results/align/delta.bam ]] || false
|
||||
[[ -L results/quant/alpha ]] || false
|
||||
[[ -L results/quant/beta ]] || false
|
||||
[[ -L results/quant/delta ]] || false
|
||||
[[ -f results/samples.csv ]] || false
|
||||
[[ -f results/summary.txt ]] || false
|
||||
|
||||
|
||||
#
|
||||
# one more time to make sure 'overwrite' is fine
|
||||
#
|
||||
echo Second run
|
||||
$NXF_RUN --save_bam_bai | tee stdout
|
||||
|
||||
[[ $(grep INFO .nextflow.log | grep -c 'Submitted process > fastqc') == 3 ]] || false
|
||||
[[ $(grep INFO .nextflow.log | grep -c 'Submitted process > align') == 3 ]] || false
|
||||
[[ $(grep INFO .nextflow.log | grep -c 'Submitted process > quant') == 3 ]] || false
|
||||
|
||||
[[ -f results/log/alpha.fastqc.log ]] || false
|
||||
[[ -f results/log/beta.fastqc.log ]] || false
|
||||
[[ -f results/log/delta.fastqc.log ]] || false
|
||||
[[ -f results/align/alpha.bai ]] || false
|
||||
[[ -f results/align/alpha.bam ]] || false
|
||||
[[ -f results/align/beta.bai ]] || false
|
||||
[[ -f results/align/beta.bam ]] || false
|
||||
[[ -f results/align/delta.bai ]] || false
|
||||
[[ -f results/align/delta.bam ]] || false
|
||||
[[ -L results/quant/alpha ]] || false
|
||||
[[ -L results/quant/beta ]] || false
|
||||
[[ -L results/quant/delta ]] || false
|
||||
[[ -f results/samples.csv ]] || false
|
||||
[[ -f results/summary.txt ]] || false
|
||||
|
||||
|
||||
#
|
||||
# clean & run resume mode
|
||||
#
|
||||
echo Third run
|
||||
rm -rf results
|
||||
|
||||
$NXF_RUN --save_bam_bai -resume | tee stdout
|
||||
|
||||
[[ $(grep INFO .nextflow.log | grep -c 'Cached process > fastqc') == 3 ]] || false
|
||||
[[ $(grep INFO .nextflow.log | grep -c 'Cached process > align') == 3 ]] || false
|
||||
[[ $(grep INFO .nextflow.log | grep -c 'Cached process > quant') == 3 ]] || false
|
||||
|
||||
[[ -f results/log/alpha.fastqc.log ]] || false
|
||||
[[ -f results/log/beta.fastqc.log ]] || false
|
||||
[[ -f results/log/delta.fastqc.log ]] || false
|
||||
[[ -f results/align/alpha.bai ]] || false
|
||||
[[ -f results/align/alpha.bam ]] || false
|
||||
[[ -f results/align/beta.bai ]] || false
|
||||
[[ -f results/align/beta.bam ]] || false
|
||||
[[ -f results/align/delta.bai ]] || false
|
||||
[[ -f results/align/delta.bam ]] || false
|
||||
[[ -L results/quant/alpha ]] || false
|
||||
[[ -L results/quant/beta ]] || false
|
||||
[[ -L results/quant/delta ]] || false
|
||||
[[ -f results/samples.csv ]] || false
|
||||
[[ -f results/summary.txt ]] || false
|
||||
Reference in New Issue
Block a user