nf-core_modules/tests/software/stringtie/main.nf
Harshil Patel acb1a12a56
Re-organise all test data (#354)
* Re-organise all test data

* Fix ECLint

* Fix ECLint agaaainn

* Now is not the time EClint
2021-03-24 09:53:41 +00:00

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 )
}