Empirical
Namespaces | Functions
sequence_utils.h File Reference

Functions for analyzing with generic sequence types. More...

#include "../base/vector.h"
#include "functions.h"

Go to the source code of this file.

Namespaces

 emp
 If we are in emscripten, make sure to include the header.
 

Functions

template<typename TYPE >
size_t emp::calc_hamming_distance (const TYPE &in1, const TYPE &in2, int offset=0)
 
template<typename TYPE >
size_t emp::calc_edit_distance (const TYPE &in1, const TYPE &in2)
 
template<typename TYPE , typename GAP_TYPE >
size_t emp::align (TYPE &in1, TYPE &in2, GAP_TYPE gap)
 

Detailed Description

Functions for analyzing with generic sequence types.

Note
This file is part of Empirical, https://github.com/devosoft/Empirical
Date
2016-2017
Note
Status: BETA

A set of functions for analyzing sequences, including distance metrics (Hamming and Edit/Levenschtein) and alignment.