void processVertex(Vertex *v) { prepareVertex(v); int maxLen=200000000; if(v->getOutEdges().size()!=0) { maxLen=v->getOutEdges()[v->getOutEdges().size()-1]->length()+FUZZ; //take the longest edge+FUZZ } removeTransitiveEdges(v, maxLen); removeShortEdges(v); markEliminatedEdgesAndReset(v); }
void Unitigging::start() { removeContainmentEdges(); removeTransitiveEdges(); makeContigs(no_transitives_, reads_); }