Added complement test

This commit is contained in:
sruthipsuresh 2021-01-28 18:41:49 -06:00
parent 84b66e4f38
commit ac7f634675
3 changed files with 27 additions and 1 deletions

2
.github/filters.yml vendored
View file

@ -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/**

View 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 )
}

View 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