Sequence alignment: added the possibility to specify the index of the
sequences to align in a column containing multiple sequences per line (C level for now)
This commit is contained in:
@ -232,7 +232,7 @@ int thresholdLCS4(int32_t reflen, int32_t lcs)
|
||||
}
|
||||
|
||||
|
||||
Kmer_table_p hash_seq_column(Obiview_p view, OBIDMS_column_p seq_col)
|
||||
Kmer_table_p hash_seq_column(Obiview_p view, OBIDMS_column_p seq_col, index_t seq_idx)
|
||||
{
|
||||
size_t i;
|
||||
size_t seq_count;
|
||||
@ -251,7 +251,7 @@ Kmer_table_p hash_seq_column(Obiview_p view, OBIDMS_column_p seq_col)
|
||||
|
||||
for (i=0; i < seq_count; i++)
|
||||
{
|
||||
seq = obi_get_seq_with_elt_idx_and_col_p_in_view(view, seq_col, i, 0); // TODO discuss 1 element per line mandatory
|
||||
seq = obi_get_seq_with_elt_idx_and_col_p_in_view(view, seq_col, i, seq_idx); // TODO discuss 1 element per line mandatory
|
||||
if (seq == NULL)
|
||||
return NULL; // TODO or not
|
||||
ktable[i].table = malloc(256 * sizeof(unsigned char));
|
||||
|
Reference in New Issue
Block a user