Skip to content

Commit

Permalink
Merge pull request #541 from pangenome/refresh_documentation
Browse files Browse the repository at this point in the history
`odgi paths ... --non-reference-nodes`: emit also node length
  • Loading branch information
AndreaGuarracino authored Dec 4, 2023
2 parents 861b1c0 + 36b1220 commit 46aa3d6
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 2 deletions.
Binary file modified docs/img/DRB1-3123.du.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/DRB1-3123.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/DRB1-3123.z.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/LPA.b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/LPA.bm.VNTRs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/LPA.bm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/subcommand/paths_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ int main_paths(int argc, char** argv) {
}

// Emit non-reference nodes
std::cout << "#node.id\tpaths" << std::endl;
std::cout << "#node.id\tnode.len\tpaths" << std::endl;
for (auto x : non_reference_nodes) {
const handle_t handle = graph.get_handle(x + shift);

Expand All @@ -433,7 +433,7 @@ int main_paths(int argc, char** argv) {
result += graph.get_path_name(path);
}

std::cout << graph.get_id(handle) << "\t" << result << std::endl;
std::cout << graph.get_id(handle) << "\t" << graph.get_length(handle) << "\t" << result << std::endl;
}
} else {
// Emit non-reference ranges
Expand Down

0 comments on commit 46aa3d6

Please sign in to comment.