diff --git a/package.json b/package.json index 82391b9..a2a3483 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "genomic-reader", - "version": "1.4.0", + "version": "1.4.1", "main": "dist/index.js", "types": "dist/index.d.ts", "license": "MIT", diff --git a/resources/static/testbb-broadpeak.bigBed b/resources/static/testbb-broadpeak.bigbed similarity index 100% rename from resources/static/testbb-broadpeak.bigBed rename to resources/static/testbb-broadpeak.bigbed diff --git a/resources/static/testbb-narrowpeak.bigBed b/resources/static/testbb-narrowpeak.bigbed similarity index 100% rename from resources/static/testbb-narrowpeak.bigBed rename to resources/static/testbb-narrowpeak.bigbed diff --git a/test/BigWigReader.test.ts b/test/BigWigReader.test.ts index 8781e33..bb46aba 100644 --- a/test/BigWigReader.test.ts +++ b/test/BigWigReader.test.ts @@ -7,14 +7,13 @@ import { streamToArray } from "./testUtils"; const testBWFilename = "testbw.bigwig"; const testBWFixedStepName = "test.fixedstep.bigwig"; const testBBFilename = "testbb.bigbed"; -const testBBNarrowPeakFilename = "testbb-narrowpeak.bigBed"; +const testBBNarrowPeakFilename = "testbb-narrowpeak.bigbed"; const testBBBroadPeakFilename = "testbb-broadpeak.bigbed"; const testBBMethylFilename = "testbb-methyl.bigbed"; const testBBIdrPeakFilename = "testbb-idrpeak.bigbed"; const testBBTssFilename = "testbb-tss.bigbed"; const testLargeBWFilename = "testbw-large.bigwig"; - describe("BigWigReader", () => { it("should get header", async () => { const loader = new AxiosDataLoader(`http://localhost:8001/${testBWFilename}`, Axios.create()); @@ -29,7 +28,6 @@ describe("BigWigReader", () => { const loader = new AxiosDataLoader(`http://localhost:8001/${testBWFilename}`, Axios.create()); const reader = new BigWigReader(loader); const data = await reader.readBigWigData("chr14", 19_485_000, "chr14", 20_000_100); - expect(data.length).toBe(83); expect(data[0]).toEqual({ chr: "chr14", @@ -127,7 +125,6 @@ describe("BigWigReader", () => { expect(data[0].exons![0].end).toBe(9_928_911); }); - it("should read unzoomed narrow peak bigbed data", async () => { const loader = new AxiosDataLoader(`http://localhost:8001/${testBBNarrowPeakFilename}`, Axios.create()); const reader = new BigWigReader(loader);