MCPcopy Create free account
hub / github.com/BirolLab/RNA-Bloom / writeGraph

Method writeGraph

src/rnabloom/olc/Layout.java:2767–2774  ·  view source on GitHub ↗
(String path)

Source from the content-addressed store, hash-verified

2765 }
2766
2767 private void writeGraph(String path) throws IOException {
2768 Writer writer = getTextFileWriter(path, false);
2769 for (OverlapEdge e : graph.edgeSet()) {
2770 writer.write(graph.getEdgeSource(e) + " -> " + graph.getEdgeTarget(e) +
2771 " [o=" + (e.sinkEnd-e.sinkStart + e.sourceEnd-e.sourceStart)/2 + "]\n");
2772 }
2773 writer.close();
2774 }
2775
2776 private class TargetOverlapComparator implements Comparator<Overlap> {
2777 @Override

Callers 2

extractSimplePathsMethod · 0.95
extractGreedyPathsMethod · 0.95

Calls 3

getTextFileWriterMethod · 0.80
closeMethod · 0.65
writeMethod · 0.45

Tested by

no test coverage detected