nf-core_modules/tests/software/ivar/trim/main.nf

17 lines
530 B
Text
Raw Normal View History

2021-02-13 00:02:10 +00:00
#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { IVAR_TRIM } from '../../../../software/ivar/trim/main.nf' addParams([:])
workflow test_ivar_trim {
2021-02-23 20:43:05 +00:00
def bed = file("${launchDir}/tests/data/bed/test-sc2-artic-v3.bed", checkIfExists: true)
2021-02-13 00:02:10 +00:00
def input = []
2021-02-23 20:43:05 +00:00
input = [ [ id:'test'],
file("${launchDir}/tests/data/bam/test-sc2-artic-v3.bam", checkIfExists: true),
file("${launchDir}/tests/data/bam/test-sc2-artic-v3.bam.bai", checkIfExists: true) ]
2021-02-13 00:02:10 +00:00
2021-02-23 20:43:05 +00:00
IVAR_TRIM ( input, bed )
2021-02-13 00:02:10 +00:00
}