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

17 lines
531 B
Text
Raw Normal View History

2021-02-09 18:26:35 +00:00
#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
params.save_mpileup = true
include { IVAR_CONSENSUS } from '../../../../software/ivar/consensus/main.nf' addParams([
options: [args2: '-aa -A -d 0 -Q 0']
])
2021-02-09 18:26:35 +00:00
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 )
}