Skip to content

Commit

Permalink
feat: CLIN-3610 introduce nf-core vep subworkflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LysianeBouchard committed Dec 20, 2024
1 parent ea8a954 commit 5d9569f
Show file tree
Hide file tree
Showing 17 changed files with 632 additions and 59 deletions.
12 changes: 6 additions & 6 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ process {

withName: ENSEMBLVEP_VEP {
container = 'ensemblorg/ensembl-vep:release_111.0' //sticking to v111 for now, but we should update this
publishDir = new_publish_dir([enabled: true])
def args_list = [
"--offline",
"--format vcf",
Expand All @@ -92,12 +91,13 @@ process {
ext.prefix = {"variants.${meta.id}.vep"}
}

withName: '.*VCF_ANNOTATE_ENSEMBLVEP.*' {
publishDir = new_publish_dir([enabled: true, path: { "${params.outdir}/ensemblvep" }])
}

// To publish the vep index file in the same output folder as the vep output
withName: 'vep_tabix' {
publishDir = new_publish_dir([
enabled: true,
path: { "${params.outdir}/ensemblvep" }
])
withName: TABIX_TABIX {
container = 'staphb/htslib:1.20'
}

withName: 'splitMultiAllelics' {
Expand Down
12 changes: 11 additions & 1 deletion modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"ensemblvep/vep": {
"branch": "master",
"git_sha": "6e3585d9ad20b41adc7d271009f8cb5e191ecab4",
"installed_by": ["modules"]
"installed_by": ["modules", "vcf_annotate_ensemblvep"]
},
"gatk4/genotypegvcfs": {
"branch": "master",
Expand All @@ -34,6 +34,11 @@
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"installed_by": ["modules"]
},
"tabix/tabix": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"installed_by": ["vcf_annotate_ensemblvep"]
}
}
},
Expand All @@ -53,6 +58,11 @@
"branch": "master",
"git_sha": "5caf7640a9ef1d18d765d55339be751bb0969dfa",
"installed_by": ["subworkflows"]
},
"vcf_annotate_ensemblvep": {
"branch": "master",
"git_sha": "cfd937a668919d948f6fcbf4218e79de50c2f36f",
"installed_by": ["subworkflows"]
}
}
}
Expand Down
23 changes: 0 additions & 23 deletions modules/local/tabix.nf

This file was deleted.

7 changes: 7 additions & 0 deletions modules/nf-core/tabix/tabix/environment.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 45 additions & 0 deletions modules/nf-core/tabix/tabix/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 58 additions & 0 deletions modules/nf-core/tabix/tabix/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

136 changes: 136 additions & 0 deletions modules/nf-core/tabix/tabix/tests/main.nf.test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5d9569f

Please sign in to comment.