src/hg/inc/bamFile.h 1.9

1.9 2009/09/23 23:50:30 angie
Added bamShowFlagsEnglish to explain the flag bits.
Index: src/hg/inc/bamFile.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/inc/bamFile.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -b -B -U 4 -r1.8 -r1.9
--- src/hg/inc/bamFile.h	14 Sep 2009 23:44:25 -0000	1.8
+++ src/hg/inc/bamFile.h	23 Sep 2009 23:50:30 -0000	1.9
@@ -55,8 +55,11 @@
 
 void bamShowCigarEnglish(const bam1_t *bam);
 /* Print out cigar in English e.g. "20 (mis)Match, 1 Deletion, 3 (mis)Match" */
 
+void bamShowFlagsEnglish(const bam1_t *bam);
+/* Print out flags in English, e.g. "Mate is on '-' strand; Properly paired". */
+
 int bamGetTargetLength(const bam1_t *bam);
 /* Tally up the alignment's length on the reference sequence from
  * bam's packed-int CIGAR representation. */