openvariant.annotation package#
Submodules#
openvariant.annotation.annotation module#
Annotation#
A core class to represent the schema which files will be parsed.
- class openvariant.annotation.annotation.Annotation(annotation_path: str)[source]#
Bases:
objectA representation of the schema that files will be parsed
- property annotations: dict#
annotation that will cover Annotation object
- Type
dict
- property columns: List#
columns that will appear on parsed output files
- Type
List
- property delimiter: str#
delimiter that annotation will read on files
- Type
str
- property excludes: dict#
values that will be excluded after the parsing
- Type
List
- property format: str#
output format that will have parsed files
- Type
str
- property path: str#
path where annotation file is located
- Type
str
- property patterns: List[str]#
files patterns that annotation will match
- Type
List[str]
- property structure: dict#
general structure of Annotation schema
- Type
dict
openvariant.annotation.builder module#
Builder#
A core Enum to build a specified Tuple for each annotation.