2021-02-08 14:16:51 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-07-07 09:10:18 +00:00
|
|
|
include { BCFTOOLS_CONSENSUS } from '../../../../modules/bcftools/consensus/main.nf' addParams( options: [:] )
|
2021-02-08 14:16:51 +00:00
|
|
|
|
|
|
|
workflow test_bcftools_consensus {
|
|
|
|
input = [ [ id:'test' ], // meta map
|
2021-03-24 18:14:11 +00:00
|
|
|
[ file(params.test_data['sarscov2']['illumina']['test_vcf_gz'], checkIfExists: true) ],
|
|
|
|
[ file(params.test_data['sarscov2']['illumina']['test_vcf_gz_tbi'], checkIfExists: true) ],
|
|
|
|
[ file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true) ]
|
2021-03-24 09:53:41 +00:00
|
|
|
]
|
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
|
|
|
}
|