Skip to content

Commit b0bd00e

Browse files
tabix is not needed, tbi computation is done by vep (#9821)
1 parent 051e7c6 commit b0bd00e

File tree

1 file changed

+11
-14
lines changed
  • subworkflows/nf-core/vcf_annotate_ensemblvep

1 file changed

+11
-14
lines changed

subworkflows/nf-core/vcf_annotate_ensemblvep/main.nf

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,16 @@
33
//
44

55
include { ENSEMBLVEP_VEP } from '../../../modules/nf-core/ensemblvep/vep'
6-
include { TABIX_TABIX } from '../../../modules/nf-core/tabix/tabix'
76

87
workflow 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

Comments
 (0)