src/hg/inc/bamFile.h 1.12
1.12 2009/10/19 22:50:07 angie
Implemented grayscale for base qualities and coloring by user-specified tag.
Index: src/hg/inc/bamFile.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/inc/bamFile.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -b -B -U 4 -r1.11 -r1.12
--- src/hg/inc/bamFile.h 8 Oct 2009 06:38:22 -0000 1.11
+++ src/hg/inc/bamFile.h 19 Oct 2009 22:50:07 -0000 1.12
@@ -77,5 +77,10 @@
void bamShowTags(const bam1_t *bam);
/* Print out tags in HTML: bold key, no type indicator for brevity. */
+char *bamGetTagString(const bam1_t *bam, char *tag, char *buf, size_t bufSize);
+/* If bam's tags include the given 2-character tag, place the value into
+ * buf (zero-terminated, trunc'd if nec) and return a pointer to buf,
+ * or NULL if tag is not present. */
+
#endif//ndef BAMFILE_H