mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 04:33:10 +00:00
bb90e4fb78
* Remove customisation from bcftools modules * Add save_mpileup option to bcftools/mpileup * Remove params.save_mpileup from ivar/consensus * Update meta.ymls
29 lines
883 B
Text
29 lines
883 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { BCFTOOLS_MPILEUP } from '../../../../modules/bcftools/mpileup/main.nf'
|
|
|
|
workflow test_bcftools_mpileup {
|
|
|
|
input = [
|
|
[ id:'test' ], // meta map
|
|
[ file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true) ]
|
|
]
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
save_mpileup = false
|
|
|
|
BCFTOOLS_MPILEUP ( input, fasta, save_mpileup )
|
|
}
|
|
|
|
workflow test_bcftools_save_mpileup {
|
|
|
|
input = [
|
|
[ id:'test' ], // meta map
|
|
[ file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true) ]
|
|
]
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
save_mpileup = true
|
|
|
|
BCFTOOLS_MPILEUP ( input, fasta, save_mpileup )
|
|
}
|