2021-02-08 14:16:51 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-02-08 21:41:24 +00:00
|
|
|
include { BCFTOOLS_CONSENSUS } from '../../../../software/bcftools/consensus/main.nf' addParams( options: [:] )
|
2021-02-08 14:16:51 +00:00
|
|
|
|
|
|
|
workflow test_bcftools_consensus {
|
|
|
|
def input = []
|
|
|
|
input = [ [ id:'test' ], // meta map
|
2021-03-09 09:04:08 +00:00
|
|
|
[ file("${launchDir}/tests/data/genomics/sarscov2/vcf/test.vcf.gz", checkIfExists: true) ],
|
|
|
|
[ file("${launchDir}/tests/data/genomics/sarscov2/vcf/test.vcf.gz.tbi", checkIfExists: true) ],
|
|
|
|
[ file("${launchDir}/tests/data/genomics/sarscov2/fasta/test_genome.fasta", checkIfExists: true) ] ]
|
2021-02-08 14:16:51 +00:00
|
|
|
|
2021-02-08 15:51:21 +00:00
|
|
|
BCFTOOLS_CONSENSUS ( input )
|
2021-02-08 14:16:51 +00:00
|
|
|
}
|