Andre P. Masella
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Research Interests
Andre P. Masella has a total of 5 co-authors. Here are the top co-authors by number of shared publications:
- Christopher M. Lalansingh
Ontario Institute for Cancer Research
1 shared publication - Michael Fraser
Ontario Cancer Institute, Princess Margaret Cancer Centre, University Health Network, Toronto, ON, Canada
1 shared publication - Paul C. Boutros
Department of Human Genetics, University of California Los Angeles
1 shared publication - Pragash Sivasundaram
Ontario Institute for Cancer Research, Suite 510, 661 University Avenue, M5G 0A3, Toronto, Canada
1 shared publication - Robert G. Bristow
Manchester Cancer Research Centre and Cancer Research UK Manchester Institute, The University of Manchester, Manchester, UK
1 shared publication
Latest Publications
- Open Access
- 11 August 2016
- Published by Springer Nature in BMC Bioinformatics
- Vol. 17 (1) , 1-6
BAMQL: a query language for extracting reads from BAM files
Background: It is extremely common to need to select a subset of reads from a BAM file based on their specific properties. Typically, a user unpacks the BAM file to a text stream using SAMtools, parses and filters the lines using AWK, then repacks them using SAMtools. This process is tedious and error-prone. In particular, when working with many columns of data, mix-ups are common and the bit field containing the flags is unintuitive. There are several libraries for reading BAM files, such as for Perl and for Python. Both allow access to the BAM’s read information and can filter reads, but require substantial boilerplate code; this is high overhead for mostly ad hoc filtering. Results: We have created a query language that gathers reads using a collection of predicates and common logical connectives. Queries run faster than equivalents and can be compiled to native code for embedding in larger programs. Conclusions: BAMQL provides a user-friendly, powerful and performant way to extract subsets of BAM files for ad hoc analyses or integration into applications. The query language provides a collection of predicates beyond those in SAMtools, and more flexible connectives.
- 11 August 2016
- Published by Springer Nature in BMC Bioinformatics
- Vol. 17 (1) , 1-6
Open AccessBAMQL: a query language for extracting reads from BAM files
Background: It is extremely common to need to select a subset of reads from a BAM file based on their specific properties. Typically, a user unpacks the BAM file to a text stream using SAMtools, parses and filters the lines using AWK, then repacks them using SAMtools. This process is tedious and error-prone. In particular, when working with many columns of data, mix-ups are common and the bit field containing the flags is unintuitive. There are several libraries for reading BAM files, such as for Perl and for Python. Both allow access to the BAM’s read information and can filter reads, but require substantial boilerplate code; this is high overhead for mostly ad hoc filtering. Results: We have created a query language that gathers reads using a collection of predicates and common logical connectives. Queries run faster than equivalents and can be compiled to native code for embedding in larger programs. Conclusions: BAMQL provides a user-friendly, powerful and performant way to extract subsets of BAM files for ad hoc analyses or integration into applications. The query language provides a collection of predicates beyond those in SAMtools, and more flexible connectives.