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

Request for conda package of GISAIDR #46

Open
ammaraziz opened this issue Jun 16, 2023 · 1 comment
Open

Request for conda package of GISAIDR #46

ammaraziz opened this issue Jun 16, 2023 · 1 comment

Comments

@ammaraziz
Copy link
Contributor

ammaraziz commented Jun 16, 2023

Hi Wytamma,

I've written a snakemake pipeline that uses GISAIDR. Pipeline installation requires manually running:

devtools::install_github("Wytamma/GISAIDR")

This could be automated in R with a function that checks if GISAIDR is installed and then installs it if required. But I think a simpler method would be a custom conda package in personal repo.

From here, we can build a conda package by running:

conda skeleton cran https://github.com/Wytamma/GISAIDR
conda build --R=4.2.0 r-gisaidr

(I am authenticated with anaconda.org so there's some magic happening to upload it to my repo)

This build of GISAIDR was uploaded to my conda channel and can be installed with:

conda install -c ammaraziz r-gisaidr

Not sure how much work is required to get this automated into github actions so the build step is insync with new versions of gisaidr.

@Wytamma
Copy link
Owner

Wytamma commented Jun 16, 2023

Great idea! I'll look into adding the conda package command to run when a new release is made. In the mean time I think (haven't tried) you can use post-deployment-scripts to install an R package into the env automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants