NVBIO
|
Typedefs | |
typedef nvbio::HostVectorArray < uint8 > | HostMdsArray |
typedef ReadDataView< uint32 *, uint32 *, char *, char * > | ReadDataCore |
typedef ReadDataRAM | ReadDataHost |
typedef ReadDataDevice | ReadDataCUDA |
typedef SequenceDataViewCore < uint32 *, uint32 *, char *, char * > | SequenceDataView |
A non-const SequenceData view More... | |
typedef SequenceDataViewCore < const uint32 *, const uint32 *, const char *, const char * > | ConstSequenceDataView |
A const SequenceData view More... | |
typedef SequenceDataViewCore < cuda::ldg_pointer< uint32 > , cuda::ldg_pointer< uint32 > , const char *, const char * > | LdgSequenceDataView |
An LDG-based SequenceData view More... | |
typedef SequenceDataStorage < host_tag > | SequenceDataHost |
a SequenceData object stored in host memory More... | |
typedef SequenceDataStorage < device_tag > | SequenceDataDevice |
a SequenceData object stored in device memory More... | |
typedef SequenceDataInputStream | SequenceDataStream |
void nvbio::io::analyze_md_string | ( | const vector_type | mds, |
uint32 & | n_mm, | ||
uint32 & | n_gapo, | ||
uint32 & | n_gape | ||
) |
Definition at line 77 of file output_utils.h.
|
related |
Definition at line 504 of file sequence_encoder.cpp.
Definition at line 37 of file output_utils.h.
uint32 nvbio::io::count_symbols | ( | const Cigar::Operation | type, |
const vector_type | cigar, | ||
const uint32 | cigar_len | ||
) |
Definition at line 60 of file output_utils.h.
SequenceDataEncoder * nvbio::io::create_encoder | ( | const Alphabet | alphabet, |
SequenceDataHost * | data | ||
) |
create a sequence encoder
Definition at line 424 of file sequence_encoder.cpp.
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE bool nvbio::io::distinct_alignments | ( | const uint32 | apos1, |
const uint32 | opos1, | ||
const bool | arc1, | ||
const bool | orc1, | ||
const uint32 | apos2, | ||
const uint32 | opos2, | ||
const bool | arc2, | ||
const bool | orc2 | ||
) |
Definition at line 51 of file alignments_inl.h.
void nvbio::io::encode | ( | const sequence_type | sequence, |
typename SequenceDataEdit< ALPHABET, SequenceDataView >::sequence_stream_type | stream, | ||
char * | qual_stream | ||
) |
Definition at line 180 of file sequence_encoder.cpp.
void nvbio::io::encode | ( | const QualityEncoding | quality_encoding, |
const sequence_type | sequence, | ||
typename SequenceDataEdit< ALPHABET, SequenceDataView >::sequence_stream_type | stream, | ||
char * | qual_stream | ||
) |
Definition at line 207 of file sequence_encoder.cpp.
void nvbio::io::encode | ( | const SequenceDataEncoder::StrandOp | conversion_flags, |
const QualityEncoding | quality_encoding, | ||
const uint32 | sequence_len, | ||
const uint8 * | sequence, | ||
const uint8 * | quality, | ||
typename SequenceDataEdit< ALPHABET, SequenceDataView >::sequence_stream_type | stream, | ||
char * | qual_stream | ||
) |
Definition at line 236 of file sequence_encoder.cpp.
void nvbio::io::encode | ( | const read_type | read, |
ReadData::read_stream_type::iterator | stream, | ||
char * | qual_stream | ||
) |
AlignmentData nvbio::io::get | ( | HostOutputBatchSE & | batch, |
const uint32 | aln_id | ||
) |
Definition at line 41 of file output_priv.cpp.
AlignmentData nvbio::io::get_anchor_mate | ( | HostOutputBatchPE & | batch, |
const uint32 | aln_id | ||
) |
Definition at line 85 of file output_priv.cpp.
AlignmentData nvbio::io::get_mate | ( | HostOutputBatchPE & | batch, |
const uint32 | aln_id, | ||
const AlignmentMate | mate | ||
) |
Definition at line 57 of file output_priv.cpp.
AlignmentData nvbio::io::get_opposite_mate | ( | HostOutputBatchPE & | batch, |
const uint32 | aln_id | ||
) |
Definition at line 101 of file output_priv.cpp.
bool nvbio::io::is_pac_archive | ( | const char * | sequence_file_name) |
check whether the file name points to a pac archive
Definition at line 244 of file sequence_pac.cpp.
bool nvbio::io::load_pac | ( | const Alphabet | alphabet, |
SequenceDataHost * | sequence_data, | ||
const char * | prefix, | ||
const SequenceFlags | load_flags, | ||
const QualityEncoding | qualities | ||
) |
load a sequence file
sequence_file_name | the file to open |
qualities | the encoding of the qualities |
max_seqs | maximum number of reads to input |
max_sequence_len | maximum read length - reads will be truncated |
flags | a set of flags indicating which strands to encode in the batch for each read. For example, passing FORWARD | REVERSE_COMPLEMENT will result in a stream containing BOTH the forward and reverse-complemented strands. |
Definition at line 275 of file sequence_pac.cpp.
bool nvbio::io::load_pac | ( | const Alphabet | alphabet, |
struct SequenceDataMMAPServer * | sequence_data, | ||
const char * | prefix, | ||
const char * | mapped_name, | ||
const SequenceFlags | load_flags, | ||
const QualityEncoding | qualities | ||
) |
load a sequence file
sequence_file_name | the file to open |
qualities | the encoding of the qualities |
max_seqs | maximum number of reads to input |
max_sequence_len | maximum read length - reads will be truncated |
flags | a set of flags indicating which strands to encode in the batch for each read. For example, passing FORWARD | REVERSE_COMPLEMENT will result in a stream containing BOTH the forward and reverse-complemented strands. |
Definition at line 359 of file sequence_pac.cpp.
bool nvbio::io::load_sequence_file | ( | const Alphabet | alphabet, |
SequenceDataHost * | sequence_data, | ||
const char * | sequence_file_name, | ||
const SequenceFlags | load_flags, | ||
const QualityEncoding | qualities | ||
) |
Definition at line 227 of file sequence_priv.cpp.
SequenceDataHost* nvbio::io::load_sequence_file | ( | const Alphabet | alphabet, |
const char * | sequence_file_name, | ||
const SequenceFlags | load_flags, | ||
const QualityEncoding | qualities | ||
) |
load a sequence file
alphabet | the alphabet used to encode the sequence data |
sequence_file_name | the file to open |
load_flags | a set of flags indicating what to load |
qualities | the encoding of the qualities |
Definition at line 255 of file sequence_priv.cpp.
bool nvbio::io::loadVCF | ( | SNPDatabase & | output, |
const char * | file_name | ||
) |
|
related |
Definition at line 455 of file sequence_encoder.cpp.
|
related |
Definition at line 276 of file sequence_priv.cpp.
|
related |
Definition at line 85 of file sequence_priv.cpp.
uint32 nvbio::io::reference_cigar_length | ( | const vector_type | cigar, |
const uint32 | cigar_len | ||
) |
Definition at line 44 of file output_utils.h.
int nvbio::io::skip | ( | SequenceDataStream * | stream, |
const uint32 | batch_size, | ||
const uint32 | batch_bps | ||
) |
Definition at line 553 of file sequence_encoder.cpp.