Skip to main content

pybio genomics

Project description

pybio: basic genomics toolset

pybio is a comprehensive Python framework designed to streamline genomics operations. It offers a direct interface to Ensembl genome assemblies and annotations, while also accommodating custom genomes via FASTA/GTF inputs. The primary objective of pybio is to simplify genome management. It achieves this by providing automatic download of Ensembl genome assemblies and annotation, provides Python genomic feature search and sequence retrieval from the managed genomes, STAR indexing and mapping and more.

Quick Start

Install via pip and download + prepare human genome:

# install over PyPi
pip install pybio

# or install directly from this repository
pip install git+https://github.com/grexor/pybio.git@master

# download and process homo sapiens genome
pybio genome homo_sapiens

Search genome features (exons, transcripts, genes) from Python:

import pybio
result = pybio.core.genomes.annotate("homo_sapiens", "1", "+", 11012344)
genes, transcripts, exons, UTR5, UTR3 = result

Retrieve genomic sequences from Python:

import pybio
seq = pybio.core.genomes.seq("homo_sapiens", "1", "+", 450000, -20, 20)

Check documentation for more examples.

Documentation

Authors

pybio is developed and supported by Gregor Rot.

Issues and Suggestions

Use the issues page to report issues and leave suggestions.

Change log

v0.6: November 2024

  • updated Ensembl search and genome versioning offline
  • updated custom genome interface
v0.5: May 2024
  • refreshed Ensembl (112) and Ensembl Genomes (58) database
v0.4: April 2024
  • refreshed Ensembl (111) and Ensembl Genomes (58) database
v0.3.12: released in November 2023
  • updated docs

Citation

If you are using pybio in your research, please cite:

Rot, G., Wehling, A., Schmucki, R., Berntenis, N., Zhang, J. D., & Ebeling, M. (2024)
splicekit : an integrative toolkit for splicing analysis from short-read RNA-seq
Bioinformatics Advances, 4(1). https://doi.org/10.1093/bioadv/vbae121

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

pybio-0.6.tar.gz (39.0 kB view details)

Uploaded Source

Built Distribution

pybio-0.6-py3-none-any.whl (44.0 kB view details)

Uploaded Python 3

File details

Details for the file pybio-0.6.tar.gz.

File metadata

  • Download URL: pybio-0.6.tar.gz
  • Upload date:
  • Size: 39.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for pybio-0.6.tar.gz
Algorithm Hash digest
SHA256 6226f0502c7e2a0fbc3826b04484abf59ef14e046161d52dd7cd0a83548044e7
MD5 c25184c7061e94a9e89da8e6b5b87be7
BLAKE2b-256 1a48d376a90a664a0f95b19c377a11d200f8aaceeb73ecae0ee51f113ba71ecc

See more details on using hashes here.

File details

Details for the file pybio-0.6-py3-none-any.whl.

File metadata

  • Download URL: pybio-0.6-py3-none-any.whl
  • Upload date:
  • Size: 44.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for pybio-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 af8e7fe1ae7ac918072e482a97d8dca046f9838fc1c5a82f011e083a7bbcceab
MD5 180ba57e91cc17d27d27e982dfff077b
BLAKE2b-256 47b087e2ecbb8cd35c8bf1b089cc9632620bbebefb83b5ca79a1af8a36e46617

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