Loading...
Searching...
No Matches
aligned_sequence_concept.hpp File Reference

Includes the aligned_sequence and the related insert_gap and erase_gap functions to enable stl container support. More...

`#include <algorithm>`
`#include <ranges>`
`#include <seqan3/alignment/exception.hpp>`
`#include <seqan3/alphabet/gap/gapped.hpp>`
`#include <seqan3/alphabet/range/sequence.hpp>`
`#include <seqan3/utility/container/concept.hpp>`
Include dependency graph for aligned_sequence_concept.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Namespaces

namespace | seqan3
| The main SeqAn3 namespace.

## Functions

Aligned sequence interface for ranges that have the corresponding member functions.
Enables ranges to model seqan3::aligned_sequence if they have the member functions insert_gap() and erase_gap().
template<typename range_type> requires requires (range_type v) { v.erase_gap(std::ranges::iterator_t<range_type>{}, std::ranges::iterator_t<range_type>{}); }
std::ranges::iterator_t< range_type > | seqan3::erase_gap (range_type &rng, std::ranges::iterator_t< range_type > const first, std::ranges::iterator_t< range_type > const last)
| An implementation of seqan3::writable_aligned_sequence::erase_gap for ranges with the corresponding member function erase_gap(first, last).
template<typename range_type> requires requires (range_type v) { v.erase_gap(std::ranges::iterator_t<range_type>{}); }
std::ranges::iterator_t< range_type > | seqan3::erase_gap (range_type &rng, std::ranges::iterator_t< range_type > const pos_it)
| An implementation of seqan3::writable_aligned_sequence::erase_gap for ranges with the corresponding member function erase_gap(it).
template<typename range_type> requires requires (range_type v) { v.insert_gap(std::ranges::iterator_t<range_type>{}); v.insert_gap(std::ranges::iterator_t<range_type>{}, typename range_type::size_type{}); }
std::ranges::iterator_t< range_type > | seqan3::insert_gap (range_type &rng, std::ranges::iterator_t< range_type > const pos_it, typename range_type::size_type const size=1)
| An implementation of seqan3::writable_aligned_sequence::insert_gap for ranges with the corresponding member function insert_gap(it, size).

## Detailed Description

Includes the aligned_sequence and the related insert_gap and erase_gap functions to enable stl container support.

Author
  Svenja Mehringer <svenja.mehringer AT fu-berlin.de>

Hide me