src/hg/inc/bamFile.h 1.10

1.10 2009/09/24 04:33:50 angie
Added bamGetQueryQuals for displaying sequence quality scores.
Index: src/hg/inc/bamFile.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/inc/bamFile.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -b -B -U 4 -r1.9 -r1.10
--- src/hg/inc/bamFile.h	23 Sep 2009 23:50:30 -0000	1.9
+++ src/hg/inc/bamFile.h	24 Sep 2009 04:33:50 -0000	1.10
@@ -49,8 +49,11 @@
 /* Return the nucleotide sequence encoded in bam.  The BAM format 
  * reverse-complements query sequence when the alignment is on the - strand,
  * so here we rev-comp it back to restore the original query sequence. */
 
+UBYTE *bamGetQueryQuals(const bam1_t *bam);
+/* Return the base quality scores encoded in bam as an array of ubytes. */
+
 char *bamGetCigar(const bam1_t *bam);
 /* Return a BAM-enhanced CIGAR string, decoded from the packed encoding in bam. */
 
 void bamShowCigarEnglish(const bam1_t *bam);