seqmat 0.1.48__tar.gz → 0.1.49__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.
- {seqmat-0.1.48/seqmat.egg-info → seqmat-0.1.49}/PKG-INFO +4 -4
- {seqmat-0.1.48 → seqmat-0.1.49}/README.md +2 -2
- {seqmat-0.1.48 → seqmat-0.1.49}/requirements.txt +2 -2
- {seqmat-0.1.48 → seqmat-0.1.49}/seqmat/__init__.py +1 -1
- {seqmat-0.1.48 → seqmat-0.1.49}/seqmat/seqmat.py +3 -1
- {seqmat-0.1.48 → seqmat-0.1.49/seqmat.egg-info}/PKG-INFO +4 -4
- {seqmat-0.1.48 → seqmat-0.1.49}/seqmat.egg-info/requires.txt +1 -1
- {seqmat-0.1.48 → seqmat-0.1.49}/setup.py +2 -2
- {seqmat-0.1.48 → seqmat-0.1.49}/LICENSE +0 -0
- {seqmat-0.1.48 → seqmat-0.1.49}/MANIFEST.in +0 -0
- {seqmat-0.1.48 → seqmat-0.1.49}/examples/basic_usage.py +0 -0
- {seqmat-0.1.48 → seqmat-0.1.49}/examples/data_inspection.py +0 -0
- {seqmat-0.1.48 → seqmat-0.1.49}/seqmat/cli.py +0 -0
- {seqmat-0.1.48 → seqmat-0.1.49}/seqmat/config.py +0 -0
- {seqmat-0.1.48 → seqmat-0.1.49}/seqmat/gene.py +0 -0
- {seqmat-0.1.48 → seqmat-0.1.49}/seqmat/lmdb_store.py +0 -0
- {seqmat-0.1.48 → seqmat-0.1.49}/seqmat/transcript.py +0 -0
- {seqmat-0.1.48 → seqmat-0.1.49}/seqmat/utils.py +0 -0
- {seqmat-0.1.48 → seqmat-0.1.49}/seqmat.egg-info/SOURCES.txt +0 -0
- {seqmat-0.1.48 → seqmat-0.1.49}/seqmat.egg-info/dependency_links.txt +0 -0
- {seqmat-0.1.48 → seqmat-0.1.49}/seqmat.egg-info/entry_points.txt +0 -0
- {seqmat-0.1.48 → seqmat-0.1.49}/seqmat.egg-info/top_level.txt +0 -0
- {seqmat-0.1.48 → seqmat-0.1.49}/setup.cfg +0 -0
- {seqmat-0.1.48 → seqmat-0.1.49}/tests/__init__.py +0 -0
- {seqmat-0.1.48 → seqmat-0.1.49}/tests/test_gene.py +0 -0
- {seqmat-0.1.48 → seqmat-0.1.49}/tests/test_seqmat.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: seqmat
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.49
|
|
4
4
|
Summary: Lightning-fast gene manipulation and analysis library.
|
|
5
5
|
Home-page: https://github.com/nicolasalynn/seqmat
|
|
6
6
|
Author: Nicolas Lynn Vila
|
|
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
16
16
|
Requires-Python: >=3.10
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
|
-
Requires-Dist: numpy
|
|
19
|
+
Requires-Dist: numpy<3,>=1.20.0
|
|
20
20
|
Requires-Dist: pandas>=2.0.0
|
|
21
21
|
Requires-Dist: pysam>=0.19.0
|
|
22
22
|
Requires-Dist: requests>=2.26.0
|
|
@@ -731,8 +731,8 @@ SeqMat is optimized for performance:
|
|
|
731
731
|
## Dependencies
|
|
732
732
|
|
|
733
733
|
**Core (always required):**
|
|
734
|
-
- numpy >= 1.20.0
|
|
735
|
-
- pandas >= 1.3.0
|
|
734
|
+
- numpy >= 1.20.0, <3 (tested with NumPy 2.x)
|
|
735
|
+
- pandas >= 1.3.0 (use a build compatible with your NumPy version; for NumPy 2, prefer pandas ≥2.2 and pyarrow ≥14)
|
|
736
736
|
- pysam >= 0.19.0
|
|
737
737
|
- requests >= 2.26.0
|
|
738
738
|
- tqdm >= 4.62.0
|
|
@@ -685,8 +685,8 @@ SeqMat is optimized for performance:
|
|
|
685
685
|
## Dependencies
|
|
686
686
|
|
|
687
687
|
**Core (always required):**
|
|
688
|
-
- numpy >= 1.20.0
|
|
689
|
-
- pandas >= 1.3.0
|
|
688
|
+
- numpy >= 1.20.0, <3 (tested with NumPy 2.x)
|
|
689
|
+
- pandas >= 1.3.0 (use a build compatible with your NumPy version; for NumPy 2, prefer pandas ≥2.2 and pyarrow ≥14)
|
|
690
690
|
- pysam >= 0.19.0
|
|
691
691
|
- requests >= 2.26.0
|
|
692
692
|
- tqdm >= 4.62.0
|
|
@@ -423,7 +423,9 @@ class SeqMat:
|
|
|
423
423
|
e['valid'] = True
|
|
424
424
|
entries.append(e)
|
|
425
425
|
i = np.searchsorted(self.seq_array['index'], pos, 'right')
|
|
426
|
-
|
|
426
|
+
# Explicit dtype for NumPy 2.x: list of np.void must be stacked with same dtype
|
|
427
|
+
entries_arr = np.array(entries, dtype=self.seq_array.dtype)
|
|
428
|
+
self.seq_array = np.concatenate([self.seq_array[:i], entries_arr, self.seq_array[i:]])
|
|
427
429
|
|
|
428
430
|
def _delete(self, pos: int, ref: str) -> None:
|
|
429
431
|
"""Apply a deletion mutation."""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: seqmat
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.49
|
|
4
4
|
Summary: Lightning-fast gene manipulation and analysis library.
|
|
5
5
|
Home-page: https://github.com/nicolasalynn/seqmat
|
|
6
6
|
Author: Nicolas Lynn Vila
|
|
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
16
16
|
Requires-Python: >=3.10
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
|
-
Requires-Dist: numpy
|
|
19
|
+
Requires-Dist: numpy<3,>=1.20.0
|
|
20
20
|
Requires-Dist: pandas>=2.0.0
|
|
21
21
|
Requires-Dist: pysam>=0.19.0
|
|
22
22
|
Requires-Dist: requests>=2.26.0
|
|
@@ -731,8 +731,8 @@ SeqMat is optimized for performance:
|
|
|
731
731
|
## Dependencies
|
|
732
732
|
|
|
733
733
|
**Core (always required):**
|
|
734
|
-
- numpy >= 1.20.0
|
|
735
|
-
- pandas >= 1.3.0
|
|
734
|
+
- numpy >= 1.20.0, <3 (tested with NumPy 2.x)
|
|
735
|
+
- pandas >= 1.3.0 (use a build compatible with your NumPy version; for NumPy 2, prefer pandas ≥2.2 and pyarrow ≥14)
|
|
736
736
|
- pysam >= 0.19.0
|
|
737
737
|
- requests >= 2.26.0
|
|
738
738
|
- tqdm >= 4.62.0
|
|
@@ -8,7 +8,7 @@ long_description = (this_directory / "README.md").read_text()
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name="seqmat",
|
|
11
|
-
version="0.1.
|
|
11
|
+
version="0.1.49",
|
|
12
12
|
author="Nicolas Lynn Vila",
|
|
13
13
|
author_email="nicolasalynn@gmail.com",
|
|
14
14
|
description="Lightning-fast gene manipulation and analysis library.",
|
|
@@ -28,7 +28,7 @@ setup(
|
|
|
28
28
|
],
|
|
29
29
|
python_requires=">=3.10",
|
|
30
30
|
install_requires=[
|
|
31
|
-
"numpy>=1.20.0",
|
|
31
|
+
"numpy>=1.20.0,<3",
|
|
32
32
|
"pandas>=2.0.0",
|
|
33
33
|
"pysam>=0.19.0",
|
|
34
34
|
"requests>=2.26.0",
|
|
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
|