NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros
sequence_sam.cpp File Reference
#include <stdlib.h>
#include <string.h>
#include <zlib/zlib.h>
#include <nvbio/basic/console.h>
#include <nvbio/io/sequence/sequence_sam.h>
#include <nvbio/io/sequence/sequence_encoder.h>

Go to the source code of this file.

Namespaces

 nvbio
 Define a vector_view POD type and plain_view() for std::vector.
 
 nvbio::io
 

Macros

#define NEXT(prev, next)
 

Macro Definition Documentation

#define NEXT (   prev,
  next 
)
Value:
{ \
next = strchr(prev, '\t'); \
if (!next) { \
log_error(stderr, "Error parsing SAM file (line %d): incomplete alignment section\n", numLines); \
m_file_state = FILE_PARSE_ERROR; \
return -1; \
} \
*next = '\0'; \
next++; \
}