Add a k-mer to this collection. */
| 1424 | |
| 1425 | /** Add a k-mer to this collection. */ |
| 1426 | void NetworkSequenceCollection::add(const V& seq, |
| 1427 | unsigned coverage) |
| 1428 | { |
| 1429 | if (isLocal(seq)) { |
| 1430 | m_data.add(seq, coverage); |
| 1431 | } else { |
| 1432 | assert(coverage == 1); |
| 1433 | m_comm.sendSeqAddMessage(computeNodeID(seq), seq); |
| 1434 | } |
| 1435 | } |
| 1436 | |
| 1437 | /** Remove a k-mer from this collection. */ |
| 1438 | void NetworkSequenceCollection::remove(const V& seq) |
no test coverage detected