'2bit' 'C' Library

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: < https://github.com/ucscGenomeBrowser/kent-core/>. 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.


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.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("Rtwobitlib")

0.3.10 by Hervé Pagès, a year ago


https://github.com/hpages/Rtwobitlib


Report a bug at https://github.com/hpages/Rtwobitlib/issues


Browse source code at https://github.com/cran/Rtwobitlib


Authors: Hervé Pagès [aut, cre] , UC Regents [cph] (all the '.c' and '.h' files in src/kent/)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports tools

Suggests testthat, knitr, rmarkdown

System requirements: GNU make


See at CRAN