pygfe 0.0.32
pip install pygfe
Latest version
Released:
Python package for converting sequence annotations to gene feature enumerations (GFE).
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU Lesser General Public License v3 (LGPLv3) (LGPL 3.0)
- Author: Mike Halagan
- Tags pygfe
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Programming Language
Project description
pyGFE
Python Boilerplate contains all the boilerplate you need to create a Python package.
Free software: LGPL 3.0
Documentation: https://pygfe.readthedocs.io.
Docker
docker pull nmdpbioinformatics/pygfe
docker run -it --rm -v $PWD:/opt nmdpbioinformatics/pygfe seq2gfe \
-f /opt/your_fastafile.fasta -l HLA-A
Example
>>> from Bio import SeqIO
>>> from BioSQL import BioSeqDatabase
>>> from seqann.sequence_annotation import BioSeqAnn
>>> import pygfe
>>> seq_file = 'test_dq.fasta'
>>> gfe = pygfe.pyGFE()
>>> server = BioSeqDatabase.open_database(driver="pymysql", user="root",
... passwd="", host="localhost",
... db="bioseqdb")
>>> seqann = BioSeqAnn(server=server)
>>> seq_rec = list(SeqIO.parse(seq_file, 'fasta'))[0]
>>> annotation = seqann.annotate(seq_rec, "HLA-DQB1")
>>> gfe = gfe.get_gfe(annotation, "HLA-DQB1")
>>> print(gfe)
HLA-DQB1w0-4-0-141-0-12-0-4-0-0-0-0-0
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.0.1 (2017-11-09)
First release on PyPI.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU Lesser General Public License v3 (LGPLv3) (LGPL 3.0)
- Author: Mike Halagan
- Tags pygfe
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Programming Language
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file pygfe-0.0.32-py2.py3-none-any.whl
.
File metadata
- Download URL: pygfe-0.0.32-py2.py3-none-any.whl
- Upload date:
- Size: 42.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/36.7.1 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70d1dfc9b4d58f7c1cb8ce9142f9772a376ed8d32751db24cd87f3fdf6af5a00 |
|
MD5 | d971085ac24ef74f3ed47e6f64ab6a9d |
|
BLAKE2b-256 | b43e8442612256b6aac975ff9c3216dabf9a51e68316cce7bbcd3eba333d78d5 |