2021-02-23 18:05:57 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-02-23 18:39:24 +00:00
|
|
|
include { BCFTOOLS_MPILEUP } from '../../../../software/bcftools/mpileup/main.nf' addParams( options: ['args2': '--no-version --ploidy 1 --multiallelic-caller',
|
|
|
|
'args3': '--no-version' ] )
|
2021-02-23 18:05:57 +00:00
|
|
|
|
|
|
|
workflow test_bcftools_mpileup {
|
|
|
|
input = [ [ id:'test' ], // meta map
|
2021-03-24 09:53:41 +00:00
|
|
|
[ file("${launchDir}/tests/data/genomics/sarscov2/illumina/bam/test_paired_end.sorted.bam", checkIfExists: true) ]]
|
|
|
|
fasta = [ file("${launchDir}/tests/data/genomics/sarscov2/genome/genome.fasta", checkIfExists: true) ]
|
2021-02-23 18:05:57 +00:00
|
|
|
|
|
|
|
BCFTOOLS_MPILEUP ( input, fasta )
|
|
|
|
}
|