| 198 | } |
| 199 | |
| 200 | static FastaRecord newContig(const Graph& g, |
| 201 | const ContigNode& t, const ContigNode& v, |
| 202 | int dist, const string& seq) |
| 203 | { |
| 204 | ostringstream comment; |
| 205 | comment << seq.length() << " 0 " |
| 206 | << get(vertex_name, g, t) << ' ' |
| 207 | << get(vertex_name, g, v) << ' ' << dist; |
| 208 | return FastaRecord(createContigName(), comment.str(), seq); |
| 209 | } |
| 210 | |
| 211 | /** An overlap of two sequences. */ |
| 212 | struct Overlap : public DistanceEst { |
no test coverage detected