diff --git a/.github/filters.yml b/.github/filters.yml index 73f120d4..40dce47b 100644 --- a/.github/filters.yml +++ b/.github/filters.yml @@ -147,7 +147,7 @@ ucsc_bedgraphtobigwig: bedtools_complement: - software/bedtools/complement/** - - tests/software/bedtools/** + - tests/software/bedtools/complement** bedtools_genomecov: - software/bedtools/genomecov/** diff --git a/tests/software/bedtools/complement/main.nf b/tests/software/bedtools/complement/main.nf new file mode 100644 index 00000000..42f8a5e2 --- /dev/null +++ b/tests/software/bedtools/complement/main.nf @@ -0,0 +1,16 @@ +#!/usr/bin/env nextflow + +nextflow.enable.dsl = 2 + +include { BEDTOOLS_COMPLEMENT } from '../../../../software/bedtools/complement/main.nf' addParams( options: [:] ) + + +workflow test_bedtools_complement { + def input = [] + input = [ [ id:'test'], + file("${launchDir}/tests/data/bed/A.bed", checkIfExists: true), + file("${launchDir}/tests/data/bed/genome.sizes", checkIfExists: true) ] //metamap + + BEDTOOLS_COMPLEMENT( input ) +} + diff --git a/tests/software/bedtools/complement/test.yml b/tests/software/bedtools/complement/test.yml new file mode 100644 index 00000000..2062646b --- /dev/null +++ b/tests/software/bedtools/complement/test.yml @@ -0,0 +1,10 @@ +- name: bedtools complement + command: nextflow run ./tests/software/bedtools/complement -entry test_bedtools_complement -c tests/config/nextflow.config + tags: + - bedtools + - bedtools_complement + + files: + - path: output/bedtools/test.complement.bed + md5sum: 55a43973abb1a08ac57290ff44f6c502 + should_exist: true