py-gfe
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/py-gfe
docker run -it --rm -v $PWD:/opt nmdpbioinformatics/py-gfe 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.
Metadata
Release files for py-gfe 1.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py-gfe-1.1.6.tar.gz | 70.6 kB | Without provenance | Details for py-gfe-1.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_gfe-1.1.6-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for py_gfe-1.1.6-py2.py3-none-any.whl |
Total release size: 135.5 kB
Release files / py-gfe-1.1.6.tar.gz
| Download URL | py-gfe-1.1.6.tar.gz |
|---|---|
| Size | 70.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d77a7df73e3b789bb2f72a39afc31dd6d2864aed857aad44d22293288f825f2a
|
|
BLAKE2b-256 checksum How to use checksums |
594a029fd972c9771e453d0d4d26a2b81f1114c08fa1c1e2b873931a2173974e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|
Release files / py_gfe-1.1.6-py2.py3-none-any.whl
| Download URL | py_gfe-1.1.6-py2.py3-none-any.whl |
|---|---|
| Size | 64.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
69f2a929cdd5f0314f48a5d604afbdf6e0016a445156c31dcce5c2baa15424cb
|
|
BLAKE2b-256 checksum How to use checksums |
8177ba7065ac0cccaafd71f2ac3d424814e9cc1914aeeddc8a97b1db6cbcbe45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|
Security for py-gfe 1.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.