NVBIO
|
#include <sam.h>
Public Types | |
enum | { LINE_BUFFER_INIT_SIZE = 1024 } |
enum | SortOrder { SortOrder_unknown, SortOrder_unsorted, SortOrder_queryname, SortOrder_coordinate } |
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 Methods | |
ReadDataFile_SAM (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 () |
Public Members | |
std::vector< std::string > | sq_names |
std::vector< uint64 > | sq_lengths |
Additional Inherited Members | |
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 |
|
virtual |
Implements nvbio::io::ReadDataFile.
std::vector<std::string> nvbio::io::ReadDataFile_SAM::sq_names |