mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 04:33:10 +00:00
19 lines
765 B
Text
19 lines
765 B
Text
|
#!/usr/bin/env nextflow
|
||
|
|
||
|
nextflow.enable.dsl = 2
|
||
|
|
||
|
include { METHYLDACKEL_EXTRACT } from '../../../../software/methyldackel/extract/main.nf' addParams( options: [:] )
|
||
|
|
||
|
workflow test_methyldackel_extract {
|
||
|
|
||
|
def input = []
|
||
|
def fasta = file("${launchDir}/tests/data/fasta/E_coli/NC_010473.fa", checkIfExists: true)
|
||
|
def fai = file("${launchDir}/tests/data/fasta/E_coli/NC_010473.fa.fai", checkIfExists: true)
|
||
|
|
||
|
input = [ [ id:'test', single_end:false ], // meta map
|
||
|
file("${launchDir}/tests/data/bam/test.paired_end_methylated.sorted.bam", checkIfExists: true),
|
||
|
file("${launchDir}/tests/data/bam/test.paired_end_methylated.sorted.bam.bai", checkIfExists: true) ]
|
||
|
|
||
|
METHYLDACKEL_EXTRACT ( input, fasta, fai )
|
||
|
}
|