-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update compilation command for Ubuntu 16.04LTS and samtools-1.7
- Loading branch information
1 parent
77c7b10
commit f5dfe7c
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |