Remove marked k-mer. * @return the number of k-mer removed */
| 328 | * @return the number of k-mer removed |
| 329 | */ |
| 330 | size_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. */ |
| 348 | size_t NetworkSequenceCollection::controlTrimRound(unsigned trimLen) |
nothing calls this directly
no test coverage detected