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

Outdated environemnt files #319

Open
VladimirShitov opened this issue Jan 20, 2025 · 2 comments
Open

Outdated environemnt files #319

VladimirShitov opened this issue Jan 20, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@VladimirShitov
Copy link
Collaborator

VladimirShitov commented Jan 20, 2025

Describe the bug

I faced some issues when trying to use an environment file for differential expression analysis. Many of them were caused by an old pertpy version (0.5.0). And a newer version can't be installed because of an old Python requirement (v. 3.9) in the environment file, while the new version of pertpy requires at least 3.10. I find environment files highly valuable (especially those containing R packages) and wish they were up to date.

To Reproduce

Steps to reproduce the behavior:

  1. Download the environment file from the chapter "Dealing with conditions"
  2. Run conda env create -f differential_gene_expression.yml
  3. Try to import the packages from the first cell in the corresponding chapter. I did not succeed.

The following environment file worked for me:

name: differential-gene-expression
channels:
  - conda-forge
  - bioconda
  - defaults
dependencies:
  - conda-forge::python=3.10
  - conda-forge::scanpy=1.9.1
  - conda-forge::r-base=4.2.2
  - bioconda::bioconductor-mast=1.24.0
  - bioconda::bioconductor-edger=3.40.0
  - bioconda::bioconductor-singlecellexperiment=1.20.0
  - conda-forge::r-lme4
  - conda-forge::notebook
  - conda-forge::rpy2=3.5.6
  - bioconda::anndata2ri=1.1
  - conda-forge::pip
  - pip:
      - sc-toolbox
      - pertpy==0.9.5

I am, however, not sure that it allows to reproduce the content in the chapter, so I opened an issue instead of PR. Glad to provide more information if needed!

@VladimirShitov VladimirShitov added the bug Something isn't working label Jan 20, 2025
@Zethson
Copy link
Member

Zethson commented Jan 20, 2025

We are working on updating ALL environments in Q1/Q2 this year. Sorry that this is a pain

@VladimirShitov
Copy link
Collaborator Author

Thanks, looking forward to it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants