CXXFLAGS= $(CFLAGS)
DFLAGS= -D_FILE_OFFSET_BITS=64 -D_USE_KNETFILE #-D_NO_CURSES
LOBJS= bgzf.o kstring.o bam_aux.o bam.o bam_import.o sam.o bam_index.o \
- bam_pileup.o bam_lpileup.o bam_md.o glf.o razf.o faidx.o knetfile.o
-AOBJS= bam_sort.o bam_tview.o bam_maqcns.o bam_plcmd.o sam_view.o \
+ bam_pileup.o bam_lpileup.o bam_md.o glf.o razf.o faidx.o knetfile.o \
+ bam_sort.o
+AOBJS= bam_tview.o bam_maqcns.o bam_plcmd.o sam_view.o \
bam_rmdup.o bam_rmdupse.o bam_mate.o bam_stat.o bam_color.o \
bamtk.o
PROG= samtools
void bam_aux_append(bam1_t *b, const char tag[2], char type, int len, uint8_t *data);
- // uint8_t *bam_aux_get_core(bam1_t *b, const char tag[2]); // an alias of bam_aux_get()
+ uint8_t *bam_aux_get_core(bam1_t *b, const char tag[2]); // an alias of bam_aux_get()
/*!
@abstract Calculate the rightmost coordinate of an alignment on the
b->data[ori_len + 2] = type;
memcpy(b->data + ori_len + 3, data, len);
}
-/*
+
uint8_t *bam_aux_get_core(bam1_t *b, const char tag[2])
{
return bam_aux_get(b, tag);
}
-*/
+
uint8_t *bam_aux_get(const bam1_t *b, const char tag[2])
{
uint8_t *s;
#include "bam.h"
#ifndef PACKAGE_VERSION
-#define PACKAGE_VERSION "0.1.5 (r373)"
+#define PACKAGE_VERSION "0.1.5a (r381)"
#endif
int bam_taf2baf(int argc, char *argv[]);