| 131 | } |
| 132 | |
| 133 | char nucleotideToColourSpace(char a, char b) |
| 134 | { |
| 135 | if (toupper(a) == 'N' || toupper(b) == 'N') |
| 136 | return islower(a) || islower(b) ? 'n' : 'N'; |
| 137 | return "0123"[cstont[baseToCode(a)][baseToCode(b)]]; |
| 138 | } |
| 139 | |
| 140 | /** Convert the specified ambiguity code to a bitmask. */ |
| 141 | unsigned ambiguityToBitmask(char c) |
no test coverage detected