Learn R Programming

⚠️There's a newer version (0.3.9) of this package.Take me there.

Rtwobitlib is an R package that contains a trimmed down copy of the kent-core source tree turned into a C library for manipulation of .2bit files. See https://genome.ucsc.edu/FAQ/FAQformat.html#format7 for a quick overview of the 2bit format.

The kent-core source tree can be found here. Only the .c and .h files from the source tree that are related to manipulation of .2bit files were kept.

Note that the package is primarily useful to developers of other R packages who wish to use the 2bit C library in their own C/C++ code.

Copy Link

Version

Install

install.packages('Rtwobitlib')

Monthly Downloads

367

Version

0.3.8

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Hervé Pagès

Last Published

March 18th, 2025

Functions in Rtwobitlib (0.3.8)

twobit_seqstats

Extract sequence lengths and letter counts from a .2bit file
pkgconfig

Compiler configuration arguments for use of Rtwobitlib
twobit_roundtrip

Read/write a .2bit file