mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-14 05:43:08 +00:00
acb1a12a56
* Re-organise all test data * Fix ECLint * Fix ECLint agaaainn * Now is not the time EClint
29 lines
1.2 KiB
Text
29 lines
1.2 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
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' ] )
|
|
|
|
/*
|
|
* Test with forward strandedness
|
|
*/
|
|
workflow test_stringtie_forward {
|
|
input = [ [ id:'test', strandedness:'forward' ], // meta map
|
|
[ file("${launchDir}/tests/data/genomics/sarscov2/illumina/bam/test_paired_end.sorted.bam", checkIfExists: true) ] ]
|
|
gtf = file("${launchDir}/tests/data/genomics/sarscov2/genome/genome.gtf", checkIfExists: true)
|
|
|
|
STRINGTIE_FORWARD ( input, gtf )
|
|
}
|
|
|
|
/*
|
|
* Test with reverse strandedness
|
|
*/
|
|
workflow test_stringtie_reverse {
|
|
input = [ [ id:'test', strandedness:'reverse' ], // meta map
|
|
[ file("${launchDir}/tests/data/genomics/sarscov2/illumina/bam/test_paired_end.sorted.bam", checkIfExists: true) ]
|
|
]
|
|
gtf = file("${launchDir}/tests/data/genomics/sarscov2/genome/genome.gtf", checkIfExists: true)
|
|
|
|
STRINGTIE_REVERSE ( input, gtf )
|
|
}
|