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

installation error #1

Open
cjhong opened this issue Jul 21, 2024 · 1 comment
Open

installation error #1

cjhong opened this issue Jul 21, 2024 · 1 comment

Comments

@cjhong
Copy link

cjhong commented Jul 21, 2024

I have considered a way to compute a gene expression correlation coefficient in a spatial context and it was lucky for me to find this method (copulacci). Our lab reviewed the bioinformatics paper recently published and it was very interesting! I am considering applying the copulaci to 10x Visium HD data. I am also wondering if the method can handle such high-resolution data in a reasonable computational resource and time. I couldn't find any performance evaluation in the manuscript. Thank you!

*** I followed the installation instructions. I created a conda environment w/ python=3.9, git clone, and run setup. I got this error message and the installation failed with the following error message. Is there any installation requirement? I searched Google w/ the error message but I have no clue.

Collecting urllib3[socks]<3,>=1.26 (from selenium->spatialdm->copulacci==0.0.1)
Using cached urllib3-2.2.1-py3-none-any.whl.metadata (6.4 kB)
Using cached urllib3-2.2.0-py3-none-any.whl.metadata (6.4 kB)
Using cached urllib3-2.1.0-py3-none-any.whl.metadata (6.4 kB)
Using cached urllib3-2.0.7-py3-none-any.whl.metadata (6.6 kB)
Using cached urllib3-2.0.6-py3-none-any.whl.metadata (6.6 kB)
Using cached urllib3-2.0.5-py3-none-any.whl.metadata (6.6 kB)
Using cached urllib3-2.0.4-py3-none-any.whl.metadata (6.6 kB)
Using cached urllib3-2.0.3-py3-none-any.whl.metadata (6.6 kB)
ERROR: Exception:
Traceback (most recent call last):
File "xxx/miniforge3/envs/copulacci/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper
status = run_func(*args)
File "xxx/miniforge3/envs/copulacci/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper
return func(self, options, args)
File "xxx/miniforge3/envs/copulacci/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 377, in run
requirement_set = resolver.resolve(
File "xxx/miniforge3/envs/copulacci/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve
result = self._result = resolver.resolve(
File "xxx/miniforge3/envs/copulacci/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "xxx/miniforge3/envs/copulacci/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 457, in resolve
raise ResolutionTooDeep(max_rounds)
pip._vendor.resolvelib.resolvers.ResolutionTooDeep: 200000

@hiraksarkar
Copy link
Collaborator

Hi @cjhong ,

Apologies for late reply, somehow I missed messages from github. Thanks for pointing out the installation error. The error seems to stem from a dependency within packages I used to compare. I just tried the following to resolve this issue,

Installing these packages separately helps

pip install selenium spatialdm
pip install squidpy

After this you can

pip install .

As now updated in the README.

For Visium HD data, you are absolutely right about the scaling concerns. In general copulacci works alright for high resolution data such as SeqFISH, but the permutation test portion is time consuming. One way to make it fast is to use multiple threads. I can share the scripts if it is of any help.

Thanks again!

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