2021-02-09 13:26:35 -05:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-02-12 17:43:19 -05:00
|
|
|
params.save_mpileup = true
|
2021-02-12 18:02:25 -05:00
|
|
|
include { IVAR_CONSENSUS } from '../../../../software/ivar/consensus/main.nf' addParams( [ options: [args2: '-aa -A -d 0 -Q 0'] ] )
|
2021-02-09 13:26:35 -05:00
|
|
|
|
|
|
|
workflow test_ivar_consensus {
|
2021-02-12 14:29:16 -05:00
|
|
|
def ref = file("${launchDir}/tests/data/fasta/sarscov2/MN908947.3.fa", checkIfExists: true)
|
2021-02-09 13:26:35 -05:00
|
|
|
def input = []
|
|
|
|
input = [ [ id:'test'],
|
|
|
|
file("${launchDir}/tests/data/bam/test-sc2-artic-v3-sorted-trimmed.bam", checkIfExists: true) ]
|
2021-02-12 18:02:19 -05:00
|
|
|
IVAR_CONSENSUS ( input, ref )
|
2021-02-10 13:55:24 -05:00
|
|
|
}
|