Skip to main content

A framework to process and analyze data from high-throughput sequencing (HTS) assays

Project description

CI Documentation Status

HTSeq

DEVS: https://github.com/htseq/htseq

DOCS: https://htseq.readthedocs.io

CITATION (please cite this new paper!): Putri et al. Analysing high-throughput sequencing data in Python with HTSeq 2.0. Bioinformatics, btac166, https://doi.org/10.1093/bioinformatics/btac166 (2022).

A Python library to facilitate programmatic analysis of data from high-throughput sequencing (HTS) experiments. A popular component of HTSeq is htseq-count, a script to quantify gene expression in bulk and single-cell RNA-Seq and similar experiments.

Requirements

To use HTSeq you need:

  • Python >= 3.7 (note: Python 2.7 support has been dropped)
  • numpy
  • pysam

To manipulate BigWig files, you also need:

  • pyBigWig

To run the htseq-qa script, you also need:

  • matplotlib

To run htseq-count and htseq-count-barcodes with custom output formats for the counts table, you need:

  • mtx file: scipy
  • h5ad file: anndata
  • loom file: loompy

Both Linux and OSX are supported and binaries are provided on Pypi. We would like to support Windows but currently lack the expertise to do so. If you would like to take on the Windows release and maintenance, please open an issue and we'll try to help.

A source package which should not require Cython nor SWIG is also provided on Pypi.

To develop HTSeq you will also need:

  • Cython >=0.29.5
  • SWIG >=3.0.8

Installation

PIP

To install directly from PyPI:

pip install HTSeq

To install a specific version:

pip install 'HTSeq==2.0.0'

If this fails, please install all dependencies first:

pip install matplotlib
pip install Cython
pip install pysam
pip install HTSeq

setup.py (distutils/setuptools)

Install the dependencies with your favourite tool (pip, conda, etc.).

To install HTSeq itself, run:

python setup.py build install

Testing

To test locally, run

./test.sh

To test htseq-count alone, run it with the -o option.

A virtual environment is created in the .venv folder and HTSeq is installed inside it, including all modules and scripts.

Authors

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

HTSeq-2.0.1.tar.gz (390.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

HTSeq-2.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

HTSeq-2.0.1-cp310-cp310-macosx_10_9_x86_64.whl (352.6 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

HTSeq-2.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

HTSeq-2.0.1-cp39-cp39-macosx_10_9_x86_64.whl (330.5 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

HTSeq-2.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

HTSeq-2.0.1-cp38-cp38-macosx_10_9_x86_64.whl (355.0 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

HTSeq-2.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

HTSeq-2.0.1-cp37-cp37m-macosx_10_9_x86_64.whl (346.8 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

File details

Details for the file HTSeq-2.0.1.tar.gz.

File metadata

  • Download URL: HTSeq-2.0.1.tar.gz
  • Upload date:
  • Size: 390.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.13

File hashes

Hashes for HTSeq-2.0.1.tar.gz
Algorithm Hash digest
SHA256 0945e285da04fec2b196ff0855816b4abb4c297d0c8a1258982c3cd2bacdee6a
MD5 c22583244c349157f91a86ce08d0f0f7
BLAKE2b-256 7a84567343dff3458a80667609078731edf5bc4145e4ef4b88290afec648169c

See more details on using hashes here.

File details

Details for the file HTSeq-2.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: HTSeq-2.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for HTSeq-2.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 83c823e16f5c845c943e6b185e70df2eba0e622a0f2ea827cd5fc0b8429e039a
MD5 8c770fdd67818c6c502ddddaf7343887
BLAKE2b-256 99335e41902e02bd534045aea8fd6befbc59d493430b9d4e4cc477bb8f24a8fb

See more details on using hashes here.

File details

Details for the file HTSeq-2.0.1-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: HTSeq-2.0.1-cp310-cp310-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 352.6 kB
  • Tags: CPython 3.10, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for HTSeq-2.0.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d889b4413f966a4edb38f0c69c94e382a7d1fac97ede20d71f75dc572053fa76
MD5 7abb958c0d8070268cb25adecde26fa8
BLAKE2b-256 68a6cd61d59ded45e943a8f17866352e38c6670eab25c972491af5e5e879fdc0

See more details on using hashes here.

File details

Details for the file HTSeq-2.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: HTSeq-2.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for HTSeq-2.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 85f2a038e978df79ad990929c75b3a9c6dba5c121f8144511772e3454c6415fb
MD5 11444297fffd4015403a3e6bf0c30646
BLAKE2b-256 b114c8c1711332db205f65d03126f60f35c1106b97984ab4a7577bf7916d74a5

See more details on using hashes here.

File details

Details for the file HTSeq-2.0.1-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: HTSeq-2.0.1-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 330.5 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for HTSeq-2.0.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1bd103e2f15b073e970a9520d799e4485d9316b895065a119f15b60788b14702
MD5 23b8954df01a8868b8923096ec4109c8
BLAKE2b-256 5d7989acfbdf83bb5d1551c181a8c6e13b2ab15a3c45a102d77bbc8333b0dffd

See more details on using hashes here.

File details

Details for the file HTSeq-2.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: HTSeq-2.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.13

File hashes

Hashes for HTSeq-2.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 293be747a654d48b03c670e5cba5042cd3e508f06d4eafe60d5f268da0b01fec
MD5 3024167622fe6dcd5f1d8a37757bcaa6
BLAKE2b-256 532b5d4ce404cd3506f75231a0f7cb2d6765e2f23ee56f7e8c24038b23b7857a

See more details on using hashes here.

File details

Details for the file HTSeq-2.0.1-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: HTSeq-2.0.1-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 355.0 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for HTSeq-2.0.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1de17d4eb1549ca85c0801417c0d4f79a474b736db754814f007e34410cbcab6
MD5 9ec45b3e47b791f68ba8d0920822d0c8
BLAKE2b-256 90f418cdbc0a0308045d7c41ea5e03461b953f41f1f211c8873fde9da867cdaf

See more details on using hashes here.

File details

Details for the file HTSeq-2.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: HTSeq-2.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.13

File hashes

Hashes for HTSeq-2.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 88826d3c91d5f950a14b44672479259409677c933683d4353296fa00897c3a7a
MD5 2bd777f4d86057a5381c060a4f474a72
BLAKE2b-256 a8401f128fbc0bc3e2786dbfbe05f0c39b59769f3e243e133b81c354abf0d7b6

See more details on using hashes here.

File details

Details for the file HTSeq-2.0.1-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: HTSeq-2.0.1-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 346.8 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.11

File hashes

Hashes for HTSeq-2.0.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7127800d48e99a4a0310a500a0146323320a16eace543ed38fd4be357c039312
MD5 46dff83d9ea8e9b56078b10fc800187b
BLAKE2b-256 22f54382a528e83d9b7b1bca5db6d3639f6f0755d2fdf6a39cb68652bc15f468

See more details on using hashes here.

Supported by

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