Identifies amino acid alphabets. More...
#include <seqan3/alphabet/aminoacid/concept.hpp>
Related Functions | |
(Note that these are not member functions.) | |
template<typename type > | |
constexpr bool | is_aminoacid_v = is_aminoacid<type>::value |
Helper variable that delegates to seqan3::is_aminoacid<type>::value (UnaryTypeTrait shortcut). | |
Identifies amino acid alphabets.
Since an amino acid alphabet has no specific characteristics (like the complement function for nucleotide alphabets), we distinguish an amino acid alphabet by the seqan3::is_aminoacid unary type trait.
If you define your own alphabet and want it to be recognised as an amino acid alphabet by SeqAn, you need to specialise this type trait for your type and have it inherit std::true_type.