-
Notifications
You must be signed in to change notification settings - Fork 642
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
- Loading branch information
1 parent
69dfe54
commit aa50499
Showing
2 changed files
with
76 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# | ||
# 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/fastqc/alpha.fastqc.log ]] || false | ||
[[ -f results/fastqc/beta.fastqc.log ]] || false | ||
[[ -f results/fastqc/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 | ||
|
||
|
||
# | ||
# 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/fastqc/alpha.fastqc.log ]] || false | ||
[[ -f results/fastqc/beta.fastqc.log ]] || false | ||
[[ -f results/fastqc/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 | ||
|
||
|
||
# | ||
# clean & run resume mode | ||
# | ||
echo Third run | ||
rm -rf results | ||
|
||
$NXF_RUN --save_bam_bai -resume | 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/fastqc/alpha.fastqc.log ]] || false | ||
[[ -f results/fastqc/beta.fastqc.log ]] || false | ||
[[ -f results/fastqc/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters