This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Issues with local installation of SomaticSniper

I am working on a server on which I do not have root/admin privileges, so I'm attempting to do a local install of SomaticSniper in my work directory. I seem to be able to obtain the files from github, which creates a somatic-sniper directory with, among other things, a build-common subdirectory.

The documentation instructs me to do the following

mkdir somatic-sniper/build cd somatic-sniper/build cmake ../ make deps make -j make test

First, there is already a build directory there. Second, there are cmake subdirectories, so cmake is not treated as a command, therefore make fails.

I attempted the same within somatic-sniper/build-common (the rest of the commands the same) and wind up with the same errors, e.g. cmake command not found, etc. Please advise as to what I am doing incorrectly.

Thank you

somaticsniper

I'm assuming your actual command sequence is:

mkdir somatic-sniper/build
cd somatic-sniper/build
cmake ../
make deps
make -j
make test

Yes, that is correct.

2 answers

You probably need to install CMake; it's listed as one of the build dependencies.

Yes, I think that is the problem (or at least one of them). I'll try a local install of cmake and see if the rest of it works.

Your OS may provide a recent enough version of cmake as well. If you are on OS X, Homebrew (or similar) is a pretty invaluable tool for installing tools such as cmake.

OK, the git repo does not come with a build directory. The mkdir creates it. I'm erroring out at make -j, but it's not the error you face. Also, there are no cmake subdirectories.

I think you're better of trying the entire procedure (from git clone to make test) afresh in a different directory.

What error are you getting with make -j?

Log in to answer this question.