Really you do not need to compile this application by yourself.
It is packaged in all currently supported versions in universe pocket.
You can add this pocket with (if it is no enabled) the command:
sudo add-apt-repository universe
and then you can simply install it with:
sudo apt-get install samtools
If you really want to compile samtools
, then you do not need to run ./configure
script (as it does not exist), just use make
:
cd ~/Downloads
wget https://vorboss.dl.sourceforge.net/project/samtools/samtools/0.1.19/samtools-0.1.19.tar.bz2
tar -xf samtools-0.1.19.tar.bz2
cd samtools-0.1.19
make
and you will get:
$ ./samtools
Program: samtools (Tools for alignments in the SAM format)
Version: 0.1.19-44428cd
Usage: samtools <command> [options]
Command: view SAM<->BAM conversion
sort sort alignment file
mpileup multi-way pileup
depth compute the depth
faidx index/extract FASTA
tview text alignment viewer
index index alignment
idxstats BAM index stats (r595 or later)
fixmate fix mate information
flagstat simple stats
calmd recalculate MD/NM tags and '=' bases
merge merge sorted alignments
rmdup remove PCR duplicates
reheader replace BAM header
cat concatenate BAMs
bedcov read depth per BED region
targetcut cut fosmid regions (for fosmid pool only)
phase phase heterozygotes
bamshuf shuffle and group alignments by name