Coverage for src/python/ensembl/vep/caches/__init__.py: 100%

10 statements  

« prev     ^ index     » next       coverage.py v7.17.2, created at 2026-11-18 14:41 +0000

1# See the NOTICE file distributed with this work for additional information 

2# regarding copyright ownership. 

3# 

4# Licensed under the Apache License, Version 2.0 (the "License"); 

5# you may not use this file except in compliance with the License. 

6# You may obtain a copy of the License at 

7# http://www.apache.org/licenses/LICENSE-2.0 

8# 

9# Unless required by applicable law or agreed to in writing, software 

10# distributed under the License is distributed on an "AS IS" BASIS, 

11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 

12# See the License for the specific language governing permissions and 

13# limitations under the License. 

14"""Cache implementations.""" 

15 

16from __future__ import annotations 

17 

18from .binned_cache import BinnedCache, BinnedFeatureCache 

19from .codon_cache import ( 

20 CodonCache, 

21 CodonEdit, 

22 CodonEditKey, 

23 CodonEditLRUCache, 

24 CodonEditLoader, 

25) 

26from .feature_pool import ( 

27 DEFAULT_TRANSCRIPT_POOL_BYTES, 

28 FeatureKey, 

29 FeaturePool, 

30 TranscriptKey, 

31 TranscriptPool, 

32) 

33from .interval_tree import ( 

34 FeatureIntervalTreeCache, 

35 Interval, 

36 IntervalTree, 

37 IntervalTreeCache, 

38 IntervalTreeKey, 

39) 

40from .mapper_cache import MapperIndexCache, MapperIndexLRUCache, MapperIndexLoader 

41from .sequence_cache import SequenceBinnedLRUCache, SequenceCache 

42from .slice_cache import SliceCache, SliceKey, WeakSliceCache 

43from .zone_map import SERVED_FACT_NAMES, ZoneMap, ZoneMapCache 

44 

45__all__ = [ 

46 "BinnedCache", 

47 "BinnedFeatureCache", 

48 "CodonCache", 

49 "CodonEdit", 

50 "CodonEditKey", 

51 "CodonEditLRUCache", 

52 "CodonEditLoader", 

53 "DEFAULT_TRANSCRIPT_POOL_BYTES", 

54 "FeatureIntervalTreeCache", 

55 "FeatureKey", 

56 "FeaturePool", 

57 "Interval", 

58 "IntervalTree", 

59 "IntervalTreeCache", 

60 "IntervalTreeKey", 

61 "MapperIndexCache", 

62 "MapperIndexLRUCache", 

63 "MapperIndexLoader", 

64 "SequenceCache", 

65 "SequenceBinnedLRUCache", 

66 "SERVED_FACT_NAMES", 

67 "TranscriptKey", 

68 "TranscriptPool", 

69 "ZoneMap", 

70 "ZoneMapCache", 

71 "SliceCache", 

72 "SliceKey", 

73 "WeakSliceCache", 

74]