Skip to content
Snippets Groups Projects
Commit 1b810b62 authored by arq5x's avatar arq5x
Browse files

[ENH] intergrate merge changes from @kcha.

parent 17c265ec
No related branches found
No related tags found
No related merge requests found
......@@ -186,12 +186,12 @@ void BedMerge::ReportStranded(string chrom, int start,
// just the merged intervals
if (_numEntries == false && _reportNames == false &&
_reportScores == false) {
printf("\t%s\n", strand.c_str());
printf("\t\t\t%s\n", strand.c_str());
}
// merged intervals and counts
else if (_numEntries == true && _reportNames == false &&
_reportScores == false) {
printf("\t%d\t%s\n", mergeCount, strand.c_str());
printf("\t\t%d\t%s\n", mergeCount, strand.c_str());
}
// merged intervals, counts, and scores
else if (_numEntries == true && _reportNames == false &&
......@@ -219,11 +219,12 @@ void BedMerge::ReportStranded(string chrom, int start,
else if (_numEntries == false && _reportNames == true &&
_reportScores == false) {
ReportMergedNames(names);
printf("\t%s\n", strand.c_str());
printf("\t\t%s\n", strand.c_str());
}
// merged intervals and scores
else if (_numEntries == false && _reportNames == false &&
_reportScores == true) {
printf("\t");
ReportMergedScores(scores);
printf("\t%s\n", strand.c_str());
}
......
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