I am following all the steps that are required to install music2. I am trying to download calcRoiCovg in one of the steps. I have followed all the instructions previously, but I am getting the following error.
gcc -g -Wall -fopenmp -O2 -Idata/shayantan/samtools/ calcRoiCovg.c -o calcRoiCovg -Ldata/shayantan/samtools/ -lbam -lm -lz -lpthread In file included from calcRoiCovg.c:21:0: calcRoiCovg.h:22:17: fatal error: sam.h: No such file or directory #include "sam.h" ^ compilation terminated. make: *** [all] Error 1
I have made sure that sam.h file is inside samtools and htslib. But still I get an error. Any suggestions to remedy this will help me a lot! I am stuck with this problem for a long time.