minced-parser 2.0.0

A parser for the output of the MinCED CRISPR array annotation tool
Documentation
  • Coverage
  • 100%
    27 out of 27 items documented1 out of 7 items with examples
  • Size
  • Source code size: 52.83 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.48 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 18s Average build duration of successful builds.
  • all releases: 18s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • jimrybarski/minced-parser
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • jimrybarski

minced-parser

A Rust parser for the MinCED CRISPR array annotation tool.

Installation

Add the following to Cargo.toml:

minced-parser = 2.0.0

Usage

use std::fs::File;
use std::io::{BufReader, Read};

fn main() {
    let file = File::open("minced.txt").unwrap();
    let mut reader = BufReader::new(file);
    let mut input = String::new();
    reader.read_to_string(&mut input).unwrap();
    let contigs = minced_parser::parse(&input).unwrap();
    for contig in contigs {
        println!("{} has {} arrays", contig.accession, contig.arrays.len());
    }
}

Documentation

Docs are hosted here.