Skip to content

Instantly share code, notes, and snippets.

View zoldello's full-sized avatar

Phil zoldello

View GitHub Profile
@zoldello
zoldello / gist:ac29a20bcf60134c321830ed6d80b120
Created October 8, 2020 17:26
Approach 1: Begins at line 298
import { DataLoader, BufferedDataLoader, DataMissingError, FileFormatError } from "../loader/DataLoader";
import { BinaryParser } from "../util/BinaryParser";
import { loadHeaderData, HeaderData, FileType } from "./BigWigHeaderReader";
import { loadSequenceRecord, loadSequence, SequenceRecord, streamSequence } from "./TwoBitHeaderReader";
import { inflate } from "pako";
import { Stream, Readable, Writable, Duplex } from "stream";
import { start } from "repl";
export interface BigWigData {
chr: string,