Esempio n. 1
0
 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);
 }
Esempio n. 3
0
 internal MutableTranscriptReader(Stream stream, IDictionary <ushort, IChromosome> refIndexToChromosome)
 {
     _refIndexToChromosome = refIndexToChromosome;
     _reader = FileUtilities.GetStreamReader(stream);
     Header  = IntermediateIoCommon.ReadHeader(_reader, IntermediateIoCommon.FileType.Transcript);
 }
Esempio n. 4
0
 internal GenbankReader(Stream stream)
 {
     _reader = FileUtilities.GetStreamReader(stream);
     IntermediateIoCommon.ReadHeader(_reader, IntermediateIoCommon.FileType.Genbank);
 }
Esempio n. 5
0
 internal GenbankReader(Stream stream)
 {
     _reader = new StreamReader(stream);
     IntermediateIoCommon.ReadHeader(_reader, IntermediateIoCommon.FileType.Genbank);
 }