Error curses.h
bam_tview_curses.c:41:20: fatal error: curses.h: No such file or directory
Problem
Problem
ncurses library is missing
Solutions
Solutions
a) Install ncurses library
sudo apt-get install libncurses-dev
b) Install samtools using Bioconda
conda install -c bioconda samtools
c) Install samtools without the tview (text alignment viewer) which requires the ncurses library
cd samtools-1.3.1
./configure --without-curses
make
make prefix=$HOME/tools/samtools install