aa-colour

Crates.ioaa-colour
lib.rsaa-colour
version0.1.1
sourcesrc
created_at2020-09-09 16:19:24.530988
updated_at2020-09-09 16:19:24.530988
descriptionAdd some colours to your amino acids.
homepage
repositoryhttps://github.com/jeanmanguy/aa-colour
max_upload_size
id286741
size20,092
Jean Manguy (jeanmanguy)

documentation

README

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)
Commit count: 0

cargo fmt