Coverage for src/python/ensembl/vep/workflow/tracks/consequence/regulatory.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"""The regulatory consequence annotation track. 

15 

16A placeholder: ``RegulatoryOverlapFinder`` and the ``Regulatory`` model exist, but there is no 

17regulatory source, no annotator producing regulatory consequences, and no option asking for them, 

18so no run configures this track yet. 

19""" 

20 

21from __future__ import annotations 

22 

23from typing import Any 

24 

25from ensembl.vep.config import Config 

26from ensembl.vep.workflow.tracks.base import AnnotationTrack, TrackResources 

27from ensembl.vep.workflow.tracks.registry import register_track 

28 

29__all__ = ["build_regulatory_tracks"] 

30 

31 

32@register_track("consequence.regulatory") 

33def build_regulatory_tracks( 

34 config: Config, 

35 resources: TrackResources, 

36) -> tuple[AnnotationTrack[Any], ...]: 

37 """Build no tracks: nothing configures regulatory consequences yet.""" 

38 del config, resources 

39 return ()