-
Notifications
You must be signed in to change notification settings - Fork 749
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from nf-core/pytest-workflow
Pytest-workflow
- Loading branch information
Showing
16 changed files
with
59 additions
and
678 deletions.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
187 changes: 0 additions & 187 deletions
187
software/fastqc/test/output/test_paired_end/test_1_fastqc.html
This file was deleted.
Oops, something went wrong.
Binary file not shown.
187 changes: 0 additions & 187 deletions
187
software/fastqc/test/output/test_paired_end/test_2_fastqc.html
This file was deleted.
Oops, something went wrong.
Binary file not shown.
187 changes: 0 additions & 187 deletions
187
software/fastqc/test/output/test_single_end/test_fastqc.html
This file was deleted.
Oops, something went wrong.
Binary file not shown.
File renamed without changes.
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,31 @@ | ||
#!/usr/bin/env nextflow | ||
|
||
nextflow.enable.dsl = 2 | ||
|
||
include { FASTQC as FASTQC_SE } from '../../../software/fastqc/main.nf' addParams( options: [ publish_dir:'test_single_end' ] ) | ||
include { FASTQC as FASTQC_PE } from '../../../software/fastqc/main.nf' addParams( options: [ publish_dir:'test_paired_end' ] ) | ||
|
||
/* | ||
* Test with single-end data | ||
*/ | ||
workflow test_single_end { | ||
|
||
def input = [] | ||
input = [ [ id:'test', single_end:true ], // meta map | ||
[ file("${launchDir}/tests/data/fastq/rna/test_single_end.fastq.gz", checkIfExists: true) ] ] | ||
|
||
FASTQC_SE ( input ) | ||
} | ||
|
||
/* | ||
* Test with paired-end data | ||
*/ | ||
workflow test_paired_end { | ||
|
||
def input = [] | ||
input = [ [ id:'test', single_end:false ], // meta map | ||
[ file("${launchDir}/tests/data/fastq/rna/test_R1.fastq.gz", checkIfExists: true), | ||
file("${launchDir}/tests/data/fastq/rna/test_R2.fastq.gz", checkIfExists: true) ] ] | ||
|
||
FASTQC_PE ( input ) | ||
} |
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,20 @@ | ||
- name: Run fastqc single-end test workflow | ||
command: nextflow run ./tests/software/fastqc/ -profile docker -entry test_single_end -c tests/config/nextflow.config | ||
tags: | ||
- fastqc | ||
files: | ||
- path: output/test_single_end/test_fastqc.html | ||
md5sum: 7027e72c3e55292c1567f12e02565e3b | ||
- path: output/test_single_end/test_fastqc.zip | ||
|
||
- name: Run fastqc paired-end test workflow | ||
command: nextflow run ./tests/software/fastqc/ -profile docker -entry test_paired_end -c tests/config/nextflow.config | ||
tags: | ||
- fastqc | ||
files: | ||
- path: output/test_paired_end/test_1_fastqc.html | ||
md5sum: b3796b4323dc34970b7461f813135254 | ||
- path: output/test_paired_end/test_2_fastqc.html | ||
md5sum: 55182467f48ca5ed88a2608ea57a1afc | ||
- path: output/test_paired_end/test_1_fastqc.zip | ||
- path: output/test_paired_end/test_2_fastqc.zip |