Skip to content

Commit

Permalink
fix: upgrade vep wrappers to latest version, fixing issues with stric…
Browse files Browse the repository at this point in the history
…t channel priorities. (#547)

* fix: upgrade vep wrappers to latest version, fixing issues with strict channel priorities.

* add encode package

* add encode-locale module

* dbg

* dbg

* add lwp-simple dep

* run verbose

* dbg

* dbg

* dbg

* dbg

* dbg
  • Loading branch information
johanneskoester committed Aug 30, 2022
1 parent 9bcf282 commit c3b46e5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
8 changes: 6 additions & 2 deletions bio/vep/annotate/environment.yaml
Expand Up @@ -3,5 +3,9 @@ channels:
- bioconda
- nodefaults
dependencies:
- ensembl-vep =105
- bcftools =1.12
- ensembl-vep =107
- bcftools =1.15
# TODO remove once bioconda CDN has been updated to exclude
# broken unpinned perl-encode-locale packages
- perl-encode-locale=1.05=pl5321hdfd78af_7
- perl =5.32.1
2 changes: 1 addition & 1 deletion bio/vep/annotate/wrapper.py
Expand Up @@ -60,7 +60,7 @@ def get_only_child_dir(path):
cache = (
"--offline --cache --dir_cache {cache} --cache_version {release} --species {species} --assembly {build}"
).format(cache=cache, release=release, build=build, species=species)

shell("conda list")
shell(
"(bcftools view '{snakemake.input.calls}' | "
"vep {extra} {fork} "
Expand Down
4 changes: 1 addition & 3 deletions bio/vep/cache/environment.yaml
Expand Up @@ -3,6 +3,4 @@ channels:
- bioconda
- nodefaults
dependencies:
# This version should not be changed unless the vep_install command needs an
# update or suddenly stops working.
- ensembl-vep =105
- ensembl-vep =107
2 changes: 1 addition & 1 deletion test.py
Expand Up @@ -4506,7 +4506,7 @@ def test_vep_plugins():
def test_vep_annotate():
run(
"bio/vep/annotate",
["snakemake", "--cores", "1", "variants.annotated.bcf", "--use-conda", "-F"],
["snakemake", "--cores", "1", "variants.annotated.bcf", "--use-conda", "-F", "--verbose"],
)


Expand Down

0 comments on commit c3b46e5

Please sign in to comment.