### Question:
BigWigManager { public double[] query(Region region) throws IOException { BigWigIterator bigWigIterator = iterator(region); double[] values = new double[region.getEnd() - region.getStart() + 1]; while (bigWigIterator.hasNext()) { WigItem wigItem = bigWigIterator.next(); for (int i = wigItem.getStartBase(), j = wigItem.getStartBase() - region.getStart(); i <= region.getEnd(); i++, j++) { values[j] = wigItem.getWigValue(); } } return values; } BigWigManager(Path bigwigPath); @Deprecated  BigWigManager(Path bigwigPath, Path indexPath); double[] query(Region region); BigWigIterator iterator(Region region); ZoomLevelIterator iterator(Region region, int zoomLevel); double[] groupBy(Region region, int windowSize); List<Integer> getZoomWindowSizes(); BBFileReader getBbFileReader(); @Deprecated
    static final String BIGWIG_DB; }### Answer:
@Test public void query1() throws Exception { Path bwPath = Paths.get(getClass().getResource("/wigVarStepExampleSmallChr21.bw").toURI()); query(bwPath, "chr21", 9411190, 9411200, true); }