scoring-matrices
Advanced tools
+16
-4
| Metadata-Version: 2.1 | ||
| Name: scoring-matrices | ||
| Version: 0.2.0 | ||
| Version: 0.2.1 | ||
| Summary: Dependency free, Cython-compatible scoring matrices to use with biological sequences. | ||
@@ -81,4 +81,16 @@ Home-page: https://github.com/althonos/score-matrices | ||
| `scoring-matrices` is available for all modern Python versions (3.6+). | ||
| `scoring-matrices` can be installed directly from [PyPI](https://pypi.org/project/scoring-matrices/), | ||
| which hosts some pre-built wheels for the x86-64 architecture (Linux/OSX/Windows) | ||
| and the Aarch64 architecture (Linux/OSX), as well as the code required to | ||
| compile from source with Cython: | ||
| ```console | ||
| $ pip install scoring-matrices | ||
| ``` | ||
| Otherwise, `scoring-matrices` is also available as a [Bioconda](https://bioconda.github.io/) | ||
| package: | ||
| ```console | ||
| $ conda install bioconda::scoring-matrices | ||
| ``` | ||
| ## π‘ Usage | ||
@@ -114,4 +126,4 @@ | ||
| cdef ScoringMatrix blosum = ScoringMatrix.from_name("BLOSUM62") | ||
| cdef const float* data = blosum.data() # dense array | ||
| cdef const float** matrix = blosum.matrix() # array of pointers | ||
| cdef const float* data = blosum.data_ptr() # dense array | ||
| cdef const float** matrix = blosum.matrix_ptr() # array of pointers | ||
| ``` | ||
@@ -118,0 +130,0 @@ - Access the `ScoringMatrix` weights as a [typed memoryview](https://cython.readthedocs.io/en/latest/src/userguide/memoryviews.html) |
+15
-3
@@ -45,4 +45,16 @@ # π§¬π `scoring-matrices` [](https://github.com/althonos/scoring-matrices/stargazers) | ||
| `scoring-matrices` is available for all modern Python versions (3.6+). | ||
| `scoring-matrices` can be installed directly from [PyPI](https://pypi.org/project/scoring-matrices/), | ||
| which hosts some pre-built wheels for the x86-64 architecture (Linux/OSX/Windows) | ||
| and the Aarch64 architecture (Linux/OSX), as well as the code required to | ||
| compile from source with Cython: | ||
| ```console | ||
| $ pip install scoring-matrices | ||
| ``` | ||
| Otherwise, `scoring-matrices` is also available as a [Bioconda](https://bioconda.github.io/) | ||
| package: | ||
| ```console | ||
| $ conda install bioconda::scoring-matrices | ||
| ``` | ||
| ## π‘ Usage | ||
@@ -78,4 +90,4 @@ | ||
| cdef ScoringMatrix blosum = ScoringMatrix.from_name("BLOSUM62") | ||
| cdef const float* data = blosum.data() # dense array | ||
| cdef const float** matrix = blosum.matrix() # array of pointers | ||
| cdef const float* data = blosum.data_ptr() # dense array | ||
| cdef const float** matrix = blosum.matrix_ptr() # array of pointers | ||
| ``` | ||
@@ -82,0 +94,0 @@ - Access the `ScoringMatrix` weights as a [typed memoryview](https://cython.readthedocs.io/en/latest/src/userguide/memoryviews.html) |
| Metadata-Version: 2.1 | ||
| Name: scoring-matrices | ||
| Version: 0.2.0 | ||
| Version: 0.2.1 | ||
| Summary: Dependency free, Cython-compatible scoring matrices to use with biological sequences. | ||
@@ -81,4 +81,16 @@ Home-page: https://github.com/althonos/score-matrices | ||
| `scoring-matrices` is available for all modern Python versions (3.6+). | ||
| `scoring-matrices` can be installed directly from [PyPI](https://pypi.org/project/scoring-matrices/), | ||
| which hosts some pre-built wheels for the x86-64 architecture (Linux/OSX/Windows) | ||
| and the Aarch64 architecture (Linux/OSX), as well as the code required to | ||
| compile from source with Cython: | ||
| ```console | ||
| $ pip install scoring-matrices | ||
| ``` | ||
| Otherwise, `scoring-matrices` is also available as a [Bioconda](https://bioconda.github.io/) | ||
| package: | ||
| ```console | ||
| $ conda install bioconda::scoring-matrices | ||
| ``` | ||
| ## π‘ Usage | ||
@@ -114,4 +126,4 @@ | ||
| cdef ScoringMatrix blosum = ScoringMatrix.from_name("BLOSUM62") | ||
| cdef const float* data = blosum.data() # dense array | ||
| cdef const float** matrix = blosum.matrix() # array of pointers | ||
| cdef const float* data = blosum.data_ptr() # dense array | ||
| cdef const float** matrix = blosum.matrix_ptr() # array of pointers | ||
| ``` | ||
@@ -118,0 +130,0 @@ - Access the `ScoringMatrix` weights as a [typed memoryview](https://cython.readthedocs.io/en/latest/src/userguide/memoryviews.html) |
@@ -1,2 +0,2 @@ | ||
| __version__ = "0.2.0" | ||
| __version__ = "0.2.1" | ||
| __author__ = "Martin Larralde <martin.larralde@embl.de>" | ||
@@ -3,0 +3,0 @@ __license__ = "MIT" |
@@ -41,2 +41,6 @@ import typing | ||
| def __eq__(self, other: object) -> bool: ... | ||
| @property | ||
| def alphabet(self) -> str: ... | ||
| @property | ||
| def name(self) -> Optional[str]: ... | ||
| @typing.overload | ||
@@ -43,0 +47,0 @@ def __getitem__(self, item: int) -> List[float]: ... |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
366297
0.39%545
0.74%