You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/subcommand/viz_main.cpp
+62-2Lines changed: 62 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@
12
12
#include"utils.hpp"
13
13
#include"colorbrewer.hpp"
14
14
#include"split.hpp"
15
+
#include<fstream>
16
+
#include<unordered_set>
15
17
16
18
//#define debug_odgi_viz
17
19
@@ -72,6 +74,7 @@ namespace odgi {
72
74
{'N', "color-by-uncalled-bases"});
73
75
args::ValueFlag<char> color_by_prefix(viz_opts, "CHAR", "Color paths by their names looking at the prefix before the given"
74
76
" character CHAR.",{'s', "color-by-prefix"});
77
+
args::ValueFlag<std::string> highlight_node_ids(viz_opts, "FILE", "Color nodes listed in FILE (one id per row) in red and all other nodes in grey.", {'J', "highlight-node-ids"});
75
78
// TODO
76
79
args::ValueFlag<std::string> _name_prefixes(viz_opts, "FILE", "Merge paths beginning with prefixes listed (one per line) in *FILE*.", {'M', "prefix-merges"});
77
80
args::ValueFlag<std::string> _ignore_prefix(viz_opts, "PREFIX", "Ignore paths starting with the given *PREFIX*.", {'I', "ignore-prefix"});
0 commit comments