Skip to content

Commit

Permalink
2.2.2: install R package fix
Browse files Browse the repository at this point in the history
  • Loading branch information
weber8thomas committed Sep 22, 2023
1 parent 0f4ef95 commit bf295e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion github-actions-runner/docker_procedure.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ snakemake --configfile .tests/config/simple_config.yaml --config ashleys_pipelin

docker login -u weber8thomas
docker build --platform=linux/amd64 -t weber8thomas/mosaicatcher-pipeline:VERSION .
docker push -t weber8thomas/mosaicatcher-pipeline:VERSION
docker push weber8thomas/mosaicatcher-pipeline:VERSION
7 changes: 3 additions & 4 deletions workflow/rules/setup.smk
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ rule install_BSgenome_package:
config["reference"]
),
params:
selected_package=lambda wc, input: "BSgenome.Hsapiens.UCSC.{}".format(
selected_package=lambda wc, input: "BSgenome.{}.UCSC.{}".format(
"Mmusculus" if config["reference"] == "mm10" else "Hsapiens",
config["reference"]
)
if config["reference"] in ["hg38", "hg19", "mm10"]
else input.package,
) if config["reference"] in ["hg38", "hg19", "mm10"] else input.package,
conda:
"../envs/rtools.yaml"
resources:
Expand Down

0 comments on commit bf295e4

Please sign in to comment.