Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/subcommand/stats_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1119,13 +1119,13 @@ int main_stats(int argc, char** argv) {
}
cout << "Matches: " << combined.total_matched_bases << " bp";
if (combined.total_alignments > 0) {
cout << " (" << combined.total_matched_bases / static_cast<double>(combined.total_alignments) << " bp/alignment)";
cout << " (" << combined.total_matched_bases / static_cast<double>(combined.total_aligned) << " bp/aligned)";
}
cout << endl;
cout << "Softclips: " << combined.total_softclipped_bases << " bp";
if (combined.total_alignments > 0) {
cout << " (" << 100 * combined.total_softclipped_bases / static_cast<double>(combined.total_bases) << "% of bases, "
<< combined.total_softclipped_bases / static_cast<double>(combined.total_alignments) << " bp/alignment)";
<< combined.total_softclipped_bases / static_cast<double>(combined.total_aligned) << " bp/aligned)";
}
cout << " in " << combined.total_softclips << " read events" << endl;
if(verbose) {
Expand Down
4 changes: 2 additions & 2 deletions test/correct/10_vg_stats/15.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Mapping quality: mean 60, median 60, stdev 0, max 60 (100 reads)
Insertions: 0 bp in 0 read events
Deletions: 0 bp in 0 read events
Substitutions: 0 bp in 0 read events
Matches: 10000 bp (100 bp/alignment)
Softclips: 0 bp (0% of bases, 0 bp/alignment) in 0 read events
Matches: 10000 bp (100 bp/aligned)
Softclips: 0 bp (0% of bases, 0 bp/aligned) in 0 read events
Unvisited nodes: 4/208 (4 bp)
Single-visited nodes: 11/208 (18 bp)
Significantly biased heterozygous sites: 2/62 (3.22581%)
Loading