Remove the specified extensions from this k-mer. */
| 210 | |
| 211 | /** Remove the specified extensions from this k-mer. */ |
| 212 | void removeExtension(const key_type& kmer, |
| 213 | extDirection dir, SymbolSet ext) |
| 214 | { |
| 215 | bool rc; |
| 216 | iterator it = find(kmer, rc); |
| 217 | assert(it != m_data.end()); |
| 218 | if (opt::ss) { |
| 219 | assert(!rc); |
| 220 | it->second.removeExtension(dir, ext); |
| 221 | } else { |
| 222 | bool palindrome = kmer.isPalindrome(); |
| 223 | if (!rc || palindrome) |
| 224 | it->second.removeExtension(dir, ext); |
| 225 | if (rc || palindrome) |
| 226 | it->second.removeExtension(!dir, ext.complement()); |
| 227 | } |
| 228 | notify(*it); |
| 229 | } |
| 230 | |
| 231 | /** Remove the specified edge of this vertex. */ |
| 232 | void removeExtension(const key_type& seq, extDirection dir, Symbol base) |
no test coverage detected