معرفی شرکت ها


blosum-2.0.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A simple BLOSUM toolbox without dependencies.
ویژگی مقدار
سیستم عامل -
نام فایل blosum-2.0.2
نام blosum
نسخه کتابخانه 2.0.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Jules Kreuer / not_a_feature
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/not-a-feature/blosum
آدرس اینترنتی https://pypi.org/project/blosum/
مجوز gpl-3.0
![blosum](https://github.com/not-a-feature/blosum/raw/main/blosum.png) A small module for easy access to BLOSUM matrices without dependencies. [![DOI](https://zenodo.org/badge/444594629.svg)](https://zenodo.org/badge/latestdoi/444594629) ![Test Badge](https://github.com/not-a-feature/blosum/actions/workflows/tests.yml/badge.svg) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)<br> ![Download Badge](https://img.shields.io/pypi/dm/blosum.svg) ![Python Version Badge](https://img.shields.io/pypi/pyversions/blosum) [![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat)](http://bioconda.github.io/recipes/blosum/README.html) The BLOcks SUbstitution Matrices (BLOSUM) are used to score alignments between protein sequences and are therefore mainly used in bioinformatics. Reading such matrices is not particularly difficult, yet most off the shelf packages are overloaded with strange dependencies. And why do we need to implement the same reader again if there is a simple module for that. `blosum` offers a robust and easy-to-expand implementation without relying on third-party libraries. ## Installation Using pip / pip3: ```bash pip install blosum ``` Or by source: ```bash git clone git@github.com:not-a-feature/blosum.git cd blosum pip install . ``` Or by conda: ```bash conda install blosum ``` ## How to use ### Default BLOSUM This package provides the most commonly used BLOSUM matrices. You can choose from BLOSUM 45, 50, 62, 80 and 90. To load a matrix: ```python import blosum as bl matrix = bl.BLOSUM(62) val = matrix["A"]["Y"] ``` ### Custom matrix In addition, own matrices can be loaded. For this, the path is given as an argument. ```python import blosum as bl matrix = bl.BLOSUM("path/to/blosum.file") val = matrix["A"]["Y"] ``` The matrices are required to have following format: ``` # Comments should start with # # Each value should be seperated by one or many whitespace A R N D A 5 -2 -1 -2 R -2 7 0 -1 N -1 0 6 2 D -2 -1 2 7 ``` ### Getting values: Once loaded the `matrix` behaves like a `defaultdict`. To get a value use: ```python val = matrix["A"]["Y"] ``` To get a defaultdict of the row with a given key use: ```python val_dict = matrix["A"] ``` If the key cannot be found, the default value `float("-inf")` is returned. It is possible to set a custom default score: ```python matrix = bl.BLOSUM(62, default=0) ``` ## License ``` Copyright (C) 2023 by Jules Kreuer - @not_a_feature This piece of software is published unter the GNU General Public License v3.0 TLDR: | Permissions | Conditions | Limitations | | ---------------- | ---------------------------- | ----------- | | ✓ Commercial use | Disclose source | ✕ Liability | | ✓ Distribution | License and copyright notice | ✕ Warranty | | ✓ Modification | Same license | | | ✓ Patent use | State changes | | | ✓ Private use | | | ``` Go to [LICENSE.md](https://github.com/not-a-feature/blosum/blob/main/LICENSE) to see the full version. ## Dependencies In addition to packages included in Python 3, this piece of software uses 3rd-party software packages for development purposes that are not required in the published version. Go to [DEPENDENCIES.md](https://github.com/not-a-feature/blosum/blob/main/DEPENDENCIES.md) to see all dependencies and licenses.


نیازمندی

مقدار نام
>=6.0 pytest
>=2.0 pytest-cov
>=3.20 tox


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl blosum-2.0.2:

    pip install blosum-2.0.2.whl


نصب پکیج tar.gz blosum-2.0.2:

    pip install blosum-2.0.2.tar.gz