Skip to content

Commit

Permalink
Add GFA2 specific elements
Browse files Browse the repository at this point in the history
  • Loading branch information
edawson committed Jul 17, 2017
1 parent 2d3dbbd commit e4409a4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/gfakluge.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ namespace gfak{
struct sequence_elem{
std::string sequence;
std::string name;
int length;
vector<opt_elem> opt_fields;
long id;

Expand All @@ -119,6 +120,27 @@ namespace gfak{
};


// These elements, along with the <length> field in sequence_elem,
// are all that's needed to parse to GFA2
struct edge_elem{

};

struct gap_elem{

};

struct fragment_elem{

};

struct group_elem{
std::string id;
bool ordered = false;
std::vector<string> items;
std::vector<string> orientations;
};

class GFAKluge{
friend std::ostream& operator<<(std::ostream& os, GFAKluge& g);

Expand Down

0 comments on commit e4409a4

Please sign in to comment.