@gmod/bbi
Version:
Parser for BigWig/BigBed files
20 lines (19 loc) • 463 B
TypeScript
/**
* Adapted from a combination of Range and _Compound in the
* Dalliance Genome Explorer, (c) Thomas Down 2006-2010.
*/
export interface IRange {
min: number;
max: number;
}
export default class Range {
ranges: IRange[];
constructor(arg1: IRange[]);
get min(): number;
get max(): number;
contains(pos: number): boolean;
isContiguous(): boolean;
getRanges(): Range[];
toString(): string;
union(s1: Range): Range;
}