NVBIO
|
Helper class to represent a read or its reverse-complement - useful to avoid warp-divergence. This class has a string interface.
#include <utils.h>
Public Types | |
typedef StreamType::symbol_type | value_type |
typedef StreamType::index_type | index_type |
typedef ReadStream< StreamType, QualType > | this_type |
typedef ReadStreamQualities < this_type > | qual_string_type |
typedef random_access_universal_iterator_tag | iterator_category |
typedef value_type | reference |
typedef const value_type * | pointer |
typedef signed_type < index_type >::type | difference_type |
typedef string_iterator < this_type > | iterator |
typedef string_iterator < this_type > | const_iterator |
typedef string_iterator < this_type > | forward_iterator |
Public Methods | |
NVBIO_HOST_DEVICE NVBIO_FORCEINLINE | ReadStream () |
NVBIO_HOST_DEVICE NVBIO_FORCEINLINE | ReadStream (const StreamType &s, const uint2 range) |
NVBIO_HOST_DEVICE NVBIO_FORCEINLINE | ReadStream (const StreamType &s, const QualType q, const uint2 range) |
NVBIO_HOST_DEVICE NVBIO_FORCEINLINE void | set_flags (const DirType d, const ReadType t) |
NVBIO_HOST_DEVICE NVBIO_FORCEINLINE uint32 | length () const |
NVBIO_HOST_DEVICE NVBIO_FORCEINLINE value_type | operator[] (uint32 pos) const |
NVBIO_HOST_DEVICE NVBIO_FORCEINLINE uint8 | quality (const uint32 pos) const |
NVBIO_HOST_DEVICE NVBIO_FORCEINLINE qual_string_type | qualities () const |
NVBIO_HOST_DEVICE NVBIO_FORCEINLINE iterator | begin () |
NVBIO_HOST_DEVICE NVBIO_FORCEINLINE iterator | end () |
NVBIO_HOST_DEVICE NVBIO_FORCEINLINE const_iterator | begin () const |
NVBIO_HOST_DEVICE NVBIO_FORCEINLINE const_iterator | end () const |
Public Members | |
uint32 | rev |
reverse flag More... | |
uint32 | comp |
complement flag More... | |
uint32 | first |
uint32 | last |
offset of first and last elements More... | |
StreamType | stream |
read stream More... | |
QualType | qual |
quality stream More... | |
Static Public Members | |
static const uint32 | SYMBOL_SIZE = StreamType::SYMBOL_SIZE |
typedef string_iterator<this_type> nvbio::ReadStream< StreamType, QualType >::const_iterator |
typedef signed_type<index_type>::type nvbio::ReadStream< StreamType, QualType >::difference_type |
typedef string_iterator<this_type> nvbio::ReadStream< StreamType, QualType >::forward_iterator |
typedef StreamType::index_type nvbio::ReadStream< StreamType, QualType >::index_type |
typedef string_iterator<this_type> nvbio::ReadStream< StreamType, QualType >::iterator |
typedef random_access_universal_iterator_tag nvbio::ReadStream< StreamType, QualType >::iterator_category |
typedef const value_type* nvbio::ReadStream< StreamType, QualType >::pointer |
typedef ReadStreamQualities<this_type> nvbio::ReadStream< StreamType, QualType >::qual_string_type |
typedef value_type nvbio::ReadStream< StreamType, QualType >::reference |
typedef ReadStream<StreamType,QualType> nvbio::ReadStream< StreamType, QualType >::this_type |
typedef StreamType::symbol_type nvbio::ReadStream< StreamType, QualType >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
uint32 nvbio::ReadStream< StreamType, QualType >::comp |
uint32 nvbio::ReadStream< StreamType, QualType >::first |
uint32 nvbio::ReadStream< StreamType, QualType >::last |
QualType nvbio::ReadStream< StreamType, QualType >::qual |
uint32 nvbio::ReadStream< StreamType, QualType >::rev |
StreamType nvbio::ReadStream< StreamType, QualType >::stream |
|
static |