]> git.donarmstrong.com Git - bamtools.git/blob - README
Full update to SVN after combining BamReader and BamWriter into cohesive BamTools...
[bamtools.git] / README
1 ------------------------------------------------------------
2     README
3 ------------------------------------------------------------
4
5 BamTools: a C++ API for reading/writing BAM files.
6
7 The API consists of 2 main modules - BamReader and BamWriter. As you would expect, 
8 BamReader provides read-access to BAM files, while BamWriter does the writing of BAM
9 files. BamReader provides an interface for random-access (jumping) in a BAM file.
10  
11 An additional file, BamAux.h, is included as well.  
12 This file contains the common data structures and typedefs used throught the API.
13
14 ------------------------------------------------------------
15
16 To use this API, you simply need to do 3 things:
17
18     1 - Drop the BamTools files somewhere the compiler can find them.
19             (i.e. in source directory, or somewhere in include path)
20         
21         2 - Import BamTools API with the following lines of code
22             
23             #include "BamReader.h"     // as needed
24                 #include "BamWriter.h"     // as needed
25             using namespace BamTools;
26                 
27         3 - Compile with '-lz' ('l' as in 'lion') to access ZLIB compression library
28
29 See any included programs and Makefile for more specific compiling/usage examples.
30 See documentation & comments in header files for API details. 
31
32 ------------------------------------------------------------
33
34 Feel free to contact me with any questions, comments, suggestions, bug reports, etc.
35   - Derek Barnett
36   
37 http://sourceforge.net/projects/bamtools