Esempio n. 1
0
 public PianoAnnotationProvider(string pathPrefix, ISequenceProvider sequenceProvider)
 {
     Name               = "Transcript annotation provider";
     _sequence          = sequenceProvider.Sequence;
     _transcriptCache   = InitiateCache(FileUtilities.GetReadStream(CacheConstants.TranscriptPath(pathPrefix)), sequenceProvider.GetChromosomeIndexDictionary(), sequenceProvider.GenomeAssembly, sequenceProvider.NumRefSeqs);
     GenomeAssembly     = _transcriptCache.GenomeAssembly;
     DataSourceVersions = _transcriptCache.DataSourceVersions;
 }
Esempio n. 2
0
        public TranscriptCacheTests()
        {
            _expectedDataSourceVersions = GetDataSourceVersions();
            var transcriptIntervalArrays       = GetTranscripts().ToIntervalArrays(11);
            var regulatoryRegionIntervalArrays = GetRegulatoryRegions().ToIntervalArrays(11);

            _cache = new TranscriptCache(_expectedDataSourceVersions, ExpectedGenomeAssembly, transcriptIntervalArrays,
                                         regulatoryRegionIntervalArrays);
        }