biofiles 0.0.11__py3-none-any.whl → 0.0.12__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/types/alignment.py +9 -1
- biofiles/utility/feature.py +1 -1
- {biofiles-0.0.11.dist-info → biofiles-0.0.12.dist-info}/METADATA +3 -2
- {biofiles-0.0.11.dist-info → biofiles-0.0.12.dist-info}/RECORD +7 -7
- {biofiles-0.0.11.dist-info → biofiles-0.0.12.dist-info}/WHEEL +1 -1
- {biofiles-0.0.11.dist-info → biofiles-0.0.12.dist-info/licenses}/LICENSE +0 -0
- {biofiles-0.0.11.dist-info → biofiles-0.0.12.dist-info}/top_level.txt +0 -0
biofiles/types/alignment.py
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
from dataclasses import dataclass
|
2
2
|
|
3
3
|
|
4
|
-
__all__ = [
|
4
|
+
__all__ = [
|
5
|
+
"Alignment",
|
6
|
+
"BAMFlag",
|
7
|
+
"BAMTag",
|
8
|
+
"CIGAR",
|
9
|
+
"CIGAROpKind",
|
10
|
+
"CIGAROperation",
|
11
|
+
"ReferenceSequence",
|
12
|
+
]
|
5
13
|
|
6
14
|
from enum import IntFlag
|
7
15
|
|
biofiles/utility/feature.py
CHANGED
@@ -183,7 +183,7 @@ class FeatureReader(Reader):
|
|
183
183
|
|
184
184
|
def _finalize_other(self, draft: FeatureDraft, result: Features) -> Feature:
|
185
185
|
parent_id = self._extract_parent_id(draft)
|
186
|
-
parent = result.by_id
|
186
|
+
parent = result.by_id.get(parent_id) if parent_id is not None else None
|
187
187
|
|
188
188
|
return Feature(
|
189
189
|
sequence_id=draft.sequence_id,
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: biofiles
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.12
|
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>
|
@@ -36,6 +36,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
36
36
|
Requires-Python: >=3.10
|
37
37
|
Description-Content-Type: text/markdown
|
38
38
|
License-File: LICENSE
|
39
|
+
Dynamic: license-file
|
39
40
|
|
40
41
|
# biofiles
|
41
42
|
|
@@ -7,15 +7,15 @@ biofiles/gff.py,sha256=b3apOmJNoiy_qQHtyUSnNh0s999B6gyAODyjI7fN15g,6246
|
|
7
7
|
biofiles/gtf.py,sha256=h_eFKnYWb8GQp-CX9EPZRodUba-bzQLGidGHOPUo4iM,2366
|
8
8
|
biofiles/repeatmasker.py,sha256=txOYdw15ru88pUczsk0pDFzgGpplLu23CB8Ppz-MczY,3119
|
9
9
|
biofiles/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
|
-
biofiles/types/alignment.py,sha256=
|
10
|
+
biofiles/types/alignment.py,sha256=Kc0XteLyfj1gNJNLsUgzSKzAAoMobhkJyPFsovaU7dM,1696
|
11
11
|
biofiles/types/feature.py,sha256=3Ar45WRgiaDSh5iQt24Emtk6_57G01q5nHJ1GNIJ19Y,1190
|
12
12
|
biofiles/types/repeat.py,sha256=63SqzAwEGIDIGP9pxC85RUdwXbbSm0S5WNL3lSiWlmc,641
|
13
13
|
biofiles/types/sequence.py,sha256=XeJ3wgi8AwRaVYVKmf41y5mOmWQfdsS8ysaRLZWbNoQ,254
|
14
14
|
biofiles/utility/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
15
15
|
biofiles/utility/cli.py,sha256=bkUzmT5R4qdJ0YtA4LNU5JYpimD1HmZlHtoSaKzDsUc,4032
|
16
|
-
biofiles/utility/feature.py,sha256=
|
17
|
-
biofiles-0.0.
|
18
|
-
biofiles-0.0.
|
19
|
-
biofiles-0.0.
|
20
|
-
biofiles-0.0.
|
21
|
-
biofiles-0.0.
|
16
|
+
biofiles/utility/feature.py,sha256=5sKCbKrZndBuO-_DZBuaXJc_URKTY8NMToJ786lALZA,8072
|
17
|
+
biofiles-0.0.12.dist-info/licenses/LICENSE,sha256=CbR8ssdFyViKj25JAlMjIt1_FbiZ1tAC5t-uwUbxqak,1070
|
18
|
+
biofiles-0.0.12.dist-info/METADATA,sha256=8CRRV3Yr1Yp5APxIcRS-qv7EN1oCGcWjvjEXbi5A4hY,3056
|
19
|
+
biofiles-0.0.12.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
20
|
+
biofiles-0.0.12.dist-info/top_level.txt,sha256=laFaFv8hpkI4U-Pgs0yBaAJXN2_CJKl7jb-m3-tGfSc,9
|
21
|
+
biofiles-0.0.12.dist-info/RECORD,,
|
File without changes
|
File without changes
|