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

14 lines
465 B
Text
Raw Normal View History

2021-02-09 18:26:35 +00:00
#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { IVAR_CONSENSUS } from '../../../../software/ivar/consensus/main.nf' addParams([:])
workflow test_ivar_consensus {
2021-02-12 19:29:16 +00:00
def ref = file("${launchDir}/tests/data/fasta/sarscov2/MN908947.3.fa", checkIfExists: true)
2021-02-09 18:26:35 +00:00
def input = []
input = [ [ id:'test'],
file("${launchDir}/tests/data/bam/test-sc2-artic-v3-sorted-trimmed.bam", checkIfExists: true) ]
2021-02-12 19:29:16 +00:00
IVAR_CONSENSUS ( input, ref )
}