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

Function storeContigGraph

RResolver/Contigs.cpp:129–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void
130storeContigGraph(
131 const std::string& contigGraphPath,
132 const std::string& program,
133 const std::string& commandLine)
134{
135 if (opt::verbose) {
136 std::cerr << "Storing contig graph to `" << contigGraphPath << "'...\n";
137 }
138 std::ofstream fout(contigGraphPath.c_str());
139 assert_good(fout, contigGraphPath);
140 write_graph(fout, g_contigGraph, program, commandLine);
141 assert_good(fout, contigGraphPath);
142 if (opt::verbose) {
143 std::cerr << "Contig graph stored.\n";
144 }
145}
146
147void
148storeContigs(const std::string& contigsPath)

Callers 1

writeResultsFunction · 0.85

Calls 3

assert_goodFunction · 0.85
write_graphFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected