public PredictionReader(Stream stream, IDictionary <ushort, IChromosome> refIndexToChromosome, IntermediateIoCommon.FileType expectedFileType) { _refIndexToChromosome = refIndexToChromosome; _reader = FileUtilities.GetStreamReader(stream); IntermediateIoCommon.ReadHeader(_reader, expectedFileType); }
internal RegulatoryRegionReader(Stream stream, IDictionary <ushort, IChromosome> refIndexToChromosome) { _refIndexToChromosome = refIndexToChromosome; _reader = FileUtilities.GetStreamReader(stream); IntermediateIoCommon.ReadHeader(_reader, IntermediateIoCommon.FileType.Regulatory); }
internal MutableTranscriptReader(Stream stream, IDictionary <ushort, IChromosome> refIndexToChromosome) { _refIndexToChromosome = refIndexToChromosome; _reader = FileUtilities.GetStreamReader(stream); Header = IntermediateIoCommon.ReadHeader(_reader, IntermediateIoCommon.FileType.Transcript); }
internal GenbankReader(Stream stream) { _reader = FileUtilities.GetStreamReader(stream); IntermediateIoCommon.ReadHeader(_reader, IntermediateIoCommon.FileType.Genbank); }
internal GenbankReader(Stream stream) { _reader = new StreamReader(stream); IntermediateIoCommon.ReadHeader(_reader, IntermediateIoCommon.FileType.Genbank); }