Class describing a Junction file. More...
#include <Junction.hpp>
Public Member Functions | |
JunctionFile (const std::string &name, const reference::CrrFile &) | |
Create a populated JunctionFile object in memory by reading an existing junction file. | |
void | read (const std::string &name, const reference::CrrFile &reference) |
Read junctions from a file. | |
void | write (const std::string &name, const reference::CrrFile &) |
Write a junction file representing this JunctionFile object. | |
void | add (const Junction &) |
Add a new junction. | |
Public Attributes | |
Junctions | junctions_ |
The junctions in this file. | |
util::DelimitedFile::Metadata | metadata_ |
Metadata. | |
std::string | fileName_ |
The name of the file the junctions were read from. | |
std::vector< std::string > | annotationHeaders_ |
List of the names of the extra "annotation" columns. | |
Static Public Attributes | |
static const std::string | header_ |
Header line. |
Class describing a Junction file.
cgatools::junctions::JunctionFile::JunctionFile | ( | const std::string & | name, | |
const reference::CrrFile & | ||||
) |
Create a populated JunctionFile object in memory by reading an existing junction file.