11e45667d4e291b3038ccda729a1cdf5bcaf004a
braney
Mon Jul 11 15:46:54 2016 -0700
incorporate htslib in kent src, remove USE_BAM, USE_SAMTABIX, USE_TABIX
defines, modify a bunch of makefiles to include kentSrc variable
pointing to top of the tree.
diff --git src/hg/hgc/bamClick.c src/hg/hgc/bamClick.c
index 2587052..b422978 100644
--- src/hg/hgc/bamClick.c
+++ src/hg/hgc/bamClick.c
@@ -1,21 +1,20 @@
/* bamClick - handler for alignments in BAM format (produced by MAQ,
* BWA and some other short-read alignment tools). */
/* Copyright (C) 2014 The Regents of the University of California
* See README in this or parent directory for licensing information. */
-#ifdef USE_BAM
#include "common.h"
#include "hash.h"
#include "hdb.h"
#include "hgBam.h"
#include "hgc.h"
#include "knetUdc.h"
#include "udc.h"
#include "hgBam.h"
#include "hgConfig.h"
struct bamTrackData
{
@@ -122,35 +121,31 @@
int start = min(leftCore->pos, rightCore->pos);
int end = max(leftCore->pos+leftLength, rightCore->pos+rightLength);
char *itemName = bam1_qname(leftBam);
printf("Paired read name: %s
\n", itemName);
printPosOnChrom(seqName, start, end, NULL, FALSE, itemName);
puts("
"); } showOverlap(leftBam, rightBam); printf("
Left end read\n"); singleBamDetails(leftBam); printf(" | Right end read\n"); singleBamDetails(rightBam); printf(" |