Adds the obimicrosat command

This commit is contained in:
Eric Coissac
2024-08-05 15:31:20 +02:00
parent 3f57935328
commit bdb96dda94
11 changed files with 419 additions and 5 deletions

View File

@@ -39,6 +39,25 @@ var iupac = map[byte][]uint64{
'n': {0, 1, 2, 3},
}
var revcompnuc = map[byte]byte{
'a': 't',
'c': 'g',
'g': 'c',
't': 'a',
'u': 'a',
'r': 'y',
'y': 'r',
's': 's',
'w': 'w',
'k': 'm',
'm': 'k',
'b': 'v',
'd': 'h',
'h': 'd',
'v': 'b',
'n': 'n',
}
var decode = map[uint64]byte{
0: 'a',
1: 'c',