Skip to content

Missing python dependencies when using rna.h5ad as input #41

@ioansarr

Description

@ioansarr

Thanks for developing this cool method!

I've encountered the following error at the "generate_atac_matrix.smk" step, which I think suggests that anndata is missing from the environment created by the snakemake workflow:

Error in (function (cond)  :
  error in evaluating the argument 'x' in selecting a method for function 't': ModuleNotFoundError: No module named 'anndata'
Run `reticulate::py_last_error()` for details.
Calls: t -> read_h5ad -> <Anonymous> -> py_module_import
Execution halted

I manually added anndata as a dependency to workflow/envs/sc_e2g.yml and this seems to resolve the issue

- pip
  - pip:
      - anndata==0.10.7

Presumably the anndata version will need to roughly match the one used to generate the rna.h5ad object.

I am now facing a different issue downstream, but will post this separately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions