2021-02-23 13:05:57 -05:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-07-07 05:10:18 -04:00
|
|
|
include { BCFTOOLS_MPILEUP } from '../../../../modules/bcftools/mpileup/main.nf' addParams( options: ['args2': '--no-version --ploidy 1 --multiallelic-caller',
|
2021-02-23 13:39:24 -05:00
|
|
|
'args3': '--no-version' ] )
|
2021-02-23 13:05:57 -05:00
|
|
|
|
|
|
|
workflow test_bcftools_mpileup {
|
|
|
|
input = [ [ id:'test' ], // meta map
|
2021-03-24 14:14:11 -04:00
|
|
|
[ file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true) ]]
|
|
|
|
fasta = [ file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true) ]
|
2021-02-23 13:05:57 -05:00
|
|
|
|
|
|
|
BCFTOOLS_MPILEUP ( input, fasta )
|
|
|
|
}
|