nf-core_modules/tests/software/tiddit/sv/main.nf

24 lines
859 B
Text
Raw Normal View History

2021-02-24 14:59:10 +00:00
#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { TIDDIT_SV } from '../../../../software/tiddit/sv/main.nf' addParams( options: [:] )
2021-02-24 14:59:10 +00:00
workflow test_tiddit_sv {
input = [ [ id:'test' ], // meta map
[ file("${launchDir}/tests/data/genomics/sarscov2/illumina/bam/test_paired_end.sorted.bam", checkIfExists: true) ]
]
fasta = file("${launchDir}/tests/data/genomics/sarscov2/genome/genome.fasta", checkIfExists: true)
fai = file("${launchDir}/tests/data/genomics/sarscov2/genome/genome.fasta.fai", checkIfExists: true)
2021-02-24 14:59:10 +00:00
2021-03-15 14:02:20 +00:00
TIDDIT_SV ( input, fasta, fai )
2021-02-24 14:59:10 +00:00
}
workflow test_tiddit_sv_no_ref {
input = [ [ id:'test' ], // meta map
[ file("${launchDir}/tests/data/genomics/sarscov2/illumina/bam/test_paired_end.sorted.bam", checkIfExists: true) ]
]
2021-02-24 14:59:10 +00:00
2021-03-15 14:02:20 +00:00
TIDDIT_SV ( input, [], [] )
2021-03-22 17:16:43 +00:00
}