Coverage for src/python/ensembl/vep/workflow/tracks/colocated.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"""Co-located variant tracks. 

15 

16A placeholder: ``ColocatedVariantOverlapFinder`` exists, but there is no known-variant source to 

17read and no option asking for one, so no run configures this track yet. 

18""" 

19 

20from __future__ import annotations 

21 

22from typing import Any 

23 

24from ensembl.vep.config import Config 

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

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

27 

28__all__ = ["build_colocated_tracks"] 

29 

30 

31@register_track("colocated") 

32def build_colocated_tracks( 

33 config: Config, 

34 resources: TrackResources, 

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

36 """Build no tracks: nothing configures co-located variants yet.""" 

37 del config, resources 

38 return ()