1 unstable release
0.1.4 | Nov 1, 2020 |
---|
#331 in Biology
Used in aa_similarity
9KB
126 lines
aa-name
Contributing
The project is maintained by Jean Manguy. Please submit a bug report or a feature request on the Github issues page.
License
aa-name
is distributed under the terms of both the MIT license and the
Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.
lib.rs
:
AA-name
Base enum for amino acids (20 basic proteinoformes amino acids)
let ala: AminoAcid = "Ala".parse().unwrap();
assert_eq!(ala, AminoAcid::Alanine);
let tyr: AminoAcid = AminoAcid::try_from('Y').unwrap();
assert_eq!(tyr, AminoAcid::Tyrosine);
Dependencies
~255–710KB
~17K SLoC