Skip to content

Commit 571d95d

Browse files
Merge pull request #131 from smithlabcode/roi-improvements
2 parents 461ddc1 + 8cf33a1 commit 571d95d

File tree

7 files changed

+400
-390
lines changed

7 files changed

+400
-390
lines changed

data/md5sum.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ ae05a28de5643a512386e767b3aa963a tests/araTha1_simulated.hypermr
1010
6de21c61705040072be76cddae481cfa tests/reads.fmt.srt.sam
1111
1cf51932cef739544b91a41bdfdb8841 tests/reads.fmt.srt.uniq.sam
1212
103225f9a3adc45836e366551989909b tests/reads.hmr
13-
3cbec246887d1837f004e4643148f7e6 tests/reads.levels
13+
94b49aa7f7b0bc950541cb2fddfc44e4 tests/reads.levels
1414
3bf209c27c99134386ea63756ff9fe2c tests/reads.mstats
1515
7a02c7d93111403a4619ccc74aa3c78e tests/reads.sam
1616
b067a733102e611ca614ae22fc944471 tests/reads.ustats
1717
8e5ad0faefe241de9c2c5748e005e2e8 tests/simreads_1.fq
1818
4ebacfec717182fafce46b037591b228 tests/simreads_2.fq
1919
3ba5a1c4c420ca7a2dbd88290033c3bc tests/tRex1.idx
20-
b5270bb38d798741cfa74f411a0d49bf tests/tRex1_promoters.roi.bed
20+
dd7e42f50d271630d735b1cfa5036cfa tests/tRex1_promoters.roi.bed
2121
e7e9590475a7f9b1ae41701d81892e57 tests/two_epialleles.amr
2222
ec6a686617cad31e9f7a37a3d378e6ed tests/two_epialleles.states

src/analysis/metagene.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,14 +209,14 @@ metagene(int argc, const char **argv) {
209209

210210
if (verbose)
211211
cerr << "output columns:\n"
212-
<< LevelsCounter::tostring_as_row_header() << endl;
212+
<< LevelsCounter::format_header() << endl;
213213

214214
std::ofstream of;
215215
if (!outfile.empty()) of.open(outfile);
216216
std::ostream out(of.is_open() ? of.rdbuf() : std::cout.rdbuf());
217217

218218
for (auto i = 0u; i < levels.size(); ++i)
219-
out << i * bin_size << '\t' << levels[i].tostring_as_row() << endl;
219+
out << i * bin_size << '\t' << levels[i].format_row() << endl;
220220
}
221221
catch (std::exception &e) {
222222
cerr << e.what() << endl;

0 commit comments

Comments
 (0)