mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
Added complement test
This commit is contained in:
parent
84b66e4f38
commit
ac7f634675
3 changed files with 27 additions and 1 deletions
2
.github/filters.yml
vendored
2
.github/filters.yml
vendored
|
@ -147,7 +147,7 @@ ucsc_bedgraphtobigwig:
|
||||||
|
|
||||||
bedtools_complement:
|
bedtools_complement:
|
||||||
- software/bedtools/complement/**
|
- software/bedtools/complement/**
|
||||||
- tests/software/bedtools/**
|
- tests/software/bedtools/complement**
|
||||||
|
|
||||||
bedtools_genomecov:
|
bedtools_genomecov:
|
||||||
- software/bedtools/genomecov/**
|
- software/bedtools/genomecov/**
|
||||||
|
|
16
tests/software/bedtools/complement/main.nf
Normal file
16
tests/software/bedtools/complement/main.nf
Normal file
|
@ -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 )
|
||||||
|
}
|
||||||
|
|
10
tests/software/bedtools/complement/test.yml
Normal file
10
tests/software/bedtools/complement/test.yml
Normal file
|
@ -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
|
Loading…
Reference in a new issue