Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPC2: svm-scale and svm-predict Permission denied #3

Open
menegidio-lab opened this issue Jul 31, 2021 · 1 comment
Open

CPC2: svm-scale and svm-predict Permission denied #3

menegidio-lab opened this issue Jul 31, 2021 · 1 comment

Comments

@menegidio-lab
Copy link

I installed ezLncPred through Conda pip. All other applications work and I can run CPC2 standalone in the same env. However, when I try to run it from ezLncPred, I see the error below:

Now CPC2 is ready to run ...

[INFO] read file 'fasta/GHCM01000000.fasta'
[INFO] Predicting coding potential, please wait ...
sim path is
/home/menegidio/miniconda3/envs/ezLncPred/lib/python3.6/site-packages/ezLncPred/models/CPC2/bin/../../tools/libsvm/svm-scale /home/menegidio/miniconda3/envs/ezLncPred/lib/python3.6/site-packages/ezLncPred/models/CPC2/bin/../../tools/libsvm/svm-predict
[ERROR] No excutable svm-scale on CPC2 path!
[ERROR] No excutable svm-predict on CPC2 path!
sh: 1: /home/menegidio/miniconda3/envs/ezLncPred/lib/python3.6/site-packages/ezLncPred/models/CPC2/bin/../../tools/libsvm/svm-scale: Permission denied
[ERROR] Prediction error!

File permission is normal and even changing to 755 I keep seeing error.

@menegidio-lab menegidio-lab changed the title svm-scale and svm-predict Permission denied CPC2: svm-scale and svm-predict Permission denied Jul 31, 2021
@menegidio-lab
Copy link
Author

Resolution:

chmod -v u+x svm-train svm-predict svm-scale
chmod +x svm-train svm-predict svm-scale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant