ryanlayer / samplot

Plot structural variant signals from many BAMs and CRAMs
MIT License
516 stars 66 forks source link

Is the package still working #174

Open akhilpampana opened 1 year ago

akhilpampana commented 1 year ago

Hello, I am trying to install this package and getting errors while installation. Is the package still working?

ryanlayer commented 1 year ago

Yes it is. If you tell us what errors you are getting we can help get it working.

On Wed, Dec 14, 2022 at 11:21 AM akhilpampana @.***> wrote:

Hello, I am trying to install this package and getting errors while installation. Is the package still working?

— Reply to this email directly, view it on GitHub https://github.com/ryanlayer/samplot/issues/174, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEUGUII3H5NCCRN6USYNW3WNIF3NANCNFSM6AAAAAAS6ZRDTU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

akhilpampana commented 1 year ago

Thank you so much for the response. I am trying to install the package in linux and I wasn't able to install it. I am getting this error

conda install -c bioconda samplot 
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \ 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
faileding conflict for samplot python:   0%|                                                                                                                                       | 0/6 [00:00<?, ?it- ]

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.17=0
  - feature:|@/linux-64::__glibc==2.17=0

Your installed version is: 2.17

May I know how to fix this issue?

larissagraciano commented 1 year ago

I had the same issue, and I solved it by installing all samplot dependencies (https://github.com/ryanlayer/samplot/blob/master/requirements.txt) in my conda environment as follows:

conda config --add channels r
conda config --add channels bioconda
conda config --system --add channels conda-forge
conda install pysam
conda install -c conda-forge matplotlib
conda install numpy
conda install -c anaconda jinja2
conda install -c anaconda wget
akhilpampana commented 1 year ago

Thank you, will check and get back here if I have issues.