nf-core_modules/tests/modules/snpsift/split/main.nf
SusiJo 3eff67f54d
Added new module snpsift/split (#1031)
* added new module snpsift/split

* added options.args

* added .vcf.gz to input

* removed test and updated to new NF DSL2 syntax

* Updated to new NF DSL2 syntax

* added option to join vcf files

Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
2021-12-17 09:08:14 +01:00

32 lines
903 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { SNPSIFT_SPLIT } from '../../../../modules/snpsift/split/main.nf'
workflow test_snpsift_split_base {
input = [ [ id:'test', split:true], // meta map
file(params.test_data['homo_sapiens']['illumina']['test_rnaseq_vcf'], checkIfExists: true) ]
SNPSIFT_SPLIT ( input )
}
workflow test_snpsift_split_gz {
input = [ [ id:'test', split:true ], // meta map
file(params.test_data['sarscov2']['illumina']['test_vcf_gz'], checkIfExists: true) ]
SNPSIFT_SPLIT ( input )
}
workflow test_snpsift_join {
input = [ [ id:'test', split:false ], // meta map
[ file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true),
file(params.test_data['sarscov2']['illumina']['test2_vcf'], checkIfExists: true) ]
]
SNPSIFT_SPLIT ( input )
}