Open edawson opened 6 years ago
String output currently builds a stringstream, which is fine for small graphs but pretty ugly for huge ones. We should refactor this. One suggestion:
Have a helper function that takes an ostream (either fstream or stringstream).
Another thought - we should refactor away from the OG GFA1 structs. We can just represent everything under the hood in GFA2 structs. This prevents the madness that is the gfa_1_ize() and gfa_2_ize() functions.
String output currently builds a stringstream, which is fine for small graphs but pretty ugly for huge ones. We should refactor this. One suggestion:
Have a helper function that takes an ostream (either fstream or stringstream).