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

Update R, Bioconductor, and anndata to the current versions #92

Merged
merged 5 commits into from
Aug 17, 2022

Conversation

jashapiro
Copy link
Member

@jashapiro jashapiro commented Aug 12, 2022

Now that R 4.2.1 is available through conda-forge, I have updated the environment use that, which allowed updating to Bioconductor 3.15, which allowed anndata 0.8.0.

Many R packages were updated in the meantime, so the renv.lock file has many changes.

On an Intel machine, you should be able to combine the environment updates with installation and just run

snakemake --use-conda --forceall --cores 4

to test all changes (with whatever core count you want).

On an Apple Silicon mac, you will need to start with

CONDA_SUBDIR=osx-64 snakemake --use-conda --conda-create-envs-only -c2 build_renv

followed by the command above.

Expect a long run time the first time as R packages are rebuilt!

@sjspielman
Copy link
Member

On an Apple mac, you will need to start with

M1 :)

@sjspielman
Copy link
Member

Can confirm this built (about 48 minutes with --c3)! I'm now testing the snakemake in this updated environment.

Copy link
Member

@sjspielman sjspielman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran the full snakefile, no errors! 🎉

Copy link
Member

@allyhawkins allyhawkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was also able to build and run the Snakefile without any issue 👍

@sjspielman sjspielman mentioned this pull request Aug 16, 2022
@jashapiro jashapiro marked this pull request as ready for review August 16, 2022 17:30
@jashapiro jashapiro merged commit 7dac599 into main Aug 17, 2022
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

Successfully merging this pull request may close these issues.

3 participants