ReferenceSequenceFile referenceSequenceFile) throws IOException {
this.is = is;
this.referenceSequenceFile = referenceSequenceFile;
cramHeader = ReadWrite.readCramHeader(is);
records = new ArrayList<SAMRecord>(100000);
normalizer = new CramNormalizer(cramHeader.samFileHeader);
}