DNA_seq_indexer API

This commit is contained in:
Celine Mercier
2016-04-12 16:38:47 +02:00
parent 04e3a7b5a9
commit be05c889e2
16 changed files with 200 additions and 97 deletions

View File

@ -54,7 +54,7 @@ bool only_ATGC(const char* seq)
}
byte_t* encode_seq_on_2_bits(char* seq, int32_t length)
byte_t* encode_seq_on_2_bits(const char* seq, int32_t length)
{
byte_t* seq_b;
uint8_t modulo;
@ -163,7 +163,7 @@ char* decode_seq_on_2_bits(byte_t* seq_b, int32_t length_seq)
}
byte_t* encode_seq_on_4_bits(char* seq, int32_t length)
byte_t* encode_seq_on_4_bits(const char* seq, int32_t length)
{
byte_t* seq_b;
uint8_t modulo;