mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
add stub
This commit is contained in:
parent
635edc0022
commit
995bf88327
2 changed files with 26 additions and 2 deletions
|
@ -6,7 +6,22 @@ include { BCFTOOLS_ROH } from '../../../../modules/bcftools/roh/main.nf'
|
|||
|
||||
workflow test_bcftools_roh {
|
||||
|
||||
input = [ [ id:'out' ], // meta map
|
||||
input = [ [ id:'test' ], // meta map
|
||||
file(params.test_data['sarscov2']['illumina']['test_vcf_gz'], checkIfExists: true),
|
||||
file(params.test_data['sarscov2']['illumina']['test_vcf_gz_tbi'], checkIfExists: true)]
|
||||
|
||||
af_file = []
|
||||
gen_map = []
|
||||
regions = []
|
||||
targets = []
|
||||
samples = []
|
||||
|
||||
BCFTOOLS_ROH ( input, af_file, gen_map, regions, samples, targets )
|
||||
}
|
||||
|
||||
workflow test_bcftools_roh_stub {
|
||||
|
||||
input = [ [ id:'test' ], // meta map
|
||||
file(params.test_data['sarscov2']['illumina']['test_vcf_gz'], checkIfExists: true),
|
||||
file(params.test_data['sarscov2']['illumina']['test_vcf_gz_tbi'], checkIfExists: true)]
|
||||
|
||||
|
|
|
@ -5,4 +5,13 @@
|
|||
- "bcftools/roh"
|
||||
files:
|
||||
- path: "output/bcftools/test.roh"
|
||||
- path: output/bcftools/versions.yml
|
||||
- path: "output/bcftools/versions.yml"
|
||||
|
||||
- name: "bcftools roh stub"
|
||||
command: nextflow run ./tests/modules/bcftools/roh -entry test_bcftools_roh_stub -c ./tests/config/nextflow.config -c ./tests/modules/bcftools/roh/nextflow.config
|
||||
tags:
|
||||
- "bcftools"
|
||||
- "bcftools/roh"
|
||||
files:
|
||||
- path: "output/bcftools/test.roh"
|
||||
- path: "output/bcftools/versions.yml"
|
||||
|
|
Loading…
Reference in a new issue