Skip to main content

An SQL-based solution for large-scale genomic analysis

Project description

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


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.


  • Python 3.7, 3.8


  • 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


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


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


0.1.0 (2020-09-16)

  • Initial release.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pysequila, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size pysequila-0.3.1.tar.gz (18.4 kB) File type Source Python version None Upload date Hashes View
Filename, size pysequila-0.3.1-py2.py3-none-any.whl (8.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page