2021-02-03 16:02:58 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-11-26 07:58:40 +00:00
|
|
|
include { SAMTOOLS_MPILEUP } from '../../../../modules/samtools/mpileup/main.nf'
|
2021-02-03 16:02:58 +00:00
|
|
|
|
|
|
|
workflow test_samtools_mpileup {
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
2022-03-25 06:46:51 +00: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)
|
|
|
|
|
|
|
|
SAMTOOLS_MPILEUP ( input, fasta )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_samtools_mpileup_intervals {
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
|
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true),
|
|
|
|
file(params.test_data['sarscov2']['genome']['test_bed'], checkIfExists: true)
|
2021-03-24 09:53:41 +00:00
|
|
|
]
|
2021-06-07 11:07:32 +00:00
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
2021-03-24 18:15:30 +00:00
|
|
|
|
2021-02-03 16:02:58 +00:00
|
|
|
SAMTOOLS_MPILEUP ( input, fasta )
|
|
|
|
}
|