49template <writable_alphabet sequence_alphabet_t = aa27, writable_alphabet structure_alphabet_t = dssp9>
51 requires (!std::is_reference_v<sequence_alphabet_t>) && (!std::is_reference_v<structure_alphabet_t>)
55 sequence_alphabet_t, structure_alphabet_t>
60 sequence_alphabet_t, structure_alphabet_t>;
91#if SEQAN3_DOXYGEN_ONLY(1)0
98 template <
typename component_type>
107 template <
typename indirect_component_type>
116 template <
typename component_type>
125 template <
typename indirect_component_type>
133 using base_type::operator=;
169 return char_is_valid_for<sequence_alphabet_type>(c);
175template <
typename sequence_alphabet_type,
typename structure_alphabet_type>
Provides seqan3::aa27, container aliases and string literals.
Core alphabet concept and free function/type trait wrappers.
Provides seqan3::alphabet_tuple_base.
The CRTP base for a combined alphabet that contains multiple values of different alphabets at the sam...
Definition: alphabet_tuple_base.hpp:124
A seqan3::alphabet_tuple_base that joins an aminoacid alphabet with a protein structure alphabet....
Definition: structured_aa.hpp:56
constexpr structured_aa(component_type const alph)
Construction via a value of one of the components.
Definition: structured_aa.hpp:99
sequence_alphabet_t sequence_alphabet_type
First template parameter as member type.
Definition: structured_aa.hpp:66
constexpr char_type to_char() const noexcept
Return a character. This reads the internal sequence letter.
Definition: structured_aa.hpp:157
constexpr structured_aa & operator=(component_type const alph)
Assignment via a value of one of the components.
Definition: structured_aa.hpp:117
static constexpr bool char_is_valid(char_type const c) noexcept
Validate whether a character is valid in the sequence alphabet.
Definition: structured_aa.hpp:167
structure_alphabet_t structure_alphabet_type
Second template parameter as member type.
Definition: structured_aa.hpp:71
constexpr structured_aa() noexcept=default
Defaulted.
alphabet_char_t< sequence_alphabet_type > char_type
Equals the char_type of sequence_alphabet_type.
Definition: structured_aa.hpp:77
constexpr structured_aa & operator=(indirect_component_type const alph)
Assignment via a value of a subtype that is assignable to one of the components.
Definition: structured_aa.hpp:126
constexpr structured_aa(indirect_component_type const alph)
Construction via a value of a subtype that is assignable to one of the components.
Definition: structured_aa.hpp:108
constexpr structured_aa & assign_char(char_type const c) noexcept
Assign from a nucleotide character. This modifies the internal sequence letter.
Definition: structured_aa.hpp:143
structured_aa(sequence_alphabet_type &&, structure_alphabet_type &&) -> structured_aa< std::decay_t< sequence_alphabet_type >, std::decay_t< structure_alphabet_type > >
Type deduction guide enables usage of structured_aa without specifying template args.
Provides the dssp format for protein structure.
constexpr auto assign_char_to
Assign a character to an alphabet object.
Definition: concept.hpp:526
constexpr auto to_char
Return the char representation of an alphabet object.
Definition: concept.hpp:387
decltype(seqan3::to_char(std::declval< alphabet_type const >())) alphabet_char_t
The char_type of the alphabet; defined as the return type of seqan3::to_char.
Definition: concept.hpp:399
The main SeqAn3 namespace.
Definition: cigar_operation_table.hpp:2