SeqAn3
3.4.0
The Modern C++ library for sequence analysis.
Toggle main menu visibility
Loading...
Searching...
No Matches
gapped.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
2
// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
3
// SPDX-License-Identifier: BSD-3-Clause
4
10
11
#pragma once
12
13
#include <
seqan3/alphabet/composite/alphabet_variant.hpp
>
14
#include <
seqan3/alphabet/gap/gap.hpp
>
15
16
namespace
seqan3
17
{
18
36
template
<
typename
alphabet_t>
37
requires
writable_alphabet<alphabet_t>
38
using
gapped
=
alphabet_variant<alphabet_t, gap>
;
39
40
}
// namespace seqan3
41
42
namespace
seqan3::detail
43
{
44
// ---------------------------------------------------------------------------------------------------------------------
45
// is_gapped_alphabet constexpr variable
46
// ---------------------------------------------------------------------------------------------------------------------
47
50
template
<
typename
t>
51
constexpr
bool
is_gapped_alphabet =
false
;
52
55
template
<
typename
t>
56
constexpr
bool
is_gapped_alphabet<gapped<t>> =
true
;
57
58
}
// namespace seqan3::detail
alphabet_variant.hpp
Provides seqan3::alphabet_variant.
seqan3::alphabet_variant
A combined alphabet that can hold values of either of its alternatives..
Definition
alphabet_variant.hpp:127
gap.hpp
Provides seqan3::gap.
seqan3::gapped
alphabet_variant< alphabet_t, gap > gapped
Extends a given alphabet with a gap character.
Definition
gapped.hpp:38
seqan3
The main SeqAn3 namespace.
Definition
aligned_sequence_concept.hpp:26
Hide me
Version:
seqan3
alphabet
gap
gapped.hpp
Generated on
for SeqAn3 by
1.17.0