nf-core_modules/tests/modules/ivar/consensus/main.nf
Harshil Patel bb90e4fb78
Remove bcftools and ivar module customisations (#1217)
* Remove customisation from bcftools modules

* Add save_mpileup option to bcftools/mpileup

* Remove params.save_mpileup from ivar/consensus

* Update meta.ymls
2022-01-18 16:04:56 +00:00

29 lines
824 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { IVAR_CONSENSUS } from '../../../../modules/ivar/consensus/main.nf'
workflow test_ivar_consensus {
input = [
[ id:'test'],
file(params.test_data['sarscov2']['illumina']['test_paired_end_bam'], checkIfExists: true)
]
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
save_mpileup = false
IVAR_CONSENSUS ( input, fasta, save_mpileup)
}
workflow test_ivar_consensus_mpileup {
input = [
[ id:'test'],
file(params.test_data['sarscov2']['illumina']['test_paired_end_bam'], checkIfExists: true)
]
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
save_mpileup = true
IVAR_CONSENSUS ( input, fasta, save_mpileup)
}