Loading...
Searching...
No Matches
gapped.hpp
Go to the documentation of this file.
// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause
#pragma once
#include <seqan3/alphabet/composite/alphabet_variant.hpp>
#include <seqan3/alphabet/gap/gap.hpp>
namespace seqan3
{
template <typename alphabet_t>
requires writable_alphabet<alphabet_t>
using gapped = alphabet_variant<alphabet_t, gap>;
} // namespace seqan3
namespace seqan3::detail
{
// ---------------------------------------------------------------------------------------------------------------------
// is_gapped_alphabet constexpr variable
// ---------------------------------------------------------------------------------------------------------------------
template <typename t>
constexpr bool is_gapped_alphabet = false;
template <typename t>
constexpr bool is_gapped_alphabet<gapped<t>> = true;
} // 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