Skip to content

Commit

Permalink
Print depth median for long reads.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuak94 committed Nov 29, 2019
1 parent 13d81af commit b67a6d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/readdepth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ void ReadDepth::prepAfterHeaderParsing(seqan::BamHeader& header, seqan::BamFileI
std::sort(backgroundDepth.begin(), backgroundDepth.end(), [](auto &left, auto &right) {return left < right;} );
double medianDepth = MID_ELEMENT(backgroundDepth);
this->setMedianDepth( medianDepth );

printMessage("Depth median for long reads: " + std::to_string(medianDepth))
}
}

Expand Down

0 comments on commit b67a6d9

Please sign in to comment.