HTSeq--a Python framework to work with high-throughput sequencing data - PubMed
- ️Thu Jan 01 2015
HTSeq--a Python framework to work with high-throughput sequencing data
Simon Anders et al. Bioinformatics. 2015.
Abstract
Motivation: A large choice of tools exists for many standard tasks in the analysis of high-throughput sequencing (HTS) data. However, once a project deviates from standard workflows, custom scripts are needed.
Results: We present HTSeq, a Python library to facilitate the rapid development of such scripts. HTSeq offers parsers for many common data formats in HTS projects, as well as classes to represent data, such as genomic coordinates, sequences, sequencing reads, alignments, gene model information and variant calls, and provides data structures that allow for querying via genomic coordinates. We also present htseq-count, a tool developed with HTSeq that preprocesses RNA-Seq data for differential expression analysis by counting the overlap of reads with genes.
Availability and implementation: HTSeq is released as an open-source software under the GNU General Public Licence and available from http://www-huber.embl.de/HTSeq or from the Python Package Index at https://pypi.python.org/pypi/HTSeq.
© The Author 2014. Published by Oxford University Press.
Figures

(a) The SAM_Alignment class as an example of an HTSeq data record: subsets of the content are bundled in object-valued fields, using classes (here SequenceWithQualities and GenomicInterval) that are also used in other data records to provide a common view on diverse data types. (b) The cigar field in a SAM_alignment object presents the detailed structure of a read alignment as a list of CigarOperation. This allows for convenient downstream processing of complicated alignment structures, such as the one given by the cigar string on top and illustrated in the middle. Five CigarOperation objects, with slots for the columns of the table (bottom) provide the data from the cigar string, along with the inferred coordinates of the affected regions in read (‘query’) and reference

Using the class GenomicArrayOfSets to represent overlapping annotation metadata. The indicated features are assigned to the array, which then represents them internally as steps, each step having as value a set whose elements are references to the features overlapping the step
Similar articles
-
Analysing high-throughput sequencing data in Python with HTSeq 2.0.
Putri GH, Anders S, Pyl PT, Pimanda JE, Zanini F. Putri GH, et al. Bioinformatics. 2022 May 13;38(10):2943-2945. doi: 10.1093/bioinformatics/btac166. Bioinformatics. 2022. PMID: 35561197 Free PMC article.
-
htseq-clip: a toolset for the preprocessing of eCLIP/iCLIP datasets.
Sahadevan S, Sekaran T, Ashaf N, Fritz M, Hentze MW, Huber W, Schwarzl T. Sahadevan S, et al. Bioinformatics. 2023 Jan 1;39(1):btac747. doi: 10.1093/bioinformatics/btac747. Bioinformatics. 2023. PMID: 36394253 Free PMC article.
-
Rcount: simple and flexible RNA-Seq read counting.
Schmid MW, Grossniklaus U. Schmid MW, et al. Bioinformatics. 2015 Feb 1;31(3):436-7. doi: 10.1093/bioinformatics/btu680. Epub 2014 Oct 15. Bioinformatics. 2015. PMID: 25322836
-
Omics Pipe: a community-based framework for reproducible multi-omics data analysis.
Fisch KM, Meißner T, Gioia L, Ducom JC, Carland TM, Loguercio S, Su AI. Fisch KM, et al. Bioinformatics. 2015 Jun 1;31(11):1724-8. doi: 10.1093/bioinformatics/btv061. Epub 2015 Jan 30. Bioinformatics. 2015. PMID: 25637560 Free PMC article.
-
Bioinformatics tools for analysing viral genomic data.
Orton RJ, Gu Q, Hughes J, Maabar M, Modha S, Vattipally SB, Wilkie GS, Davison AJ. Orton RJ, et al. Rev Sci Tech. 2016 Apr;35(1):271-85. doi: 10.20506/rst.35.1.2432. Rev Sci Tech. 2016. PMID: 27217183 Review.
Cited by
-
Spatially resolved gene expression profiles of fibrosing interstitial lung diseases.
Kim SJ, Cecchini MJ, Woo E, Jayawardena N, Passos DT, Dick FA, Mura M. Kim SJ, et al. Sci Rep. 2024 Nov 2;14(1):26470. doi: 10.1038/s41598-024-77469-5. Sci Rep. 2024. PMID: 39488596 Free PMC article.
-
Biran H, Hashimshony T, Lahav T, Efrat O, Mandel-Gutfreund Y, Yakhini Z. Biran H, et al. Sci Rep. 2024 Oct 30;14(1):26121. doi: 10.1038/s41598-024-75314-3. Sci Rep. 2024. PMID: 39478009 Free PMC article.
-
Cooper PO, Yang J, Wang HH, Broman MM, Jayasundara SM, Sahoo SS, Yan B, Awdalkreem GD, Cresswell GM, Wang L, Goossens E, Lanman NA, Doerge RW, Zheng F, Cheng L, Alqahtani S, Crist SA, Braun RE, Kazemian M, Jerde TJ, Ratliff TL. Cooper PO, et al. Commun Biol. 2024 Oct 25;7(1):1390. doi: 10.1038/s42003-024-07071-y. Commun Biol. 2024. PMID: 39455902 Free PMC article.
-
Vondras AM, Lerno L, Massonnet M, Minio A, Rowhani A, Liang D, Garcia J, Quiroz D, Figueroa-Balderas R, Golino DA, Ebeler SE, Al Rwahnih M, Cantu D. Vondras AM, et al. Mol Plant Pathol. 2021 Aug;22(8):984-1005. doi: 10.1111/mpp.13077. Epub 2021 Jun 1. Mol Plant Pathol. 2021. PMID: 34075700 Free PMC article.
-
Verma M, Michalec L, Sripada A, McKay J, Sirohi K, Verma D, Sheth D, Martin R, Dyjack N, Seibold MA, Knapp JR, Tu TH, O'Connor BP, Gorska MM, Alam R. Verma M, et al. J Exp Med. 2021 Jul 5;218(7):e20201354. doi: 10.1084/jem.20201354. Epub 2021 Jun 2. J Exp Med. 2021. PMID: 34076685 Free PMC article.
References
-
- Beazley DM, et al. Proceedings of the 4th USENIX Tcl/Tk workshop. 1996. SWIG: an easy to use tool for integrating scripting languages with C and C++ pp. 129–139.
-
- Behnel S, et al. Cython: the best of both worlds. Comput. Sci. Eng. 2011;13:31–39.
Publication types
MeSH terms
LinkOut - more resources
Full Text Sources
Other Literature Sources
Molecular Biology Databases