19 #ifndef OST_SEQ_ALIGNED_REGION_HH
20 #define OST_SEQ_ALIGNED_REGION_HH
29 namespace ost {
namespace seq {
42 int start,
int end,
int master=-1);
Provides access to a column in a aligned region or a sequence alignment.
represents a region in a sequence alignment
AlignedRegion(const AlignmentHandle &aln, int start, int end, int master=-1)
void ShiftRight(int n)
shift the aligned region of the master sequence to the right by n characters.
AlignedColumnIterator iterator
bool operator==(const AlignedRegion &rhs) const
AlignedColumnIterator end()
iterator pointing at end of aligned region.
int GetEnd() const
get end of aligned region
int GetStart() const
get start of aligned region
AlignmentHandle GetAlignmentHandle() const
retrieve alignment handle for aligned region
int GetLength() const
length of the aligned region
AlignedColumnIterator begin()
iterator pointing at start of aligned region
bool operator!=(const AlignedRegion &rhs) const
void ShiftLeft(int n)
shift the aligned region of the master sequence to the left by n characters.
AlignedColumn operator[](int index) const
get aligned column at given index
void Delete()
delete interval and update length of AlignedRegion
void SetMaster(int master)
void Replace(const AlignedRegion &aln_r)
replace region with content of AlignedRegion and set length to length of aln_r
representation of a multiple sequence alignemnt consisting of two or more sequences
pointer_it< T > end(const std::vector< T > &values)
std::vector< AlignedRegion > AlignedRegionList
#define DLLEXPORT_OST_SEQ