Skip to main content

Library of Python utilities for PacBio Genomes Analysis

Project description

PBGA

PacBio Genome Analysis Python toolkit.

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


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.1.tar.gz (2.1 MB view details)

Uploaded Source

Built Distributions

pbga-0.0.1-py3.7.egg (2.1 MB view details)

Uploaded Source

pbga-0.0.1-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

File details

Details for the file pbga-0.0.1.tar.gz.

File metadata

  • Download URL: pbga-0.0.1.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

Hashes for pbga-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7c1d8fdfa8ee94fd8875361369bdbe40ab0248670a6a1ad5d7cea5c7c3559912
MD5 411f342b4fcacef2ba90ec32d33dbc77
BLAKE2b-256 cb3e1e238458b6177cafa1f8ae19c903413b779001bca03bb6bdc8f4fb4a94c1

See more details on using hashes here.

File details

Details for the file pbga-0.0.1-py3.7.egg.

File metadata

  • Download URL: pbga-0.0.1-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

Hashes for pbga-0.0.1-py3.7.egg
Algorithm Hash digest
SHA256 95da6f72894ea7e3bb365dbbaffabc1d30c3a786c99e4b955958d5fabb9b07fb
MD5 cb107dd1cf82892be710087f3856a13d
BLAKE2b-256 46ec2a864a7ea297b424e665adc7520fb0592e8aea74ad76615e8944e6937b48

See more details on using hashes here.

File details

Details for the file pbga-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pbga-0.0.1-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

Hashes for pbga-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fddc2be0cf8aa607b4c2044f3109ca6a8afb9806c8a87599c4ff94053321d695
MD5 6c1410f060581568bba74c2c30a37af1
BLAKE2b-256 b9f5337e903225753b33d8b83c6bea65d342e2cf5ad051b33ad131f361df5f03

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page