-
Notifications
You must be signed in to change notification settings - Fork 60
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
sh: smartpca: command not found #46
Comments
I also tried to add to the $PATH where both .perl scripts are: but again the same error |
Did you build the smartpca executable? |
no I just downloaded smartpca.perl and evec2pca-ped.perl How do I build this? |
I am running this on Ubuntu cluster |
I did try to install it from source in /src but after running "make" I got this: $ make |
First, you have to install gsl and and openblas. The commands should be something like:
I don't have an Ubuntu machine available to verify these are correct. The package names may be different. Once these are installed, try to run "make". If this fails, then you need to tell the linker where to find the gsl and openblas libraries. You can do this on the command line with something like:
Or you can modify the Makefile. I don't know where these libraries will be located on your machine, so the above paths are simply examples. You can find them using the standard utility find with something like:
|
Hello,
I downloaded in the current directory from where I am running smartpca.perl that script and evec2pca-ped.perl
I was running:
perl smartpca.perl -i output5F.bed -a output5F.pedsnp -b output5F.pedind -o output5F.pca -p output5F.plot -e output5F.eval -l output5F.smart
pca.log -m 5 -k 3 -t 2
smartpca -p output5F.pca.par >output5F.smartpca.log
sh: smartpca: command not found
OOPS couldn't open file output5F.pca.evec for reading at smartpca.perl line 65.
Can you please tell me how to resolve this?
I made both scripts executable via:
chmod a+x evec2pca-ped.perl
chmod a+x smartpca.perl
Please advise,
Thanks
The text was updated successfully, but these errors were encountered: