16 unstable releases (6 breaking)

new 0.10.0 Dec 6, 2024
0.9.0 Jul 12, 2024
0.8.2 Mar 8, 2024
0.6.0 Jun 29, 2023
0.4.1 Jul 22, 2021

#173 in Biology

Download history 14/week @ 2024-08-21 19/week @ 2024-08-28 11/week @ 2024-09-04 19/week @ 2024-09-11 32/week @ 2024-09-18 47/week @ 2024-09-25 21/week @ 2024-10-02 31/week @ 2024-10-09 18/week @ 2024-10-16 8/week @ 2024-10-23 16/week @ 2024-10-30 14/week @ 2024-11-06 19/week @ 2024-11-13 16/week @ 2024-11-20 17/week @ 2024-11-27 190/week @ 2024-12-04

245 downloads per month
Used in 4 crates

Custom license

205KB
3.5K SLoC

libradicl

Libradicl is a Rust library for reading (and eventually writing and manipulating) Reduced Alignment Data (RAD) format files. These files are produced by salmon when preparing data for single-cell quantification with alevin-fry.

Currently, libradicl has primarily been developed in support of alevin-fry, so it has not been fully developed as as a general library quite yet. Eventually, we anticipate there will be a reorganization and a stabalization of the API.


lib.rs:

libradicl is a crate for reading (and writing) RAD (Reduced Alignment Data) format files. The RAD format is a binary format designed to encode alignment information about sequencing reads and how they map to a set of targets (a genome, metagenome, transcriptome, etc.). The format is "reduced" because it is allowed to contain sparser information than e.g. a SAM format file.

While the eventual goal of this crate is to provide a generic API to read and write RAD files that may be designed for any purpose, it is driven mostly by our (the COMBINE-lab's) needs within the tools we produce that use the RAD format (e.g. alevin-fry and piscem-infer). Thus, features are generally developed and added in the order that is most urgent to the development of these tools. However, we welcome external contributions via pull requests, and are happy to discuss your potential use cases for the RAD format, and how they might be supported.

This crate is broken into several components that cover the various parts of RAD files including the type tag system, the header, and the main data chunks. The names of each module are fairly self-explanatory.

Dependencies

~10–17MB
~228K SLoC