cgatools::junctions::JunctionSideSection Class Reference

Class describing the left or right side of a junction. More...

#include <Junction.hpp>

List of all members.

Public Member Functions

 JunctionSideSection ()
 The default constructor constructs an unknown junction side.
 JunctionSideSection (JunctionStrand, const reference::Location &position, int length, const std::string &repeatClassification, const std::string &genes)
 Constructor from strand/position/length.
void write (std::ostream &, const reference::CrrFile &) const
 serializes the junction side into a stream
int getDir (size_t side) const
 Returns 1 if the junction side points to increasing reference offsets and -1 otherwise.
reference::Location getBasePos (size_t side) const
 Returns the reference position closest to the breakpoint from the given junction side.

Public Attributes

JunctionStrand strand_
reference::Location position_
int length_
std::string repeatClassification_
std::string genes_

Detailed Description

Class describing the left or right side of a junction.


Member Function Documentation

reference::Location cgatools::junctions::JunctionSideSection::getBasePos ( size_t  side  )  const

Returns the reference position closest to the breakpoint from the given junction side.

int cgatools::junctions::JunctionSideSection::getDir ( size_t  side  )  const

Returns 1 if the junction side points to increasing reference offsets and -1 otherwise.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated by  doxygen 1.6.2