mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
3eff67f54d
* 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>
32 lines
903 B
Text
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 )
|
|
|
|
}
|