Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 12 commits into from
Aug 30, 2022
8 changes: 6 additions & 2 deletions bio/vep/annotate/environment.yaml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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