The protein structure alphabet of the characters "HGIEBTSCX".. More...
#include <seqan3/alphabet/structure/dssp9.hpp>
Public Member Functions | |
Constructors, destructor and assignment | |
constexpr | dssp9 () noexcept=default |
Defaulted. | |
constexpr | dssp9 (dssp9 const &) noexcept=default |
Defaulted. | |
constexpr | dssp9 (dssp9 &&) noexcept=default |
Defaulted. | |
constexpr dssp9 & | operator= (dssp9 const &) noexcept=default |
Defaulted. | |
constexpr dssp9 & | operator= (dssp9 &&) noexcept=default |
Defaulted. | |
~dssp9 () noexcept=default | |
Defaulted. | |
![]() | |
constexpr | alphabet_base () noexcept=default |
Defaulted. | |
constexpr | alphabet_base (alphabet_base const &) noexcept=default |
Defaulted. | |
constexpr | alphabet_base (alphabet_base &&) noexcept=default |
Defaulted. | |
constexpr alphabet_base & | operator= (alphabet_base const &) noexcept=default |
Defaulted. | |
constexpr alphabet_base & | operator= (alphabet_base &&) noexcept=default |
Defaulted. | |
~alphabet_base () noexcept=default | |
Defaulted. | |
constexpr char_type | to_char () const noexcept |
Return the letter as a character of char_type. More... | |
constexpr rank_type | to_rank () const noexcept |
Return the letter's numeric value (rank in the alphabet). More... | |
constexpr dssp9 & | assign_char (char_type const chr) noexcept |
Assign from a character, implicitly converts invalid characters. More... | |
constexpr dssp9 & | assign_rank (rank_type const c) noexcept |
Assign from a numeric value. More... | |
Related Functions | |
(Note that these are not member functions.) | |
Structure literals | |
constexpr dssp9 | operator""_dssp9 (char const ch) noexcept |
The seqan3::dssp9 char literal. More... | |
std::vector< dssp9 > | operator""_dssp9 (const char *str, std::size_t len) |
The seqan3::dssp9 string literal. More... | |
Additional Inherited Members | |
![]() | |
static constexpr detail::min_viable_uint_t< size > | alphabet_size |
The size of the alphabet, i.e. the number of different values it can take. More... | |
![]() | |
using | char_type = std::conditional_t< std::same_as< char, void >, char, char > |
The char representation; conditional needed to make semi alphabet definitions legal. More... | |
using | rank_type = detail::min_viable_uint_t< size - 1 > |
The type of the alphabet when represented as a number (e.g. via to_rank()). More... | |
The protein structure alphabet of the characters "HGIEBTSCX".
.
The DSSP annotation links structure elements to protein sequences. Originally created with 7 letters as a file format for the DSSP program (https://swift.cmbi.umcn.nl/gv/dssp/), it is also used in the stockholm file format for structure alignments, extended by the characters C and X (https://en.wikipedia.org/wiki/Stockholm_format).
The letter abbreviations are as follows:
H = alpha helix B = beta bridge E = strand G = helix-3 I = helix-5 T = turn S = bend C = coil/loop X = unknown
|
experimental-apirelated |
The seqan3::dssp9 char literal.
[in] | ch | The character to represent as dssp. |
You can use this char literal to assign a seqan3::dssp9 character:
|
experimental-apirelated |
The seqan3::dssp9 string literal.
[in] | str | A pointer to the character string to assign. |
[in] | len | The size of the character string to assign. |
You can use this string literal to easily assign to std::vector<seqan3::dssp9>: