Skip to content

Commit 88dc4a3

Browse files
making Ns encode as 0000 instead of 1111 because they are treated as mismatches in abismal
1 parent db5bd16 commit 88dc4a3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

dna_four_bit.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ char dna_four_bit_decoding[] = {
6565
*/
6666
uint8_t dna_four_bit_encoding[] = {
6767
/*first*/ /*last*/
68-
/* 0*/ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, /* 15*/
69-
/* 16*/ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, /* 31*/
70-
/* 32*/ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, /* 47*/
71-
/* 48*/ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, /* 63*/
72-
/* 64*/ 15, 1, 14, 2, 13, 15, 15, 4, 11, 15, 15, 12, 15, 3, 15, 15, /* 79*/
73-
/* 80*/ 15, 15, 5, 6, 8, 15, 7, 9, 15, 10, 0, 15, 15, 15, 15, 15, /* 95*/
74-
/* 96*/ 15, 1, 14, 2, 13, 15, 15, 4, 11, 15, 15, 12, 15, 3, 15, 15, /*111*/
75-
/*112*/ 15, 15, 5, 6, 8, 15, 7, 9, 15, 10, 0, 15, 15, 15, 15, 15 /*127*/
68+
/* 0*/ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0*/
69+
/* 16*/ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 31*/
70+
/* 32*/ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 47*/
71+
/* 48*/ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 63*/
72+
/* 64*/ 0, 1, 14, 2, 13, 0, 0, 4, 11, 0, 0, 12, 0, 3, 0, 0, /* 79*/
73+
/* 80*/ 0, 0, 5, 6, 8, 0, 7, 9, 0, 10, 0, 0, 0, 0, 0, 0, /* 95*/
74+
/* 96*/ 0, 1, 14, 2, 13, 0, 0, 4, 11, 0, 0, 12, 0, 3, 0, 0, /*111*/
75+
/*112*/ 0, 0, 5, 6, 8, 0, 7, 9, 0, 10, 0, 0, 0, 0, 0, 0 /*127*/
7676
};
7777
// . A B C D . . G H . . K . M N .
7878
// . . R S T . V W . Y Z

0 commit comments

Comments
 (0)