bio2zarr 0.1.2__tar.gz → 0.1.4__tar.gz
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.
Potentially problematic release.
This version of bio2zarr might be problematic. Click here for more details.
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/.github/workflows/ci.yml +2 -2
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/CHANGELOG.md +11 -1
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/PKG-INFO +1 -1
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr/_version.py +9 -4
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr/vcf2zarr/icf.py +13 -4
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr/zarr_utils.py +1 -2
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr.egg-info/PKG-INFO +1 -1
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/docs/_config.yml +8 -2
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/.github/workflows/cd.yml +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/.github/workflows/docs.yml +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/.gitignore +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/.pre-commit-config.yaml +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/LICENSE +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/MANIFEST.in +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/README.md +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr/__init__.py +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr/__main__.py +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr/cli.py +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr/constants.py +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr/core.py +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr/plink.py +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr/provenance.py +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr/typing.py +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr/vcf2zarr/__init__.py +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr/vcf2zarr/vcz.py +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr/vcf2zarr/verification.py +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr/vcf_utils.py +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr.egg-info/SOURCES.txt +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr.egg-info/dependency_links.txt +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr.egg-info/entry_points.txt +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr.egg-info/requires.txt +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/bio2zarr.egg-info/top_level.txt +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/docs/Makefile +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/docs/_static/asciinema-player.css +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/docs/_static/asciinema-player.min.js +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/docs/_static/custom.css +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/docs/_toc.yml +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/docs/build.sh +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/docs/cast_scripts/vcf2zarr_convert.sh +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/docs/cast_scripts/vcf2zarr_explode.sh +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/docs/installation.md +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/docs/intro.md +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/docs/logo.png +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/docs/requirements.txt +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/docs/vcf2zarr/cli_ref.md +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/docs/vcf2zarr/overview.md +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/docs/vcf2zarr/tutorial.md +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/docs/vcfpartition/cli_ref.md +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/docs/vcfpartition/overview.md +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/pyproject.toml +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/setup.cfg +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/validation-data/Makefile +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/validation-data/split.sh +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/validation.py +0 -0
- {bio2zarr-0.1.2 → bio2zarr-0.1.4}/vcf_generator.py +0 -0
|
@@ -138,7 +138,7 @@ jobs:
|
|
|
138
138
|
runs-on: ubuntu-latest
|
|
139
139
|
strategy:
|
|
140
140
|
matrix:
|
|
141
|
-
zarr: ["==2.18.3", ">=3"]
|
|
141
|
+
zarr: ["==2.18.3", ">=3.0.3"]
|
|
142
142
|
steps:
|
|
143
143
|
- uses: actions/checkout@v4
|
|
144
144
|
- uses: actions/setup-python@v5
|
|
@@ -153,4 +153,4 @@ jobs:
|
|
|
153
153
|
python -m pip install 'zarr${{ matrix.zarr }}'
|
|
154
154
|
- name: Run tests
|
|
155
155
|
run: |
|
|
156
|
-
python -m pytest
|
|
156
|
+
python -m pytest
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
# 0.1.4 2025-03-10
|
|
2
|
+
|
|
3
|
+
- Fix bug in handling all-missing genotypes (#328)
|
|
4
|
+
|
|
5
|
+
# 0.1.3 2025-03-04
|
|
6
|
+
|
|
7
|
+
- Fix missing dependency issue for packaging
|
|
8
|
+
|
|
9
|
+
- Support out-of-order field definitions in the VCF header (#322, @ACEnglish)
|
|
10
|
+
|
|
1
11
|
# 0.1.2 2025-02-04
|
|
2
12
|
|
|
3
13
|
- Reduce memory requirement for encoding genotypes with large sample sizes
|
|
@@ -20,7 +30,7 @@ Breaking changes
|
|
|
20
30
|
|
|
21
31
|
Maintenance release:
|
|
22
32
|
|
|
23
|
-
- Pin numpy to < 2
|
|
33
|
+
- Pin numpy to < 2
|
|
24
34
|
- Pin Zarr to < 3
|
|
25
35
|
|
|
26
36
|
# 0.1.0 2024-06-10
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
# file generated by
|
|
1
|
+
# file generated by setuptools-scm
|
|
2
2
|
# don't change, don't track in version control
|
|
3
|
+
|
|
4
|
+
__all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
|
|
5
|
+
|
|
3
6
|
TYPE_CHECKING = False
|
|
4
7
|
if TYPE_CHECKING:
|
|
5
|
-
from typing import Tuple
|
|
8
|
+
from typing import Tuple
|
|
9
|
+
from typing import Union
|
|
10
|
+
|
|
6
11
|
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
7
12
|
else:
|
|
8
13
|
VERSION_TUPLE = object
|
|
@@ -12,5 +17,5 @@ __version__: str
|
|
|
12
17
|
__version_tuple__: VERSION_TUPLE
|
|
13
18
|
version_tuple: VERSION_TUPLE
|
|
14
19
|
|
|
15
|
-
__version__ = version = '0.1.
|
|
16
|
-
__version_tuple__ = version_tuple = (0, 1,
|
|
20
|
+
__version__ = version = '0.1.4'
|
|
21
|
+
__version_tuple__ = version_tuple = (0, 1, 4)
|
|
@@ -41,7 +41,7 @@ class VcfFieldSummary(core.JsonDataclass):
|
|
|
41
41
|
return VcfFieldSummary(**d)
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
@dataclasses.dataclass
|
|
44
|
+
@dataclasses.dataclass(order=True)
|
|
45
45
|
class VcfField:
|
|
46
46
|
category: str
|
|
47
47
|
name: str
|
|
@@ -192,6 +192,16 @@ class IcfMetadata(core.JsonDataclass):
|
|
|
192
192
|
d["contigs"] = [Contig(**cd) for cd in d["contigs"]]
|
|
193
193
|
return IcfMetadata(**d)
|
|
194
194
|
|
|
195
|
+
def __eq__(self, other):
|
|
196
|
+
if not isinstance(other, IcfMetadata):
|
|
197
|
+
return NotImplemented
|
|
198
|
+
return (
|
|
199
|
+
self.samples == other.samples
|
|
200
|
+
and self.contigs == other.contigs
|
|
201
|
+
and self.filters == other.filters
|
|
202
|
+
and sorted(self.fields) == sorted(other.fields)
|
|
203
|
+
)
|
|
204
|
+
|
|
195
205
|
|
|
196
206
|
def fixed_vcf_field_definitions():
|
|
197
207
|
def make_field_def(name, vcf_type, vcf_number):
|
|
@@ -1085,9 +1095,8 @@ class IntermediateColumnarFormatWriter:
|
|
|
1085
1095
|
for field in info_fields:
|
|
1086
1096
|
tcw.append(field.full_name, variant.INFO.get(field.name, None))
|
|
1087
1097
|
if has_gt:
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
else:
|
|
1098
|
+
val = None
|
|
1099
|
+
if "GT" in variant.FORMAT and variant.genotype is not None:
|
|
1091
1100
|
val = variant.genotype.array()
|
|
1092
1101
|
tcw.append("FORMAT/GT", val)
|
|
1093
1102
|
for field in format_fields:
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
# Learn more at https://jupyterbook.org/customize/config.html
|
|
3
3
|
|
|
4
4
|
title: bio2zarr Documentation
|
|
5
|
-
author: sgkit developers
|
|
5
|
+
author: the sgkit developers
|
|
6
6
|
logo: logo.png
|
|
7
|
-
copyright: "2024"
|
|
8
7
|
|
|
9
8
|
# Force re-execution of notebooks on each build.
|
|
10
9
|
# See https://jupyterbook.org/content/execute.html
|
|
@@ -22,12 +21,19 @@ repository:
|
|
|
22
21
|
html:
|
|
23
22
|
use_issues_button: true
|
|
24
23
|
use_repository_button: true
|
|
24
|
+
extra_footer: |
|
|
25
|
+
<p>
|
|
26
|
+
Documentation available under the terms of the
|
|
27
|
+
<a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0 1.0</a>
|
|
28
|
+
license.
|
|
29
|
+
</p>
|
|
25
30
|
|
|
26
31
|
sphinx:
|
|
27
32
|
extra_extensions:
|
|
28
33
|
- sphinx_click.ext
|
|
29
34
|
- sphinx.ext.todo
|
|
30
35
|
config:
|
|
36
|
+
html_show_copyright: false
|
|
31
37
|
# This is needed to make sure that text is output in single block from
|
|
32
38
|
# bash cells.
|
|
33
39
|
nb_merge_streams: true
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|