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

[WIP] add conda environment for Perl into snakemake execution #13

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
all:
snakemake -j 1
snakemake -j 1 --use-conda

upload:
snakemake -j 1 upload
snakemake -j 1 --use-conda upload

update: upload

Expand Down
4 changes: 3 additions & 1 deletion Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ rule gene_json_alias_widget:
output:
directory("output_pieces_gene/00-alias")
params:
widget_name = "00-alias",
widget_name = "00-alias"
conda:
"envs/perl.yml"
shell: """
{input.script} gene {input.id_list} {input.alias_info} \
--widget-name alias_table \
Expand Down
8 changes: 8 additions & 0 deletions envs/perl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
channels:
- conda-forge
- bioconda
- defaults
dependencies:
- perl>=5.32,<6
- curl>=7,<8
- perl-uri