MCPcopy Create free account
hub / github.com/BirolLab/abyss / add

Method add

Parallel/NetworkSequenceCollection.cpp:1426–1435  ·  view source on GitHub ↗

Add a k-mer to this collection. */

Source from the content-addressed store, hash-verified

1424
1425/** Add a k-mer to this collection. */
1426void 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. */
1438void NetworkSequenceCollection::remove(const V& seq)

Callers 1

handleMethod · 0.45

Calls 1

sendSeqAddMessageMethod · 0.80

Tested by

no test coverage detected