vdj_pipe
pipeline for processing DNA sequence data
Classes | Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
vdj_pipe::Seq_map_short Class Reference

#include <sequence_map_short.hpp>

Collaboration diagram for vdj_pipe::Seq_map_short:
Collaboration graph
[legend]

Classes

struct  Err
 

Public Types

typedef Seq_fls< 4, boost::uint_fast32_t > seq_type
 
typedef Best_match_pair< Mid_id, int > match_type
 
typedef Id_iterator< Mid_id > iterator
 
typedef iterator const_iterator
 

Public Member Functions

 Seq_map_short (const bool allow_duplicate_seq)
 
iterator begin () const
 
iterator end () const
 
seq_type seq (const Mid_id id) const
 
std::string seq_string (const Mid_id id) const
 
std::string const & name (const Mid_id id) const
 
std::size_t seq_size () const
 
Mid_id max_id () const
 
Mid_id const * find_exact (const seq_type seq) const
 
Mid_id const * find_exact (const boost::string_ref seq) const
 
template<class Seq >
bool find_closest (const Seq s, match_type &m, scoring_matrix_t const &sm) const
 
Mid_id insert (std::string name, std::string const &seq)
 

Private Types

typedef detail::Id_bimap< Mid_id, seq_typeseq_map
 
typedef detail::Id_map< Mid_id, std::string > name_map
 

Private Attributes

std::size_t mid_size_
 
seq_map seqs_
 
name_map names_
 
bool allow_duplicate_seq_
 

Member Typedef Documentation

typedef detail::Id_map<Mid_id, std::string> vdj_pipe::Seq_map_short::name_map
private
typedef Seq_fls<4, boost::uint_fast32_t> vdj_pipe::Seq_map_short::seq_type

Constructor & Destructor Documentation

vdj_pipe::Seq_map_short::Seq_map_short ( const bool  allow_duplicate_seq)
inlineexplicit

Member Function Documentation

iterator vdj_pipe::Seq_map_short::begin ( ) const
inline
iterator vdj_pipe::Seq_map_short::end ( ) const
inline
template<class Seq >
bool vdj_pipe::Seq_map_short::find_closest ( const Seq  s,
match_type m,
scoring_matrix_t const &  sm 
) const
inline
Mid_id const* vdj_pipe::Seq_map_short::find_exact ( const seq_type  seq) const
inline
Mid_id const* vdj_pipe::Seq_map_short::find_exact ( const boost::string_ref  seq) const
inline
Mid_id vdj_pipe::Seq_map_short::insert ( std::string  name,
std::string const &  seq 
)
inline
Mid_id vdj_pipe::Seq_map_short::max_id ( ) const
inline
std::string const& vdj_pipe::Seq_map_short::name ( const Mid_id  id) const
inline
seq_type vdj_pipe::Seq_map_short::seq ( const Mid_id  id) const
inline
std::size_t vdj_pipe::Seq_map_short::seq_size ( ) const
inline
std::string vdj_pipe::Seq_map_short::seq_string ( const Mid_id  id) const
inline

Member Data Documentation

bool vdj_pipe::Seq_map_short::allow_duplicate_seq_
private
std::size_t vdj_pipe::Seq_map_short::mid_size_
private
name_map vdj_pipe::Seq_map_short::names_
private
seq_map vdj_pipe::Seq_map_short::seqs_
private

The documentation for this class was generated from the following file: