dabuild
dabuild provides your analysis with genome build metadata.
Example
Use GRCh38.p13 build (Homo sapiens):
use ;
use get_grch38_p13;
// Load the build
let build: GenomeBuild = get_grch38_p13;
// Check the basic credentials, such as major assembly and patch version
assert_eq!;
assert_eq!;
// Obtain a contig (e.g. `chrY`) by name ...
let y = build.contig_by_name;
assert!;
/// ... or by the GenBank accession ...
let y = build.contig_by_name;
assert!;
/// ... or by the RefSeq accession ...
let y = build.contig_by_name;
assert!;
/// ... or by the UCSC identifier.
let y = build.contig_by_name;
assert!;
Documentation
See more examples along with the complete documentation at docs.rs.