Skip to main content

version PyPI downloads Maven Central status Python-3.8 license coverage GitHub contributors GitHub commit activity

pysequila

pysequila is Python entrypoint to SeQuiLa, an ANSI-SQL compliant solution for efficient sequencing reads processing and genomic intervals querying built on top of Apache Spark. Range joins, depth of coverage and pileup computations are bread and butter for NGS analysis but the high volume of data make them execute very slowly or even failing to compute.

Requirements

  • Python 3.7, 3.8

Features

  • custom data sources for bioinformatics file formats (BAM, CRAM, VCF)

  • depth of coverage calculations

  • pileup calculations

  • reads filtering

  • efficient range joins

  • other utility functions

  • support for both SQL and Dataframe/Dataset API

Setup

$ python -m pip install --user pysequila
or
(venv)$ python -m pip install pysequila

Usage

$ python
>>> from pysequila import SequilaSession
>>> ss = SequilaSession \
  .builder \
  .config("spark.driver.memory", "2g") \
  .getOrCreate()
>>> ss.sql ("SELECT * FROM  coverage('reads', 'NA12878'")
>>>

ChangeLog

0.1.0 (2020-09-16)

  • Initial release.

Release files for pysequila 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysequila 0.3.1
File Size Uploaded
pysequila-0.3.1.tar.gz 18.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pysequila 0.3.1
File Interpreter ABI Platform
pysequila-0.3.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 26.9 kB

Release files / pysequila-0.3.1.tar.gz

Download URL pysequila-0.3.1.tar.gz
Size 18.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5d0641d065b262680b2a0f9d63de2b4fe416d7947ebd52450605c0ca01ad1e74
BLAKE2b-256 checksum
How to use checksums
ac4259f65aad5b1b94ac6107e0e0c520f9173ad8bde7512bb8fbf80bab341393
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

Release files / pysequila-0.3.1-py2.py3-none-any.whl

Download URL pysequila-0.3.1-py2.py3-none-any.whl
Size 8.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e89b6494255067d5b67c12148774dd4b0ff7d6f2540fc9e2a8aff10049b459b6
BLAKE2b-256 checksum
How to use checksums
6bed27071aedea93beade4b07f6347d2be39cebbc429750d3ab4b9fa81a7468c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

Release history Release notifications | RSS feed

0.4.1

2 release files

0.4.0

2 release files

0.3.3

2 release files

0.3.2

2 release files

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page