]> git.donarmstrong.com Git - samtools.git/blobdiff - bam.h
* samtools-0.1.3-11 (r258)
[samtools.git] / bam.h
diff --git a/bam.h b/bam.h
index 4045684230a7cba886a0ed0fa390db3340866f91..1195e75be3220a0ecfe569de249dc1a5a70780a5 100644 (file)
--- a/bam.h
+++ b/bam.h
@@ -404,11 +404,12 @@ extern "C" {
        } while (0)
 
        /*!
-         @abstract       Print an alignment to the standard output in TAM format.
+         @abstract       Format a BAM record in the SAM format
          @param  header  pointer to the header structure
          @param  b       alignment to print
+         @return         a pointer to the SAM string
         */
-       void bam_view1(const bam_header_t *header, const bam1_t *b);
+       char *bam_format1(const bam_header_t *header, const bam1_t *b);
 
        /*!
          @abstract    Merge multiple sorted BAM.