neherlab / pan-genome-analysis

Processing pipeline for pan-genome visulization and exploration
http://pangenome.de
GNU General Public License v3.0
132 stars 37 forks source link

run-TestSet.sh: 25: ./panX.py: Permission denied #56

Open Dimpledavray287 opened 2 years ago

Dimpledavray287 commented 2 years ago

I have installed it as mentioned in the given link https://github.com/neherlab/pan-genome-analysis/blob/master/README.md

step 1 Installed:- git clone https://github.com/neherlab/pan-genome-analysis.git unzip step 2 wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh bash Miniconda2-latest-Linux-x86_64.sh export PATH=~/miniconda2/bin:$PATH conda env create -f panX-environment.yml source activate panX

Step 3 **dimple@DESKTOP-6JV15RL:~/pan-genome-analysis-master/pan-genome-analysis-master$ sudo sh run-TestSet.sh

Given the below error run-TestSet.sh: 25: ./panX.py: Permission denied

Dimpledavray287 commented 2 years ago

**Will running : - bash Miniconda2-latest-Linux-x86_64.sh. Got given the below error Preparing transaction: done Executing transaction: done installation finished. Do you wish the installer to initialize Miniconda2 by running conda init? [yes|no] [no] >>> yes

EncodingError: A unicode encoding or decoding error has occurred. Python 2 is the interpreter under which conda is running in your base environment. Replacing your base environment with one having Python 3 may help resolve this issue. If you still have a need for Python 2 environments, consider using 'conda create' and 'conda activate'. For example:

$ conda create -n py2 python=2
$ conda activate py2

Error details: UnicodeDecodeError('utf8', '# ~/.bashrc: executed by bash(1) for non-login shells.\n# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)\n# for examples\n\n# If not running interactively, don\'t do anything\ncase $- in\n i) ;;\n *) return;;\nesac\n\n# don\'t put duplicate lines or lines starting with space in the history.\n# See bash(1) for more options\nHISTCONTROL=ignoreboth\n\n# append to the history file, don\'t overwrite it\nshopt -s histappend\n\n# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)\nHISTSIZE=1000\nHISTFILESIZE=2000\n\n# check the window size after each command and, if necessary,\n# update the values of LINES and COLUMNS.\nshopt -s checkwinsize\n\n# If set, the pattern "**" used in a pathname expansion context will\n# match all files and zero or more directories and subdirectories.\n#shopt -s glo