]> git.donarmstrong.com Git - samtools.git/blobdiff - kaln.c
* This revision is SERIOUSLY BUGGY. Please NOT use it.
[samtools.git] / kaln.c
diff --git a/kaln.c b/kaln.c
index 015030eca4a3e22cde12031c5ffb354f4447aaf3..9fa40d0be3999e66b885486d7a03e50994bfbfdd 100644 (file)
--- 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 *
  ***************************/