Skip to content

Commit

Permalink
path class
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewprzh committed Sep 10, 2012
1 parent e1127ba commit e99c16a
Show file tree
Hide file tree
Showing 7 changed files with 721 additions and 303 deletions.
8 changes: 8 additions & 0 deletions assembler/src/debruijn/long_contigs/lc_common.hpp
Expand Up @@ -313,6 +313,8 @@ void PrintPathLengthStats(const Graph& g, std::vector<BidirectionalPath>& paths)
}
}



//Prints coverage of all edges by given paths and total edge coverage
double PrintPathCoverage(const Graph& g, std::vector<BidirectionalPath>& paths) {
std::multiset<EdgeId> covered;
Expand All @@ -323,6 +325,12 @@ double PrintPathCoverage(const Graph& g, std::vector<BidirectionalPath>& paths)
}
}

DEBUG("EDGE STAT")
for (auto iter = covered.begin(); iter != covered.end(); ++iter) {
DEBUG(g.int_id(*iter) << " (" << g.length(*iter) << ") = " << covered.count(*iter));

}

std::map<size_t, size_t> coveredTimes;
size_t edgeCount = 0;
for (auto iter = g.SmartEdgeBegin(); !iter.IsEnd(); ++iter) {
Expand Down
197 changes: 0 additions & 197 deletions assembler/src/debruijn/long_contigs/new/bidirectional_path.cpp

This file was deleted.

103 changes: 0 additions & 103 deletions assembler/src/debruijn/long_contigs/new/bidirectional_path.h

This file was deleted.

0 comments on commit e99c16a

Please sign in to comment.