aa-colour 0.1.1

Add some colours to your amino acids.
Documentation
  • Coverage
  • 13.04%
    6 out of 46 items documented3 out of 18 items with examples
  • Size
  • Source code size: 21.68 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.06 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 14s Average build duration of successful builds.
  • all releases: 14s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • jeanmanguy

aa-colour stability-experimental

Rust Rust Documentation Crates.io version Crates.io license

🎨 Add colours to your amino acids in the terminal.

Code inspired from the crates owo-colors and colored.

Usage

use aa_colour::{AaColourise, palettes::Clustal};

println!("{}", AaColour::colour::<Clustal>(&'A').unwrap());
println!("{}", AaColour::blank::<Clustal>(&'-').unwrap());

Features

  • colourise a single amino acid according to different palettes
    • Clustal
    • Amino acid scales
      • Hydrophobicity
      • Disorder propensity
      • etc.
  • allow for amino acids to not be coloured (for protein alignments)