X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=kaln.c;h=9fa40d0be3999e66b885486d7a03e50994bfbfdd;hb=d0e30eec1158752010659982342a611fc91ae8e3;hp=015030eca4a3e22cde12031c5ffb354f4447aaf3;hpb=bb9a8233e309f483c565dac4cb7193decdf324a5;p=samtools.git diff --git a/kaln.c b/kaln.c index 015030e..9fa40d0 100644 --- a/kaln.c +++ b/kaln.c @@ -182,17 +182,6 @@ typedef struct { int M, I, D; } dpscore_t; -/* build score profile for accelerating alignment, in theory */ -static void aln_init_score_array(uint8_t *seq, int len, int row, int *score_matrix, int **s_array) -{ - int *tmp, *tmp2, i, k; - for (i = 0; i != row; ++i) { - tmp = score_matrix + i * row; - tmp2 = s_array[i]; - for (k = 0; k != len; ++k) - tmp2[k] = tmp[seq[k]]; - } -} /*************************** * banded global alignment * ***************************/