Skip to content

Commit bf5a48f

Browse files
Merge pull request #608 from pangenome/odgi_stats_header
Add header to output for sample counts in stats command
2 parents be6a020 + 30e1bcd commit bf5a48f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/subcommand/stats_main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ int main_stats(int argc, char** argv) {
382382
std::cout << " shell: " << sample_count.second.shell << std::endl;
383383
}
384384
} else {
385+
std::cout << "#name\tcore\tprivate\tshell" << std::endl;
385386
for (auto& sample_count : sample_counts) {
386387
std::cout << sample_count.first << "\t" << sample_count.second.core << "\t" << sample_count.second.priv
387388
<< "\t" << sample_count.second.shell << std::endl;

0 commit comments

Comments
 (0)