HCGB-IGTP / XICRA

Small RNAseq pipeline for paired-end reads
MIT License
7 stars 3 forks source link

ResolvePackageNotFound #33

Closed dmi229 closed 2 years ago

dmi229 commented 2 years ago

Hello,

I saw someone had posted a similar issue, but I believe I'm working off the latest version that was fixed. I still see this error, eventually I think I linked it to a PC <> Mac issue (https://stackoverflow.com/questions/55554431/conda-fails-to-create-environment-from-yml/55576493#55576493). If it matters, this is a M1 mac. Hope for a fix!

This is my error, thanks in advance!:

ResolvePackageNotFound:

JFsanchezherrero commented 2 years ago

Hi there, I am not able to test in Mac whether XICRA works or not. But I guess it should work if conda works fine. I will be updating soon the package. I will let you know so that you can fresh install it.

Regards

JFsanchezherrero commented 2 years ago

Hi there, I have been working on the new installation.

Please do as follows and let me know it it worked.

Best regards,

1) Get requirements file from XICRA git repo

wget https://raw.githubusercontent.com/HCGB-IGTP/XICRA/master/XICRA_pip/devel/conda/environment.yml

2) Create environment named XICRA and install required packages using conda:

conda env create -f environment.yml

3) Activate environment and install XICRA

## activate
conda activate XICRA

## install latest python code
pip install XICRA

4) Install missing software: Unfortunately, a couple of executables are not available neither as a conda or pip packages. These packages are miraligner, sRNAbench and 'MINTmap'. We have generated a bash script to retrieve and include within your conda environment.

## install missing software
wget https://raw.githubusercontent.com/HCGB-IGTP/XICRA/master/XICRA_pip/XICRA/config/software/installer.sh
sh installer.sh

To check everything is fine, try executing the config module:

XICRA config