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

Method intervalOverlapSize

src/rnabloom/RNABloom.java:1782–1787  ·  view source on GitHub ↗
(int[] x, int[] y)

Source from the content-addressed store, hash-verified

1780 }
1781
1782 private static int intervalOverlapSize(int[] x, int[] y) {
1783 int start = Math.max(x[0], y[0]);
1784 int end = Math.min(x[1], y[1]);
1785
1786 return Math.max(0, end-start);
1787 }
1788
1789 private class TranscriptAssemblyWorker implements Runnable {
1790 private TranscriptWriter writer;

Callers 1

runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected