2021-02-09 18:26:35 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-02-12 22:43:19 +00:00
|
|
|
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 )
|
2021-02-10 18:55:24 +00:00
|
|
|
}
|