Skip to content

Commit

Permalink
Update compilation command for Ubuntu 16.04LTS and samtools-1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathancrabtree committed Jun 18, 2019
1 parent 77c7b10 commit f5dfe7c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions util/samtools/make.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

# compilation command for Ubuntu Linux
# compilation command for Ubuntu 16.04LTS
export CFLAGS=`pkg-config --cflags --libs glib-2.0`
export SAMTOOLS=../samtools-0.1.19
gcc bam_hmp_util.c bam_get_coverage.c $CFLAGS -L$SAMTOOLS -I$SAMTOOLS -lbam -o bam_get_coverage -lz -lgobject-2.0 -lgmodule-2.0 -lpthread
export SAMTOOLS=/opt/samtools-1.7
export HTSLIB=/opt/samtools-1.7/htslib-1.7
gcc bam_hmp_util.c bam_get_coverage.c $CFLAGS -L$SAMTOOLS -L$HTSLIB -I$SAMTOOLS -I$HTSLIB -lst -lhts -lbam -o bam_get_coverage -llzma -lbz2 -lz -lgobject-2.0 -lgmodule-2.0 -lpthread

0 comments on commit f5dfe7c

Please sign in to comment.