nf-core_modules/tests/modules/stringtie/stringtie/main.nf
Harshil Patel 6d88f2da8c
Rename process from STRINGTIE to STRINGTIE_STRINGTIE (#1546)
* Rename process from STRINGTIE to STRINGTIE_STRINGTIE

* Bump Stringtie version to 2.2.1 and remove empty files in tests

* Fix tests for stringtie/merge

Co-authored-by: Júlia Mir Pedrol <mirp.julia@gmail.com>
2022-04-22 15:13:06 +01:00

30 lines
972 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { STRINGTIE_STRINGTIE } from '../../../../modules/stringtie/stringtie/main.nf'
//
// Test with forward strandedness
//
workflow test_stringtie_forward {
input = [
[ id:'test', strandedness:'forward' ], // meta map
[ file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true) ]
]
annotation_gtf = file(params.test_data['sarscov2']['genome']['genome_gtf'], checkIfExists: true)
STRINGTIE_STRINGTIE ( input, annotation_gtf )
}
//
// Test with reverse strandedness
//
workflow test_stringtie_reverse {
input = [
[ id:'test', strandedness:'reverse' ], // meta map
[ file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true) ]
]
annotation_gtf = file(params.test_data['sarscov2']['genome']['genome_gtf'], checkIfExists: true)
STRINGTIE_STRINGTIE ( input, annotation_gtf )
}