vdj_pipe
pipeline for processing DNA sequence data
Public Types | Public Member Functions | List of all members
vdj_pipe::Seq_store Class Reference

Store sequence and related information. More...

#include <sequence_store.hpp>

Public Types

typedef detail::Id_map< Seq_id, Seq_entryseq_map
 
typedef boost::shared_ptr< seq_mapseq_map_ptr
 
typedef detail::Vector_set< sub_seqsub_seq_set
 
typedef detail::Vector_set< super_seqsuper_seq_set
 
typedef seq_index::iterator iterator
 
typedef seq_index::const_iterator const_iterator
 

Public Member Functions

std::size_t size () const
 
const_iterator begin () const
 
const_iterator end () const
 
bool empty () const
 
Seq_entry const & operator[] (const Seq_id sid) const
 
boost::shared_ptr< seq_mapsequence_map ()
 
size_range by_size () const
 
size_range by_size (const unsigned size) const
 
size_range by_size_range (const unsigned from, const unsigned to=std::numeric_limits< unsigned >::max()) const
 
Seq_id insert (const Read_id rid, const boost::string_ref seq)
 insert name and sequence checking for duplicates
 
template<class Super_seqs >
void remove_subsequence (const Seq_id sid, Super_seqs const &ss)
 
super_seq_set const & maps_to (const Read_id iid) const
 
sub_seq_set const & maps_from (const Seq_id sid) const
 

Detailed Description

Store sequence and related information.

Member Function Documentation

size_range vdj_pipe::Seq_store::by_size ( ) const
inline
Returns
range of all sequence info IDs ordered by size
size_range vdj_pipe::Seq_store::by_size ( const unsigned  size) const
inline
Returns
range of sequence info IDs of % size size
size_range vdj_pipe::Seq_store::by_size_range ( const unsigned  from,
const unsigned  to = std::numeric_limits<unsigned>::max() 
) const
inline
Returns
range of sequence info IDs that have % size in the range [from, to)

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