Skip to content

Instantly share code, notes, and snippets.

Avatar

Phil zoldello

View GitHub Profile
View gist:ac29a20bcf60134c321830ed6d80b120
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,