mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-14 05:43:08 +00:00
25 lines
881 B
Text
25 lines
881 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { TIDDIT_SV } from '../../../../software/tiddit/sv/main.nf' addParams( options: [:] )
|
|
|
|
workflow test_tiddit_sv {
|
|
def input = []
|
|
def fasta = file("${launchDir}/tests/data/genomics/sarscov2/fasta/test_genome.fasta", checkIfExists: true)
|
|
def fai = file("${launchDir}/tests/data/genomics/sarscov2/fasta/test_genome.fasta.fai", checkIfExists: true)
|
|
|
|
input = [ [ id:'test' ], // meta map
|
|
[ file("${launchDir}/tests/data/genomics/sarscov2/bam/test_paired_end.sorted.bam", checkIfExists: true) ] ]
|
|
|
|
TIDDIT_SV ( input, fasta, fai )
|
|
}
|
|
|
|
workflow test_tiddit_sv_no_ref {
|
|
def input = []
|
|
|
|
input = [ [ id:'test' ], // meta map
|
|
[ file("${launchDir}/tests/data/genomics/sarscov2/bam/test_paired_end.sorted.bam", checkIfExists: true) ] ]
|
|
|
|
TIDDIT_SV ( input, [], [] )
|
|
}
|