ARD reduction for HLA with python
Project description
pyARD
ARD reduction for HLA with python
Free software: LGPL 3.0
Documentation: https://pyard.readthedocs.io.
Install
# from source
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python setup.py install
# from PyPi
pip install pyard
Example
from pyard import ARD
# Initialize ARD object
ard = ARD('3290')
# Initialize with latest DB
ard = ARD()
allele = "A*01:01:01"
ard.redux(allele, 'G')
# >> 'A*01:01:01G'
ard.redux(allele, 'lg')
# >> 'A*01:01g'
ard.redux(allele, 'lgx')
# 'A*01:01'
ard_gl = ard.redux_gl("A*01:01/A*01:01N+A*02:AB^B*07:02+B*07:AB", "G")
# >>> ard_gl
# 'B*07:02:01G+B*07:02:01G^A*01:01:01G+A*02:01:01G/A*02:02'
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.0.1 (2018-02-12)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py-ard-0.0.11.tar.gz
(31.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py-ard-0.0.11.tar.gz.
File metadata
- Download URL: py-ard-0.0.11.tar.gz
- Upload date:
- Size: 31.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9edf7f894c68916dc7fa82301b7711467013cabe62bcac53097e44f0ea1362ef
|
|
| MD5 |
7a1bd20680ef7238c119f77631b5e861
|
|
| BLAKE2b-256 |
1bb57dcfef26a5b70f1778770ced528c59b08210f35c57167e1f6cafb4f55147
|
File details
Details for the file py_ard-0.0.11-py2.py3-none-any.whl.
File metadata
- Download URL: py_ard-0.0.11-py2.py3-none-any.whl
- Upload date:
- Size: 36.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c088e876ea6569a18e8874bcb5b116e49c5cd1a4a3771415b00a6c2985ca32cb
|
|
| MD5 |
382de583fb11a7831cc126b1e02278f6
|
|
| BLAKE2b-256 |
3b755aa563abb152c868d12733b8559667be53dfb24e303be71e3db7ff54facf
|