Closed ValentinaBoP closed 1 year ago
Hi Valentina
Thanks for the feedback. To help us resolve this problem, could you tell us which OS and version you are running on your machine? Also, can you confirm that you used the mamba-based installation instructions detailed here: https://github.com/bergmanlab/mcclintock/#install. Finally can you tell us which revision of the McClintock code you are running (you can do this by typing git log | head -n 1
inside the mcclintock git repository)?
On thing you can try in the mean time is to do a clean install (remove the entire mcclintock git repository and reclone) then try installing just ngs_te_mapper2 using python3 mcclintock.py --install -m ngs_te_mapper2
.
Thanks, Casey
Hi Casey,
Yes, I followed the installation instructions on the Github page and used mamba.
The OS is: CentOS Linux release 7.9.2009
McClintock version: commit 6d9dda21538f9a97795c4e081c7a9a77ac0c4b5f
I also tried what you suggested about the clean install but I got the same exact error.
Hi @ValentinaBoP
Thanks for the additional information. I tried replicating your installation problem on a fresh install of a CentOS 7.9.2009 virtual machine running on MacOS parallels. Unfortunately, I could not replicate your error and was able to cleanly install ngs_te_mapper2 via McClintock:
(base) [cbergman@localhost mcclintock]$ conda activate mcclintock
(mcclintock) [cbergman@localhost mcclintock]$ python3 mcclintock.py --install -m ngs_te_mapper2
INSTALL installing dependencies
INSTALL WARNING: this could take awhile
INSTALL Installing scripts for:ngs_te_mapper2
Job counts:
count jobs
1 ngs_te_mapper2
1
downloading https://github.com/bergmanlab/ngs_te_mapper2/archive/220619a3dd00b8c05c3b96328eb2424c6aad623e.zip to /home/cbergman/mcclintock/install/tools/ngs_te_mapper2/ngs_te_mapper2.zip
download complete
checking md5 of /home/cbergman/mcclintock/install/tools/ngs_te_mapper2/ngs_te_mapper2.zip
MD5 hash of /home/cbergman/mcclintock/install/tools/ngs_te_mapper2/ngs_te_mapper2.zip matches expected
(mcclintock) [cbergman@localhost mcclintock]$ more /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
(mcclintock) [cbergman@localhost mcclintock]$ history
1 wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O $HOME//miniconda.sh
2 bash ~/miniconda.sh -b -p $HOME/miniconda # silent mode
3 echo "export PATH=\$PATH:\$HOME/miniconda/bin" >> $HOME/.bashrc # add to .bashrc
4 source $HOME/.bashrc
5 conda init
6 conda update -y conda
7 conda install -y mamba=0.21.2 -c conda-forge
8 conda install -y git
9 git clone https://github.com/bergmanlab/mcclintock.git
10 cd mcclintock/
11 mamba env create -f install/envs/mcclintock.yml --name mcclintock
12 conda activate mcclintock
13 python3 mcclintock.py --install -m ngs_te_mapper2
14 more /etc/os-release
15 history
I have also had success installing all McClintock components on other versions of CentOS (8.4.2105, 6.10). From the fact that you can install other components, it appears snakemake is working as it should. Thus, I suspect that it is not a CentOS or CentOS version problem, but rather the issue is most likely with your user account or the installation of CentOS on your machine.
If you are trying to install on a workstation, I would suggest trying a clean install in a new user account to see if there is something in your user environment that is causing this issue. If you are trying to install on a central cluster, I would contact a colleague or your system administrator to see if they can try installing on a different user account.
Please let us know what you find.
Best regards, Casey
Thank you so much for the detailed help! I'm using a cluster, will ask help to the IT support and share the solution (hopefully) asap
Hi @ValentinaBoP. Did you make progress resolving this issue? Thanks, Casey.
Hi! I haven't managed to solve it. I also tried to install the McClintock on my own Mac laptop and get the same error for ngs_te_mapper2
Hi! In the end the IT support team managed to install McClintock and they also had some problems because of a missing dependency regarding compiling Fortran.
Hi!
I'm encountering an error when installing the tools through the
python3 mcclintock.py --install
. Everything gets installed correctly but ngs_te_mapper2:I also tried to install ngs_te_mapper2 manually but then it complains that the version installed is the wrong one and I don't manage to find the right one unfortunately.
Thank you for your help! Valentina