This is a test version of Biostars. For the public version, visit https://www.biostars.org.
SAMTOOLS installation errore

I downloaded SAMTOOLS with these command

$ wget https://github.com/samtools/samtools/releases/download/1.3.1/samtools-1.3.1.tar.bz2 -O samtools.tar.bz2
$ tar -xjvf samtools.tar.bz2
$ cd samtools-{version}

I get these error no such file or directory Now what should i do?

software error

1 answer

Well I presume {version} was supposed to be part of a template or something, presumably you're new to using the command line. If you did a simple ls, you'd see you should cd samtools-1.3.1.

I edited version to cd samtools-1.3.1 now it worked but when I insert this command dpkg --get-selections I cannot find it in installed softwares. So do you have any suggestion?

I think the file you downloaded is the source code of samtools, you need to compile it instead of installing it by dpkg

Nor should you find it in the installed software. You've downloaded the source code. If you want the binary, then download that. It still won't show up in dpkg, since you'd have to figure out how to add things to that database.

Log in to answer this question.