decode index array, x, to byte string of this alphabet
(self, x)
| 32 | return x |
| 33 | |
| 34 | def decode(self, x): |
| 35 | """ decode index array, x, to byte string of this alphabet """ |
| 36 | string = self.chars[x] |
| 37 | return string.tobytes() |
| 38 | |
| 39 | |
| 40 | class Uniprot21(Alphabet): |