mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 04:33:10 +00:00
20 lines
726 B
Text
20 lines
726 B
Text
|
#!/usr/bin/env nextflow
|
||
|
|
||
|
nextflow.enable.dsl = 2
|
||
|
|
||
|
include { BISCUIT_INDEX } from '../../../../modules/biscuit/index/main.nf'
|
||
|
include { BISCUIT_BSCONV } from '../../../../modules/biscuit/bsconv/main.nf'
|
||
|
|
||
|
workflow test_biscuit_bsconv {
|
||
|
|
||
|
input = [
|
||
|
[ id:'test', single_end:false ], // meta map
|
||
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_methylated_sorted_bam'], checkIfExists: true),
|
||
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_methylated_sorted_bam_bai'], checkIfExists: true)
|
||
|
]
|
||
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
||
|
|
||
|
BISCUIT_INDEX( fasta )
|
||
|
BISCUIT_BSCONV ( input, BISCUIT_INDEX.out.index )
|
||
|
}
|