AmpliconSuite / CoRAL

Reconstruction of focal amplifications with long reads
BSD 3-Clause "New" or "Revised" License
10 stars 2 forks source link

conda/mamba install #10

Open auberginekenobi opened 2 months ago

auberginekenobi commented 2 months ago

Hi team, exciting work! I'd like to suggest including instructions for installing dependencies with conda/mamba instead of pip. This circumvents 2 issues I encountered during installation:

The only code change would be in the requirements.txt file:

(coral) ochapman@pines:~/CoRAL$ diff conda-requirements.txt requirements.txt 
3c3
< gurobi
---
> gurobipy
9c9
< bioconductor-dnacopy
---
> 

N.B. that the following channels are required:

(coral) ochapman@pines:~/CoRAL$ conda config --show channels
channels:
  - conda-forge
  - bioconda
  - gurobi
MJoseMo commented 1 month ago

Hi, I have encountered problems in installing the packages from the requirement.txt file.

I have solved it with the commands listed on the link: https://github.com/etal/cnvkit/issues/890

pip uninstall cython numpy -y
pip install cython==0.29.17 numpy==1.26.4 -y
git clone -b v0.14.9 --single-branch https://github.com/tiwalayo/pomegranate.git
pip install -e pomegranate/