Skip to content
Snippets Groups Projects
Commit bb1b7cca authored by Aaron's avatar Aaron
Browse files

Code gussying

parent aef05843
No related branches found
No related tags found
No related merge requests found
......@@ -74,11 +74,14 @@ void MultiCovBam::CollectCoverage()
BamAlignment al;
while ( reader.GetNextAlignment(al) )
{
// map qual must exceed minimum
if (al.MapQuality >= _minQual) {
// ignore if not properly paired and we actually care.
if (_properOnly && !al.IsProperPair())
continue;
// lookup the offset of the file name and tabulate coverage
// for the appropriate file
// lookup the offset of the file name and tabulate
//coverage for the appropriate file
counts[bamFileMap[al.Filename]]++;
}
}
......
......@@ -149,5 +149,6 @@ void ShowHelp(void) {
cerr << "\t-f\t" << "Minimum overlap required as a fraction of the alignment." << endl;
cerr << "\t\t- Default is 1E-9 (i.e., 1bp)." << endl;
cerr << "\t\t- FLOAT (e.g. 0.50)" << endl << endl;
exit(1);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment