Library of Python utilities for PacBio Genomes Analysis
Project description
PBGA
PacBio Genome Analysis Python toolkit.
Install
The code is available at PyPi, therefore you can install it with pip.
pip install pbga
Connect to PBGA database
The PBGA database is a H2 database, therefore primarily meant to be used with Java. We can connect to the database from Python, if:
- Java is installed on the local machine
- the local machine runs UNIX-like OS (sorry, Windows users)
Then:
from pbga import H2DbManager
with H2DbManager("path/to/sv_database.mv.db",
user="sa",
password="sa") as h2:
with h2.get_connection() as conn:
with conn.cursor() as cur:
# do whatever you want
cur.execute('SELECT * FROM PBGA.CLINGEN_TRIPLOSENSITIVITY;')
for i, x in zip(range(5), cur.fetchall()):
# print first 5 lines
print(x)
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
pbga-0.0.3.tar.gz
(2.1 MB
view details)
Built Distributions
pbga-0.0.3-py3.7.egg
(2.1 MB
view details)
pbga-0.0.3-py3-none-any.whl
(2.1 MB
view details)
File details
Details for the file pbga-0.0.3.tar.gz
.
File metadata
- Download URL: pbga-0.0.3.tar.gz
- Upload date:
- Size: 2.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69506c19300ad920d7aec5a76692415d6b64cabf1fce6b47a02a7a187f540ccd |
|
MD5 | 546449cf4cbfc12ba8b50d44b40621db |
|
BLAKE2b-256 | 694607f509aa2698eeeeee0d0a6a630d81ef85d4ff33b42ce118a62f04dd1ebd |
File details
Details for the file pbga-0.0.3-py3.7.egg
.
File metadata
- Download URL: pbga-0.0.3-py3.7.egg
- Upload date:
- Size: 2.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de3dfbe9da6eb88151ae30e3ac78b6e1affc8e166ca95443434ead5f17debad8 |
|
MD5 | 5a167110b6e71e724bfee395685b2554 |
|
BLAKE2b-256 | 9b83225fe0db0bac8c426ed5ca633a04e5cc3d56c309cd42f0a089abbfa580cd |
File details
Details for the file pbga-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: pbga-0.0.3-py3-none-any.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a823c3fa2406242d239bbf1b5fc6b27965d9c25aa491a03b6df2103401081e5b |
|
MD5 | 1f8e6f90cb163ad41f4a0a6cf596ea1d |
|
BLAKE2b-256 | 1737317343233dd5e5f1d3f42e05c645e39f8f11a2f0b78bfb57b13bf2f65f3b |