Package: BamScaleR 0.99.6

Chirag Parsania

BamScaleR: Bioconductor-Friendly Multithreaded BAM Processing

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.

Authors:Chirag Parsania [aut, cre]

BamScaleR_0.99.6.tar.gz
BamScaleR_0.99.6.zip(r-4.7-x86_64)BamScaleR_0.99.6.zip(r-4.7-arm64)BamScaleR_0.99.6.zip(r-4.6-x86_64)BamScaleR_0.99.6.zip(r-4.6-arm64)BamScaleR_0.99.6.zip(r-4.5-x86_64)
BamScaleR_0.99.6.tgz(r-4.6-x86_64)BamScaleR_0.99.6.tgz(r-4.6-arm64)BamScaleR_0.99.6.tgz(r-4.5-x86_64)BamScaleR_0.99.6.tgz(r-4.5-arm64)
BamScaleR_0.99.6.tar.gz(r-4.7-arm64)BamScaleR_0.99.6.tar.gz(r-4.7-x86_64)BamScaleR_0.99.6.tar.gz(r-4.6-arm64)BamScaleR_0.99.6.tar.gz(r-4.6-x86_64)
BamScaleR_0.99.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
BamScaleR/json (API)

# Install 'BamScaleR' in R:
install.packages('BamScaleR', repos = c('https://bioc.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/cparsania/bamscaler/issues

Pkgdown/docs site:https://cparsania.github.io

Uses libs:
  • zlib– Compression library
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

softwaredataimportsequencingcoveragealignmentqualitycontrolzlibcppopenmp

4.11 score 9 exports 35 dependencies

Last updated from:34d0c3c7d1. Checks:1 NOTE, 15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
bioc-checksNOTE200
linux-devel-arm64OK291
linux-devel-x86_64OK455
source / vignettesOK307
linux-release-arm64OK281
linux-release-x86_64OK340
macos-release-arm64OK343
macos-release-x86_64OK464
macos-oldrel-arm64OK371
macos-oldrel-x86_64OK526
windows-devel-arm64OK428
windows-devel-x86_64OK351
windows-release-arm64OK439
windows-release-x86_64OK331
windows-oldrel-x86_64OK280
wasm-releaseOK121

Exports:bam_countbam_coveragebam_coverage_bigwigbam_readdecode_compact_qualdecode_compact_seqdecode_seqqual_compactfragment_sizesmapq_dist

Dependencies:askpassBHBiocGenericsBiocParallelBiostringsbitopscigarillocodetoolscpp11crayoncurlformatRfutile.loggerfutile.optionsgenericsGenomeInfoDbGenomicAlignmentsGenomicRangeshttrIRangesjsonlitelambda.rmimeompBAMopensslR6RcppRhtslibRsamtoolsS4VectorsSeqinfosnowsysUCSC.utilsXVector

Benchmarking BamScaleR: reader throughput and end-to-end workflow impact
Overview | Read throughput on a single large BAM | End-to-end impact tracks the read fraction | A note on cores and fairness | Beyond reading: in-reader aggregation | Output is identical to the standard tools | Try it | Data provenance | Reproducing the full benchmarks | Session information

Last update: 2026-11-23
Started: 2026-04-20

Getting started with BamScaleR
Introduction | Installation | Multithreading and OpenMP | Basic usage | Metadata-oriented BAM access | Filtering with ScanBamParam | Alignment-object output | Sequence and quality extraction | Fast count summaries | Summaries computed inside the reader | Fragment-size distribution: fragment_sizes() | Mapping-quality distribution: mapq_dist() | Per-base coverage: bam_coverage() | Coverage straight to a bigWig file: bam_coverage_bigwig() | Several files at once | Relationship to existing Bioconductor tools | BamScaleR and ompBAM | Session information

Last update: 2026-11-23
Started: 2026-10-06