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

Method controlRemoveMarked

Parallel/NetworkSequenceCollection.cpp:330–345  ·  view source on GitHub ↗

Remove marked k-mer. * @return the number of k-mer removed */

Source from the content-addressed store, hash-verified

328 * @return the number of k-mer removed
329 */
330size_t NetworkSequenceCollection::controlRemoveMarked()
331{
332 if (opt::verbose > 0)
333 cout << "Sweeping...\n";
334 SetState(NAS_REMOVE_MARKED);
335 m_comm.sendControlMessage(APC_SET_STATE, NAS_REMOVE_MARKED);
336 m_comm.barrier();
337 size_t count = AssemblyAlgorithms::removeMarked(this);
338 m_checkpointSum += count;
339 EndState();
340
341 m_numReachedCheckpoint++;
342 while (!checkpointReached())
343 pumpNetwork();
344 return m_checkpointSum;
345}
346
347/** Perform a single round of trimming at the specified length. */
348size_t NetworkSequenceCollection::controlTrimRound(unsigned trimLen)

Callers

nothing calls this directly

Calls 3

removeMarkedFunction · 0.85
barrierMethod · 0.80
sendControlMessageMethod · 0.45

Tested by

no test coverage detected