biofiles 0.0.13__py3-none-any.whl → 0.0.14__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- biofiles/repeatmasker.py +5 -1
- {biofiles-0.0.13.dist-info → biofiles-0.0.14.dist-info}/METADATA +1 -1
- {biofiles-0.0.13.dist-info → biofiles-0.0.14.dist-info}/RECORD +6 -6
- {biofiles-0.0.13.dist-info → biofiles-0.0.14.dist-info}/WHEEL +0 -0
- {biofiles-0.0.13.dist-info → biofiles-0.0.14.dist-info}/licenses/LICENSE +0 -0
- {biofiles-0.0.13.dist-info → biofiles-0.0.14.dist-info}/top_level.txt +0 -0
biofiles/repeatmasker.py
CHANGED
@@ -11,11 +11,15 @@ __all__ = ["RepeatMaskerReader"]
|
|
11
11
|
|
12
12
|
class RepeatMaskerReader(Reader):
|
13
13
|
def __iter__(self) -> Iterator[Repeat]:
|
14
|
+
has_passed_header = False
|
14
15
|
for line in self._input:
|
15
|
-
parts = line.split(
|
16
|
+
parts = line.split()
|
16
17
|
if not (14 <= len(parts) <= 15):
|
17
18
|
# Probably some metainfo. No way to tell.
|
18
19
|
continue
|
20
|
+
if not has_passed_header and ("SW" in parts or "score" in parts):
|
21
|
+
continue
|
22
|
+
has_passed_header = True
|
19
23
|
|
20
24
|
(
|
21
25
|
sw_score_str,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: biofiles
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.14
|
4
4
|
Summary: Pure-Python, zero-dependency collection of bioinformatics-related file readers and writers
|
5
5
|
Author-email: Tigran Saluev <tigran@saluev.com>
|
6
6
|
Maintainer-email: Tigran Saluev <tigran@saluev.com>
|
@@ -5,7 +5,7 @@ biofiles/fai.py,sha256=gG2oDmaU7PIIYYBc8LiudaeKdo-6WIdwsMDIM7qi098,678
|
|
5
5
|
biofiles/fasta.py,sha256=ctIt5I_fcZx-xQN921zpmlZS7e9_ICf-3_i6mTs5qbs,2135
|
6
6
|
biofiles/gff.py,sha256=b3apOmJNoiy_qQHtyUSnNh0s999B6gyAODyjI7fN15g,6246
|
7
7
|
biofiles/gtf.py,sha256=jDQmQ3LB1iNxCCYExScJ6ivQM49TrRO7IPDfUe8VK3Y,2611
|
8
|
-
biofiles/repeatmasker.py,sha256=
|
8
|
+
biofiles/repeatmasker.py,sha256=7KObXELCHQ6oBkO8yK6Znrs6MX8sfVuxNSmOMe0Ogfk,3289
|
9
9
|
biofiles/dialects/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
10
|
biofiles/dialects/havana_ensembl.py,sha256=7I97U3UUiFoSOTOR0_orw5eBjCit5FyViosRZqb6AcQ,3379
|
11
11
|
biofiles/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -18,8 +18,8 @@ biofiles/utility/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
|
|
18
18
|
biofiles/utility/cli.py,sha256=bkUzmT5R4qdJ0YtA4LNU5JYpimD1HmZlHtoSaKzDsUc,4032
|
19
19
|
biofiles/utility/feature.py,sha256=O7KV3uI9JtUJWZNrOZ3XfVapwmEmRHm9li4XlpqtlMs,8865
|
20
20
|
biofiles/utility/feature_v2.py,sha256=ByhUCkG45d_wra8W5vz-8CMnNYMCHzNglFMMEhMKoWk,5440
|
21
|
-
biofiles-0.0.
|
22
|
-
biofiles-0.0.
|
23
|
-
biofiles-0.0.
|
24
|
-
biofiles-0.0.
|
25
|
-
biofiles-0.0.
|
21
|
+
biofiles-0.0.14.dist-info/licenses/LICENSE,sha256=CbR8ssdFyViKj25JAlMjIt1_FbiZ1tAC5t-uwUbxqak,1070
|
22
|
+
biofiles-0.0.14.dist-info/METADATA,sha256=DaOVBrpMhK_bKgBEU1uTjjUu6QJS7Zfx8mV4gYL2MLM,3056
|
23
|
+
biofiles-0.0.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
24
|
+
biofiles-0.0.14.dist-info/top_level.txt,sha256=laFaFv8hpkI4U-Pgs0yBaAJXN2_CJKl7jb-m3-tGfSc,9
|
25
|
+
biofiles-0.0.14.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|