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