View Single Post
Old 08-17-2012, 01:53 AM   #1
Location: SW UK

Join Date: Nov 2011
Posts: 83
Default Install dwgsim problem - location of samtools binaries error


I have attempted (so far unsucessfully) to install dwgsim.
The installation notes suggests that there is a dependancy on the presence of samtools.
I have samtools v 0.1.18 installed to usr/local/bin

the install instructions for dwgsim:

=== Prerequisites ======= SAMtools ====SAMtools version >=0.1.7 is required. Please find SAMtoolsat
Download the source code and place it in the root directory. After, execute the following commands:
tar -zxvf samtools-0.1.7.tar.gz
ln -s samtools-0.1.7 samtools

=== Building DWGSIM ===To build DWGSIM, execute the following commands: make

To install DWGSIM, after building, copy the following binariesto their appropriate installation directories:

I already have samtools installed. I understand from the above that that dwgsim needs the samtools binaries to install. I cant figure out however where to put them relative to the folder containing the source code for dwgsim, and get a fatal error: samtools/bam.h: No such file or directory

I have tried extracting the samtools binary to the root of my home directory as suggested and creating a samtools link as suggested, but the dwgsim install script cant find it.

Any suggestions would be helpful.

swNGS is offline   Reply With Quote