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

Environment for scArches loading/application #3

Open
chartl opened this issue Jan 26, 2023 · 1 comment
Open

Environment for scArches loading/application #3

chartl opened this issue Jan 26, 2023 · 1 comment

Comments

@chartl
Copy link

chartl commented Jan 26, 2023

It would be useful (either here or at the Zenodo project) to include the appropriate environment for applying the scArches model to new data. Updates to pytorch, scArches, numba, umap-tool, and scanpy all lead to conflicts for loading, applying, or analyzing new data during or after integration with the core set. After much trial and error, the following environment appears to work:

name: GBmap_env

channels:
  - conda-forge
  - bioconda

dependencies:
  - python==3.8
  - pip
  - pip:
    - torch==1.6.0
    - scvi-tools==0.8.1
    - scArches==0.3.0
    - umap-learn==0.4.6
    - numba==0.52.0
    - leidenalg
    - seaborn
    - jupyter
@ccruizm
Copy link
Owner

ccruizm commented Feb 17, 2023

Hello @chartl, you are right. I plan to include more detailed information in the final version of the repository. I know that the new updates in several tools (especially scvi) generate challenges to running the code deposited in Zenodo.

Please find attached the yml file of the environment I used to generate the core GBmap and used for the transfer learning.

scarches_environment.zip

Sorry for the inconvenience. I hope the following updates in the code/repositories make this clearer.

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