DerrickWood / kraken2

The second version of the Kraken taxonomic sequence classification system
MIT License
714 stars 271 forks source link

Unable to run kraken2-build #664

Open raghuramdr opened 1 year ago

raghuramdr commented 1 year ago

Hi,

I am trying to run kraken2-build --standard --db /mnt/kraken_db, but I get the following error Can't exec "standard_installation.sh": Permission denied at /usr/local/bin/kraken2-build line 308. I have placed kraken2, kraken2-build and kraken2-inspect in my PATH. I tried to build using sudo permissions, but no luck again. I have confirmed that I have the permissions to execute the file.

which kraken2 gives me ´/usr/local/bin/kraken2´ ´echo $PATH´gives the following output ´/home/ubuntu/.local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/root/bin´

I have also given execute permissions to the kraken2 directory recursively after cloning it. Any ideas on what might be causing this?

TomhitsJerry commented 1 year ago

line 308 is exec "standard_installation.sh". How about checking your file 'standard_installation.sh' 's Permission? chmod 755 standard_installation.sh.