channel.h File Reference
#include <string>
#include <cctype>
#include <algorithm>
#include <vector>
#include <iterator>
#include "interop/util/assert.h"
#include "interop/util/string.h"
#include "interop/util/exception.h"
#include "interop/constants/enums.h"
#include "interop/model/model_exceptions.h"

Go to the source code of this file.

Namespaces

 illumina
 
 illumina::interop
 
 illumina::interop::logic
 
 illumina::interop::logic::utils
 

Functions

std::string normalize (const std::string &channel)
 
template<class I , class O >
void normalize (I beg, I end, O out)
 
template<class I >
std::string join (I beg, I end, const std::string &token)
 
std::string join (const std::vector< std::string > &values, const std::string &token)
 
template<class I >
std::vector< std::string > expected_order (I beg, I end) INTEROP_THROW_SPEC((model
 
std::vector< std::string > expected_order (const std::vector< std::string > &channels)
 
void expected2actual (const std::vector< std::string > &channels, std::vector< size_t > &map)
 
void actual2expected (const std::vector< std::string > &channels, std::vector< size_t > &map)
 
std::vector< size_t > expected2actual_map (const std::vector< std::string > &channels)
 
std::vector< size_t > actual2expected_map (const std::vector< std::string > &channels)
 
void update_channel_from_instrument_type (const constants::instrument_type instrument, std::vector< std::string > &channels)
 
std::vector< std::string > update_channel_from_instrument_type (const constants::instrument_type instrument)
 

Detailed Description

Channel order logic

Date
3/12/16
Version
1.0