using this command /shellfish/shellfish.py --pca --numpcs 10 --maxprocs 8 --file myfile --out qcvcf --ignore-sge which keeps spitting this error:
16:58:39 256 16:58:39 shellfish error: The command 'which lines'
exited with code 256: please ensure that the program 'lines' is
present in the current directory (or on your $PATH)
Is there any other ways to do PCA using set of .bed, .bim and .fam files? Also, what could be the cause of the error using shellfish.py as I would prefer to use shellfish.py?
I haven't used shellfish.py so couldnt comment on it. You can probably use GCTA tool to compute PCs. Using the plink files first generate GRM files and the use the GRM file to compute PCs.
The error message is clear :-) It seems you have to install (or add to your path) a program called "lines"
An alternative to shellfish is smartpca
I agree the message is clear, but the program "lines" is already in shellfish package and still generates this error.
I'd try to add "." to the PATH, or just the full path to "lines"