bpp-seq-omics
2.2.0
|
a coordinate range on a sequence. Stores coordinates as a Range<size_t> object, but also keep the strand information. More...
#include <Bpp/Seq/Feature/SequenceFeature.h>
Public Member Functions | |
SeqRange (size_t a, size_t b, char strand='.') | |
SeqRange * | clone () const |
virtual char | getStrand () const |
virtual bool | isNegativeStrand () const |
virtual bool | isStranded () const |
virtual void | invert () |
Private Attributes | |
char | strand_ |
a coordinate range on a sequence. Stores coordinates as a Range<size_t> object, but also keep the strand information.
Definition at line 75 of file SequenceFeature.h.
|
inline |
a | First position |
b | Second position |
strand | The strand information. Can take one of the four values: '+' for positive strand, '-' for negative, '.' if not stranded or '?' if strandedness is relevant but unknown. |
Definition at line 87 of file SequenceFeature.h.
References strand_.
Referenced by clone().
|
inline |
Definition at line 93 of file SequenceFeature.h.
References SeqRange().
|
inlinevirtual |
Definition at line 96 of file SequenceFeature.h.
References strand_.
|
inlinevirtual |
Definition at line 100 of file SequenceFeature.h.
References isNegativeStrand(), isStranded(), and strand_.
Referenced by bpp::BasicSequenceFeature::invert().
|
inlinevirtual |
Definition at line 98 of file SequenceFeature.h.
References strand_.
Referenced by bpp::SequenceFeatureTools::extract(), invert(), and bpp::BasicSequenceFeature::isNegativeStrand().
|
inlinevirtual |
Definition at line 99 of file SequenceFeature.h.
References strand_.
Referenced by invert(), and bpp::BasicSequenceFeature::isStranded().
|
private |
Definition at line 79 of file SequenceFeature.h.
Referenced by getStrand(), invert(), isNegativeStrand(), isStranded(), and SeqRange().