Edlib  1.1.2.
Lightweight, super fast C/C++ library for sequence alignment using edit distance.
Public Attributes | List of all members
EdlibAlignConfig Struct Reference

Configuration object for edlibAlign() function. More...

#include <edlib.h>

Public Attributes

int k
 
EdlibAlignMode mode
 
EdlibAlignTask task
 

Detailed Description

Configuration object for edlibAlign() function.

Member Data Documentation

§ k

int EdlibAlignConfig::k

Set k to non-negative value to tell edlib that edit distance is not larger than k. Smaller k can significantly improve speed of computation. If edit distance is larger than k, edlib will set edit distance to -1. Set k to negative value and edlib will internally auto-adjust k until score is found.

§ mode

EdlibAlignMode EdlibAlignConfig::mode

Alignment method. EDLIB_MODE_NW: global (Needleman-Wunsch) EDLIB_MODE_SHW: prefix. Gap after query is not penalized. EDLIB_MODE_HW: infix. Gaps before and after query are not penalized.

§ task

EdlibAlignTask EdlibAlignConfig::task

Alignment task - tells Edlib what to calculate. Less to calculate, faster it is. EDLIB_TASK_DISTANCE - find edit distance and end locations of optimal alignment paths in target. EDLIB_TASK_LOC - find edit distance and start and end locations of optimal alignment paths in target. EDLIB_TASK_PATH - find edit distance, alignment path (and start and end locations of it in target).


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