Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/klib/blob/master/ksw.h # klib [Ported from github.com/attractivechaos/klib] added block arena Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `klib / ksw.h` 72 lines ยท 2731 bytes Raw Blame History 1 #ifndef __AC_KSW_H 2 #define __AC_KSW_H 3 4 #include 5 6 #define KSW_XBYTE 0x10000 7 #define KSW_XSTOP 0x20000 8 #define KSW_XSUBO 0x40000 9 #define KSW_XSTART 0x80000 10 11 struct _kswq_t; 12 typedef struct _kswq_t kswq_t; 13 14 typedef struct { 15 int score; // best score 16 int te, qe; // target end and query end 17 int score2, te2; // second best score and ending position on the target 18 int tb, qb; // target start and query start 19 } kswr_t; 20 21 #ifdef __cplusplus 22 extern "C" { 23 #endif 24 25 /** 26 * Aligning two sequences 27 * 28 * @param qlen length of the query sequence (typically