mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2025-01-06 22:32:09 -05:00
6d88f2da8c
* 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>
30 lines
972 B
Text
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 )
|
|
}
|