@@ -82,14 +82,16 @@ smithlab::get_fdr_cutoff(const size_t n_tests, vector<double> &pvals,
8282char
8383complement (int i) {
8484 static const int b2c_size = 20 ;
85+ // clang-format off
8586 static const char b2c[] = {
8687 // A, b, C, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, T
87- ' T' ,' N' ,' G' ,' N' ,' N' ,' N' ,' C' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' A'
88+ ' T' ,' N' ,' G' ,' N' ,' N' ,' N' ,' C' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' A'
8889 };
8990 static const char b2cl[] = {
9091 // A, b, C, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, T
91- ' t' ,' n' ,' g' ,' n' ,' n' ,' n' ,' c' ,' n' ,' n' ,' n' ,' n' ,' n' ,' n' ,' n' ,' n' ,' n' ,' n' ,' n' ,' n' ,' a'
92+ ' t' ,' n' ,' g' ,' n' ,' n' ,' n' ,' c' ,' n' ,' n' ,' n' ,' n' ,' n' ,' n' ,' n' ,' n' ,' n' ,' n' ,' n' ,' n' ,' a'
9293 };
94+ // clang-format on
9395 if (i - ' A' >= 0 && i - ' A' < b2c_size)
9496 return b2c[i - ' A' ];
9597 else if (i - ' a' >= 0 && i - ' a' < b2c_size)
@@ -236,6 +238,7 @@ ProgressBar::report(std::ostream &out, const size_t i) {
236238 out << ' \n ' ;
237239}
238240
241+ // clang-format off
239242char to_valid_five_letter[] = {
240243/* 0*/ ' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' , /* 15*/
241244/* 16*/ ' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' , /* 31*/
@@ -246,3 +249,4 @@ char to_valid_five_letter[] = {
246249/* 96*/ ' N' ,' A' ,' N' ,' C' ,' N' ,' N' ,' N' ,' G' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' , /* 111*/
247250/* 112*/ ' N' ,' N' ,' N' ,' N' ,' T' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' ,' N' /* 127*/
248251};
252+ // clang-format on
0 commit comments