Bioconductor 3.24 Release

BamScaleR

This is the development version of BamScaleR; to use it, please install the devel version of Bioconductor.

Bioconductor-Friendly Multithreaded BAM Processing


Bioconductor version: Development (3.25)

BamScaleR reads BAM files using multiple threads per file and returns the objects that Bioconductor workflows already use, so it can take the place of Rsamtools::scanBam() and GenomicAlignments::readGAlignments() in existing analyses. It builds on the ompBAM C++ library, which decompresses BAM blocks in parallel, and adds readers that select fields like scanBam(), apply the flag, mapping-quality and region filters of Rsamtools::ScanBamParam, and return a data.frame, DataFrame, scanBam-style list, GAlignments or GAlignmentPairs object. It also computes common summaries inside the multithreaded reader without creating per-read R objects: per-chromosome read counts, paired-end fragment-size and mapping-quality distributions, per-base coverage as an RleList, and coverage written directly to a bigWig file. Several BAM files can additionally be processed in parallel with BiocParallel.

Author: Chirag Parsania [aut, cre]

Maintainer: Chirag Parsania <chirag.parsania at gmail.com>

Citation (from within R, enter citation("BamScaleR")):
Seminal Bioconductor project articles:

Huber W, Carey VJ, Gentleman R, Anders S, Carlson M, Carvalho BS, Bravo HC, Davis S, Gatto L, Girke T, Gottardo R, Hahne F, Hansen KD, Irizarry RA, Lawrence M, Love MI, MacDonald J, Obenchain V, Oleś AK, Pagès H, Reyes A, Shannon P, Smyth GK, Tenenbaum D, Waldron L, Morgan M (2015). "Orchestrating high-throughput genomic analysis with Bioconductor." Nature Methods, 12(2), 115–121. doi:10.1038/nmeth.3252.

Gentleman RC, Carey VJ, Bates DM, Bolstad B, Dettling M, Dudoit S, Ellis B, Gautier L, Ge Y, Gentry J, Hornik K, Hothorn T, Huber W, Iacus S, Irizarry R, Leisch F, Li C, Maechler M, Rossini AJ, Sawitzki G, Smith C, Smyth G, Tierney L, Yang JYH, Zhang J (2004). "Bioconductor: open software development for computational biology and bioinformatics." Genome Biology, 5(10), R80. doi:10.1186/gb-2004-5-10-r80.

Installation

To install this package, start R (version "4.7") and enter:


if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

## The following initializes the development version of Bioconductor
BiocManager::install(version = "devel")

BiocManager::install("BamScaleR")

For older versions of R, please refer to the appropriate Bioconductor release.

Documentation

Reference Manual PDF

Details

biocViews Alignment, Coverage, DataImport, QualityControl, Sequencing, Software
Version 0.99.6
In Bioconductor since BioC 3.25 (R-4.7)
License MIT + file LICENSE
Depends
Imports BiocGenerics, BiocParallel, Biostrings, GenomeInfoDb, GenomicAlignments, GenomicRanges, IRanges, methods, ompBAM, parallel, Rcpp, Rsamtools, S4Vectors
System Requirements C++17, OpenMP (optional; enables multithreaded reading)
URL https://cparsania.github.io/BamScaleR/
Bug Reports https://github.com/cparsania/BamScaleR/issues
See More
Suggests BiocStyle, ggplot2, knitr, rmarkdown, rtracklayer, scales, testthat (>= 3.1.7), withr
Linking To Rcpp, ompBAM, S4Vectors, IRanges, XVector
Enhances
Depends On Me
Imports Me
Suggests Me
Links To Me
Build Report Build Report

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package
Windows Binary (x86_64)
macOS Binary (big-sur-x86_64)
macOS Binary (sonoma-arm64)
Source Repository git clone https://git.bioconductor.org/packages/BamScaleR
Source Repository (Developer Access) git clone git@git.bioconductor.org:packages/BamScaleR
Package Short Url https://bioconductor.org/packages/BamScaleR/
Package Downloads Report Download Stats