bionumpy
Advanced tools
| import bionumpy as bnp | ||
| def test_fna(data_path): | ||
| r = bnp.open(data_path / 'small.fna').read() | ||
| assert len(r) == 3 |
| Metadata-Version: 2.1 | ||
| Name: bionumpy | ||
| Version: 1.0.11 | ||
| Version: 1.0.12 | ||
| Summary: Library for working with biological sequence data as numpy arrays. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/bionumpy/bionumpy |
@@ -218,2 +218,3 @@ HISTORY.rst | ||
| tests/io_tests/sub_delimiters.py | ||
| tests/io_tests/test_file_extensions.py | ||
| tests/io_tests/test_sam.py | ||
@@ -220,0 +221,0 @@ tests/io_tests/test_sub_delimiters.py |
@@ -5,3 +5,3 @@ """Top-level package for bionumpy.""" | ||
| __email__ = "knutdrand@gmail.com" | ||
| __version__ = '1.0.11' | ||
| __version__ = '1.0.12' | ||
@@ -8,0 +8,0 @@ import npstructures as nps |
@@ -35,2 +35,4 @@ from pathlib import PurePath | ||
| ".fa": MultiLineFastaBuffer, | ||
| ".fna": MultiLineFastaBuffer, | ||
| ".faa": MultiLineFastaBuffer, | ||
| ".fastq": FastQBuffer, | ||
@@ -78,5 +80,6 @@ ".fq": FastQBuffer, | ||
| else: | ||
| all_buffer_types = {buffer.__name__ for buffer in buffer_types.values()} | ||
| raise RuntimeError(f"File format {suffix} does not have a default buffer type. " | ||
| f"Specify buffer_type argument using get_bufferclass_for_datatype function or" | ||
| f"use one of {str(list(buffer_types.keys()))[1:-1]}") | ||
| f"Specify buffer_type argument using " | ||
| f"one of {str(['bnp.'+b for b in all_buffer_types])} or change to a valid extension: {str(list(buffer_types.keys()))}") | ||
@@ -83,0 +86,0 @@ |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: bionumpy | ||
| Version: 1.0.11 | ||
| Version: 1.0.12 | ||
| Summary: Library for working with biological sequence data as numpy arrays. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/bionumpy/bionumpy |
+1
-1
@@ -49,3 +49,3 @@ #!/usr/bin/env python | ||
| url='https://github.com/bionumpy/bionumpy', | ||
| version='1.0.11', | ||
| version='1.0.12', | ||
| zip_safe=False, | ||
@@ -52,0 +52,0 @@ extras_require={'full': ['isal']} |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
704706
0.05%228
0.44%15988
0.04%