Closed silastittes closed 2 years ago
Sorry, forgot system info. Ubuntu 18.04.4 LTS. I'm using two separate conda environments because I couldn't get required versions to play nice. For the scanpy steps I'm bulding the env with the the following yaml
name: sc
channels:
- conda-forge
- anaconda
- bioconda
dependencies:
- ipykernel
- scanpy
- numpy
Resulting versions: scanpy==1.9.1 anndata==0.8.0 umap==0.5.3 numpy==1.22.4 scipy==1.8.1 pandas==1.4.2 scikit-learn==1.1.1 statsmodels==0.13.2 pynndescent==0.5.7
For SAMAP I followed steps in the readme using the following env
name: samap
channels:
- conda-forge
- anaconda
- bioconda
dependencies:
- python=3.7
- pip
- pybind11
- h5py=2.10.0
- leidenalg
- python-igraph
- texttable
- ipykernel
Just wanted to follow up on this. Is there an alternative way to get Chromium 10X files to h5ad files that SAMAP can read? Perhaps there are intermediate steps I've overlooked? Version issues? Very interested in applying the SAMap methods. Any help would be greatly appreciated!
Hi there - I had stopped getting notifications from this repo for some reason. So sorry about the delay.
Could you try to generate the h5ad file in the same environment as you installed SAMap? SAMap should have all the required dependencies needed to use scanpy to read in the 10x output.
Meanwhile, I will investigate to see what needs to be updated in SAMap to be compatible with the latest version of scanpy.
Thanks for the suggestion! I didn't but should've realized scanpy was a dependency. Using the same conda env. to generate the h5ad and run SAMap works with the example data. I'm running into a different issue with my data of interest, but I will close this issue as I think the problems aren't related. Will dig around previous issues before posting a new one to see if there's already a solution. Thanks!
If you are using SAMap in Docker (https://hub.docker.com/r/tarashan/samap), but need to reprocess your data in the same environment as the Docker image, I've pushed a Docker image that should have the software to do so (#115)
Hi, I'm running into issues loading h5ad files to a SAM object. The full error message is:
The same error arises on my data of interest and the example data from scanpy.
I'm following the first few steps of this tutorial
(command line)
(python)
(python)
The error occurs at this step, when I try to load in the newly created h5ad file.
(python)