mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-26 23:43:19 -05:00
b5825fe6b3
* Mpileup also likes intervals * Also update meta yml with inclusive input and intervals Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com> Co-authored-by: Maxime U. Garcia <max.u.garcia@gmail.com>
25 lines
968 B
Text
25 lines
968 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { SAMTOOLS_MPILEUP } from '../../../../modules/samtools/mpileup/main.nf'
|
|
|
|
workflow test_samtools_mpileup {
|
|
input = [ [ id:'test', single_end:false ], // 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)
|
|
|
|
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)
|
|
]
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
SAMTOOLS_MPILEUP ( input, fasta )
|
|
}
|