brrrr-lib 0.9.8

About Tools to process biological sequences and annotations to modern file formats.
Documentation

brrrr

brrrr and in particular, brrrr_lib, is a library for supporting writing genomics file formats in file formats that are usable by general-purpose analytics infrastructure, e.g. Spark.

Quick Start

For example, to write a FASTA file to the stdout.

use std::io::stdout;

use brrrr_lib::json_writer::fa2jsonl;

fn main() {
let example_input = b">A\nATCG\n>B\nGCTA" as &[u8];
fa2jsonl(example_input, &mut stdout()).expect("Error... :(");
}

fa2jsonl relies on JsonRecordWriter, which knows how to parse the input fasta bytes and write them to objects that implement Write.