2021-02-09 18:26:35 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-11-26 07:58:40 +00:00
|
|
|
include { IVAR_CONSENSUS } from '../../../../modules/ivar/consensus/main.nf'
|
2021-02-09 18:26:35 +00:00
|
|
|
|
|
|
|
workflow test_ivar_consensus {
|
2022-01-18 16:04:56 +00:00
|
|
|
|
|
|
|
input = [
|
|
|
|
[ id:'test'],
|
|
|
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_bam'], checkIfExists: true)
|
|
|
|
]
|
2021-03-24 18:18:01 +00:00
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
2022-01-18 16:04:56 +00:00
|
|
|
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)
|
2021-02-10 18:55:24 +00:00
|
|
|
}
|