15 unstable releases (5 breaking)

0.9.0 Jul 12, 2024
0.8.2 Mar 8, 2024
0.8.0 Feb 26, 2024
0.6.0 Jun 29, 2023
0.4.1 Jul 22, 2021

#241 in Biology

Download history 25/week @ 2024-07-21 24/week @ 2024-07-28 2/week @ 2024-08-04 7/week @ 2024-08-11 11/week @ 2024-08-18 20/week @ 2024-08-25 12/week @ 2024-09-01 15/week @ 2024-09-08 17/week @ 2024-09-15 65/week @ 2024-09-22 20/week @ 2024-09-29 24/week @ 2024-10-06 28/week @ 2024-10-13 9/week @ 2024-10-20 14/week @ 2024-10-27 10/week @ 2024-11-03

65 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

~9–16MB
~205K SLoC