Error downloading MuSiC2
1
0
Entering edit mode
5.8 years ago
Gene_MMP8 ▴ 240

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.

music2 sequencing ngs software error • 934 views
ADD COMMENT
0
Entering edit mode
5.8 years ago
GenoMax 142k

That is not an error with downloading MuSiC2 but a problem with compilation. You need to make sure that you have the directory containing samtools and htslib added to your $PATH.

export PATH=$PATH:/directory_with_samtools

ADD COMMENT

Login before adding your answer.

Traffic: 1492 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6