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

Function openBubbleFile

Assembly/BubbleAlgorithm.h:27–42  ·  view source on GitHub ↗

Open the bubble file. */

Source from the content-addressed store, hash-verified

25
26/** Open the bubble file. */
27static inline
28void openBubbleFile(std::ofstream& out)
29{
30 if (opt::snpPath.empty())
31 return;
32 std::string path;
33 if (opt::rank < 0) {
34 path = opt::snpPath;
35 } else {
36 std::ostringstream s;
37 s << "snp-" << opt::rank << ".fa";
38 path = s.str();
39 }
40 out.open(path.c_str());
41 assert_good(out, path);
42}
43
44/** Pop bubbles. */
45static inline

Callers 3

runMethod · 0.85
runControlMethod · 0.85
popBubblesFunction · 0.85

Calls 4

assert_goodFunction · 0.85
emptyMethod · 0.45
strMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected