33//
44
55include { ENSEMBLVEP_VEP } from ' ../../../modules/nf-core/ensemblvep/vep'
6- include { TABIX_TABIX } from ' ../../../modules/nf-core/tabix/tabix'
76
87workflow VCF_ANNOTATE_ENSEMBLVEP {
98 take :
10- ch_vcf // channel: [ val(meta), path(vcf), [path(custom_file1), path(custom_file2)... (optional)]]
11- ch_fasta // channel: [ val(meta2), path(fasta) ] (optional)
12- val_genome // value: genome to use
13- val_species // value: species to use
14- val_cache_version // value: cache version to use
15- ch_cache // channel: [ val(meta3), path(cache) ] (optional)
16- ch_extra_files // channel: [ path(file1), path(file2)... ] (optional)
9+ ch_vcf // channel: [ val(meta), path(vcf), [path(custom_file1), path(custom_file2)... (optional)]]
10+ ch_fasta // channel: [ val(meta2), path(fasta) ] (optional)
11+ val_genome // value: genome to use
12+ val_species // value: species to use
13+ val_cache_version // value: cache version to use
14+ ch_cache // channel: [ val(meta3), path(cache) ] (optional)
15+ ch_extra_files // channel: [ path(file1), path(file2)... ] (optional)
1716
1817 main :
1918 ENSEMBLVEP_VEP (
@@ -26,13 +25,11 @@ workflow VCF_ANNOTATE_ENSEMBLVEP {
2625 ch_extra_files,
2726 )
2827
29- TABIX_TABIX (ENSEMBLVEP_VEP . out. vcf)
30-
31- ch_vcf_tbi = ENSEMBLVEP_VEP . out. vcf. join(TABIX_TABIX . out. index, failOnDuplicate : true , failOnMismatch : true )
28+ ch_vcf_tbi = ENSEMBLVEP_VEP . out. vcf. join(ENSEMBLVEP_VEP . out. tbi, failOnDuplicate : true , failOnMismatch : true )
3229
3330 emit :
34- vcf_tbi = ch_vcf_tbi // channel: [ val(meta), path(vcf), path(tbi) ]
35- json = ENSEMBLVEP_VEP . out. json // channel: [ val(meta), path(json) ]
36- tab = ENSEMBLVEP_VEP . out. tab // channel: [ val(meta), path(tab) ]
31+ vcf_tbi = ch_vcf_tbi // channel: [ val(meta), path(vcf), path(tbi) ]
32+ json = ENSEMBLVEP_VEP . out. json // channel: [ val(meta), path(json) ]
33+ tab = ENSEMBLVEP_VEP . out. tab // channel: [ val(meta), path(tab) ]
3734 reports = ENSEMBLVEP_VEP . out. report // channel: [ path(html) ]
3835}
0 commit comments