Update omim.py
Browse files
omim.py
CHANGED
|
@@ -8,17 +8,25 @@ from typing import Dict, Any
|
|
| 8 |
class VepOmimConfig(BuilderConfig):
|
| 9 |
def __init__(self, sequence_length=2048, fasta_path=None, **kwargs):
|
| 10 |
super().__init__(**kwargs)
|
| 11 |
-
self.
|
| 12 |
-
self.
|
| 13 |
-
|
| 14 |
@property
|
| 15 |
def sequence_length(self):
|
| 16 |
return self._sequence_length
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
@property
|
| 19 |
def fasta_path(self):
|
| 20 |
return self._fasta_path
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
class VepOmimSplit(GeneratorBasedBuilder):
|
| 23 |
BUILDER_CONFIG_CLASS = VepOmimConfig
|
| 24 |
BUILDER_CONFIGS = [
|
|
|
|
| 8 |
class VepOmimConfig(BuilderConfig):
|
| 9 |
def __init__(self, sequence_length=2048, fasta_path=None, **kwargs):
|
| 10 |
super().__init__(**kwargs)
|
| 11 |
+
self.sequence_length = sequence_length
|
| 12 |
+
self.fasta_path = fasta_path
|
| 13 |
+
|
| 14 |
@property
|
| 15 |
def sequence_length(self):
|
| 16 |
return self._sequence_length
|
| 17 |
+
|
| 18 |
+
@sequence_length.setter
|
| 19 |
+
def sequence_length(self, value):
|
| 20 |
+
self._sequence_length = value
|
| 21 |
+
|
| 22 |
@property
|
| 23 |
def fasta_path(self):
|
| 24 |
return self._fasta_path
|
| 25 |
|
| 26 |
+
@fasta_path.setter
|
| 27 |
+
def fasta_path(self, value):
|
| 28 |
+
self._fasta_path = value
|
| 29 |
+
|
| 30 |
class VepOmimSplit(GeneratorBasedBuilder):
|
| 31 |
BUILDER_CONFIG_CLASS = VepOmimConfig
|
| 32 |
BUILDER_CONFIGS = [
|