5ec63b8c4407efe387f8c27e35853301fa137c9c aamp Sun Jul 17 09:52:17 2011 -0700 More udcFUSE stripping but also forget to remove the bamOpen function which has been moved to src/inc/bamFile.h diff --git src/hg/lib/hgBam.c src/hg/lib/hgBam.c index c71e53d..36b2a2a 100644 --- src/hg/lib/hgBam.c +++ src/hg/lib/hgBam.c @@ -1,25 +1,23 @@ /* bamFile -- interface to binary alignment format files using Heng Li's samtools lib. */ #include "common.h" #include "hdb.h" #include "hgBam.h" #ifdef USE_BAM #include "htmshell.h" -#include "hgConfig.h" -#include "udc.h" #include "samAlignment.h" char *bamFileNameFromTable(struct sqlConnection *conn, char *table, char *bamSeqName) /* Return file name from table. If table has a seqName column, then grab the * row associated with bamSeqName (which can be e.g. '1' not 'chr1' if that is the * case in the bam file). */ { boolean checkSeqName = (sqlFieldIndex(conn, table, "seqName") >= 0); if (checkSeqName && bamSeqName == NULL) errAbort("bamFileNameFromTable: table %s has seqName column, but NULL seqName passed in", table); char query[512]; if (checkSeqName) safef(query, sizeof(query), "select fileName from %s where seqName = '%s'", table, bamSeqName);