2021-01-12 15:13:37 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-01-15 15:49:34 +00:00
|
|
|
include { STRINGTIE as STRINGTIE_FORWARD } from '../../../software/stringtie/main.nf' addParams( options: [ publish_dir:'test_stringtie_forward' ] )
|
|
|
|
include { STRINGTIE as STRINGTIE_REVERSE } from '../../../software/stringtie/main.nf' addParams( options: [ publish_dir:'test_stringtie_reverse' ] )
|
2021-01-12 15:13:37 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Test with forward strandedness
|
|
|
|
*/
|
|
|
|
workflow test_stringtie_forward {
|
|
|
|
def input = []
|
|
|
|
input = [ [ id:'test', strandedness:'forward' ], // meta map
|
|
|
|
[ file("${launchDir}/tests/data/bam/test.paired_end.sorted.bam", checkIfExists: true) ] ]
|
|
|
|
|
2021-01-15 15:49:34 +00:00
|
|
|
STRINGTIE_FOWARD (
|
2021-01-15 16:01:02 +00:00
|
|
|
input,
|
|
|
|
file("${launchDir}/tests/data/gff/a.gtf", checkIfExists: true)
|
|
|
|
)
|
2021-01-12 15:13:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Test with reverse strandedness
|
|
|
|
*/
|
|
|
|
workflow test_stringtie_reverse {
|
|
|
|
def input = []
|
|
|
|
input = [ [ id:'test', strandedness:'reverse' ], // meta map
|
|
|
|
[ file("${launchDir}/tests/data/bam/test.paired_end.sorted.bam", checkIfExists: true) ] ]
|
|
|
|
|
2021-01-15 15:49:34 +00:00
|
|
|
STRINGTIE_REVERSE (
|
2021-01-15 16:01:02 +00:00
|
|
|
input,
|
|
|
|
file("${launchDir}/tests/data/gff/a.gtf", checkIfExists: true)
|
|
|
|
)
|
2021-01-12 15:13:37 +00:00
|
|
|
}
|