NVBIO
|
ReadDataFile from a BAM file
#include <bam.h>
Public Methods | |
ReadDataFile_BAM (const char *read_file_name, const uint32 max_reads, const uint32 max_read_len, const ReadEncoding flags) | |
virtual int | nextChunk (ReadDataRAM *output, uint32 max_reads, uint32 max_bps) |
bool | init (void) |
Public Methods inherited from nvbio::io::ReadDataFile | |
virtual | ~ReadDataFile () |
virtual ReadData * | next (const uint32 batch_size, const uint32 batch_bps) |
virtual bool | is_ok (void) |
Public Methods inherited from nvbio::io::ReadDataStream | |
ReadDataStream (uint32 truncate_read_len=uint32(-1)) | |
virtual | ~ReadDataStream () |
Additional Inherited Members | |
Public Types inherited from nvbio::io::ReadDataFile | |
enum | FileState { FILE_NOT_READY, FILE_OPEN_FAILED, FILE_OK, FILE_EOF, FILE_STREAM_ERROR, FILE_PARSE_ERROR } |
Public Members inherited from nvbio::io::ReadDataStream | |
uint32 | m_truncate_read_len |
Static Public Members inherited from nvbio::io::ReadDataFile | |
static const uint32 | LONG_READ = 32*1024 |
Proteced Methods inherited from nvbio::io::ReadDataFile | |
ReadDataFile (const uint32 max_reads, const uint32 truncate_read_len, const ReadEncoding flags) | |
Protected Members inherited from nvbio::io::ReadDataFile | |
uint32 | m_max_reads |
ReadEncoding | m_flags |
uint32 | m_loaded |
FileState | m_file_state |