To install this package, start R and enter:

## try http:// if https:// URLs are not supported

In most cases, you don't need to download the package archive at all.



This is the development version of Rsamtools; for the stable release version, see Rsamtools.

Binary alignment (BAM), FASTA, variant call (BCF), and tabix file import

Bioconductor version: Development (3.6)

This package provides an interface to the 'samtools', 'bcftools', and 'tabix' utilities (see 'LICENCE') for manipulating SAM (Sequence Alignment / Map), FASTA, binary variant call (BCF) and compressed indexed tab-delimited (tabix) files.

Author: Martin Morgan, Herv\'e Pag\`es, Valerie Obenchain, Nathaniel Hayden

Maintainer: Bioconductor Package Maintainer <maintainer at>

Citation (from within R, enter citation("Rsamtools")):


To install this package, start R and enter:

## try http:// if https:// URLs are not supported


To view documentation for the version of this package installed in your system, start R and enter:



PDF R Script An introduction to Rsamtools
PDF R Script Using samtools C libraries
PDF   Reference Manual
Text   NEWS
Video   pileup in Rsamtools


biocViews Alignment, Coverage, DataImport, QualityControl, Sequencing, Software
Version 1.29.1
In Bioconductor since BioC 2.6 (R-2.11) (7.5 years)
License Artistic-2.0 | file LICENSE
Depends methods, GenomeInfoDb(>= 1.1.3), GenomicRanges(>= 1.21.6), Biostrings(>= 2.37.1)
Imports utils, BiocGenerics(>= 0.1.3), S4Vectors(>= 0.13.8), IRanges(>= 2.3.7), XVector(>= 0.15.1), zlibbioc, bitops, BiocParallel
LinkingTo S4Vectors, IRanges, XVector, Biostrings
Suggests GenomicAlignments, ShortRead(>= 1.19.10), GenomicFeatures, TxDb.Dmelanogaster.UCSC.dm3.ensGene, KEGG.db, TxDb.Hsapiens.UCSC.hg18.knownGene, RNAseqData.HNRNPC.bam.chr14, BSgenome.Hsapiens.UCSC.hg19, pasillaBamSubset, RUnit, BiocStyle
Depends On Me ArrayExpressHTS, BaalChIP, BitSeq, chimera, CODEX, contiBAIT, CoverageView, exomeCopy, exomePeak, GenoGAM, GenomicAlignments, GenomicFiles, girafe, gmapR, Guitar, HelloRanges, IntEREst, leeBamViews, MEDIPS, methylPipe, MMDiff2, oneChannelGUI, podkat, qrqc, r3Cseq, Rcade, ReQON, rfPred, RIPSeeker, rnaSeqMap, SGSeq, ShortRead, SICtools, SNPhood, ssviz, systemPipeR, TarSeqQC, TBX20BamSubset, TEQC, TitanCNA, VariantAnnotation, wavClusteR
Imports Me AllelicImbalance, alpine, AneuFinder, annmap, AnnotationHubData, ArrayExpressHTS, ATACseqQC, BadRegionFinder, BBCAnalyzer, biovizBase, BSgenome, CAGEr, casper, cellbaseR, CexoR, chimeraviz, ChIPComp, ChIPexoQual, ChIPpeakAnno, ChIPQC, chromstaR, cn.mops, CNVPanelizer, CNVrd2, compEpiTools, CopywriteR, CrispRVariants, csaw, customProDB, derfinder, DEXSeq, DiffBind, diffHic, DOQTL, easyRNASeq, EDASeq, ensembldb, epigenomix, eudysbiome, FourCSeq, FunChIP, FunciSNP, gcapc, GeneGeneInteR, genomation, GenomicAlignments, GenomicInteractions, GenVisR, ggbio, GGtools, GoogleGenomics, GOTHiC, GreyListChIP, GUIDEseq, Gviz, gwascat, h5vc, HTSeqGenie, IMAS, INSPEcT, karyoploteR, ldblock, LungCancerLines, MADSEQ, maftools, metagene, methylKit, mosaics, motifmatchr, msgbsR, nucleR, PGA, PICS, PureCN, QDNAseq, qsea, QuasR, R453Plus1Toolbox, ramwas, Rariant, Repitools, RiboProfiling, riboSeqR, RNAprobR, Rqc, rtracklayer, segmentSeq, seqplots, soGGi, SplicingGraphs, TCseq, tracktables, trackViewer, transcriptR, TransView, TSRchitect, TVTB, VariantFiltering, VariantTools
Suggests Me AnnotationHub, bamsignals, BaseSpaceR, BiocParallel, biomvRCNS, Chicago, gage, GenomeInfoDb, GenomicDataCommons, GenomicFeatures, GenomicRanges, GeuvadisTranscriptExpr, gQTLstats, IRanges, metaseqR, parathyroidSE, recoup, RnaSeqTutorial, seqbias, SigFuge, similaRpeak, Streamer
Build Report  

Package Archives

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

Package Source Rsamtools_1.29.1.tar.gz
Windows Binary (32- & 64-bit)
Mac OS X 10.11 (El Capitan) Rsamtools_1.29.1.tgz
Source Repository git clone
Package Short Url
Package Downloads Report Download Stats

Documentation »


R / CRAN packages and documentation

Support »

Please read the posting guide. Post questions about Bioconductor to one of the following locations: