Package: cigarillo 1.1.0

Image

Hervé Pagès

cigarillo: Efficient manipulation of CIGAR strings

CIGAR stands for Concise Idiosyncratic Gapped Alignment Report. CIGAR strings are found in the BAM files produced by most aligners and in the AIRR-formatted output produced by IgBLAST. The cigarillo package provides functions to parse and inspect CIGAR strings, trim them, turn them into ranges of positions relative to the "query space" or "reference space", and project positions or sequences from one space to the other. Note that these operations are low-level operations that the user rarely needs to perform directly. More typically, they are performed behind the scene by higher-level functionality implemented in other packages like Bioconductor packages GenomicAlignments and igblastr.

Authors:Hervé Pagès [aut, cre], Valerie Obenchain [aut], Michael Lawrence [aut], Patrick Aboyoun [ctb], Fedor Bezrukov [ctb], Martin Morgan [ctb]

cigarillo_1.1.0.tar.gz
cigarillo_1.1.0.zip(r-4.6)cigarillo_1.1.0.zip(r-4.5)cigarillo_1.1.0.zip(r-4.4)
cigarillo_1.1.0.tgz(r-4.6-x86_64)cigarillo_1.1.0.tgz(r-4.6-arm64)cigarillo_1.1.0.tgz(r-4.5-x86_64)cigarillo_1.1.0.tgz(r-4.5-arm64)
cigarillo_1.1.0.tar.gz(r-4.6-arm64)cigarillo_1.1.0.tar.gz(r-4.6-x86_64)cigarillo_1.1.0.tar.gz(r-4.5-arm64)cigarillo_1.1.0.tar.gz(r-4.5-x86_64)
cigarillo_1.1.0.tgz(r-4.5-emscripten)
cigarillo.pdf |cigarillo.html
cigarillo/json (API)

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

Bug tracker:https://github.com/bioconductor/cigarillo/issues

On BioConductor:cigarillo-1.1.0(bioc 3.23)cigarillo-1.0.0(bioc 3.22)

infrastructurealignmentsequencematchingsequencingbioconductor-packagecore-package

8.84 score 541 packages 5 scripts 21k downloads 22 exports 8 dependencies

Last updated from:f89db3d462. Checks:9 NOTE, 2 OK, 3 WARNING. Indexed: yes.

TargetResultTotal timeArtifact
bioc-checksNOTE226
linux-devel-arm64NOTE244
linux-devel-x86_64NOTE322
source / vignettesOK327
linux-release-arm64NOTE270
linux-release-x86_64NOTE285
macos-devel-arm64NOTE194
macos-devel-x86_64NOTE571
macos-release-arm64NOTE294
macos-release-x86_64NOTE456
windows-develWARNING363
windows-releaseWARNING263
windows-oldrelWARNING220
wasm-releaseOK201

Exports:cigar_extent_along_pwacigar_extent_along_querycigar_extent_along_refCIGAR_OPScigar_ops_visibilitycigars_as_ranges_along_pwacigars_as_ranges_along_querycigars_as_ranges_along_refcigars_as_RleListexplode_cigar_oplensexplode_cigar_opsfast_map_ref_ranges_to_querymap_ref_ranges_to_querynarrow_cigars_along_querynarrow_cigars_along_refproject_sequencesquery_pos_as_ref_posref_pos_as_query_postabulate_cigar_opstrim_cigars_along_querytrim_cigars_along_refvalidate_cigars

Dependencies:BiocGenericsBiostringscrayongenericsIRangesS4VectorsSeqinfoXVector

The cigarillo package

Rendered fromcigarillo.Rmdusingknitr::rmarkdownon Feb 02 2026.

Last update: 2025-09-21
Started: 2025-09-20

Readme and manuals

Help Manual

Help pageTopics
Efficient manipulation of CIGAR stringscigarillo-package cigarillo
Calculate the number of positions spanned by a CIGAR stringcigar_extent cigar_extent_along_pwa cigar_extent_along_query cigar_extent_along_ref
Visibility of CIGAR operationsCIGAR_OPS cigar_ops_visibility
Turn CIGAR strings into ranges of positionscigars_as_ranges cigars_as_ranges_along_pwa cigars_as_ranges_along_query cigars_as_ranges_along_ref
Explode CIGAR stringscigars_as_RleList explode_cigars explode_cigar_oplens explode_cigar_ops validate_cigars
Map ranges relative to reference space to query spacefast_map_ref_ranges_to_query map_ref_ranges_to_query
Project positions from query to reference space and vice versaproject_positions query_pos_as_ref_pos ref_pos_as_query_pos
Project sequences from one space to the otherproject_sequences
Tabulate CIGAR operationstabulate_cigar_ops
Trim CIGAR strings along the reference or query spacenarrow_cigars_along_query narrow_cigars_along_ref trim_cigars trim_cigars_along_query trim_cigars_along_ref

  • Image