Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jltsiren committed Jan 16, 2021
1 parent abf946b commit 01ce5d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions gfa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,7 @@ gfa_to_gbwt(const std::string& gfa_filename, const GFAParsingParameters& paramet
}
if(gfa_file.paths() > 0 && gfa_file.walks() > 0)
{
// TODO: Add an option to index both paths and walks.
if(parameters.show_progress)
{
std::cerr << "Indexing walks and ignoring paths" << std::endl;
Expand Down
4 changes: 4 additions & 0 deletions include/gbwtgraph/gfa.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,14 @@ struct GFAParsingParameters
2. There are no containments.
Link lines are ignored, and the edges are instead derived from the paths.
If the construction failes, the return value is `(nullptr, nullptr)`.
The construction is done in several passes over a memory-mapped GFA file. The
function returns the GBWT index and a sequence source for GBWTGraph construction.
If the GFA file contains both P-lines and W-lines, only W-lines will be used.
Metadata from P-lines and W-lines cannot be combined yet.
If there are segments longer than the maximum length specified in the parameters,
such segments will be broken into nodes of that length. If segment identifiers are
not positive integers, they will be translated into such identifiers. In both
Expand Down

0 comments on commit 01ce5d9

Please sign in to comment.