33 *
44 * Authors: Timothy Daley and Andrew Smith
55 *
6- * This program is free software: you can redistribute it and/or
7- * modify it under the terms of the GNU General Public License as
8- * published by the Free Software Foundation, either version 3 of the
9- * License, or (at your option) any later version.
6+ * This program is free software: you can redistribute it and/or modify it
7+ * under the terms of the GNU General Public License as published by the Free
8+ * Software Foundation, either version 3 of the License, or (at your option)
9+ * any later version.
1010 *
11- * This program is distributed in the hope that it will be useful, but
12- * WITHOUT ANY WARRANTY; without even the implied warranty of
13- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14- * General Public License for more details.
11+ * This program is distributed in the hope that it will be useful, but WITHOUT
12+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14+ * more details.
1515 *
16- * You should have received a copy of the GNU General Public License
17- * along with this program. If not, see
18- * <http://www.gnu.org/licenses/>.
16+ * You should have received a copy of the GNU General Public License along
17+ * with this program. If not, see <http://www.gnu.org/licenses/>.
1918 */
2019
2120#include " bound_pop.hpp"
3433#include < cstdlib>
3534#include < exception>
3635#include < fstream>
36+ #include < functional>
3737#include < iostream>
3838#include < iterator>
3939#include < memory> // IWYU pragma: keep
@@ -73,7 +73,9 @@ bound_pop::main(int argc, char *argv[]) -> int { // NOLINT (*-avoid-c-arrays)
7373 std::uint32_t seed = 408 ;
7474 // NOLINTEND(*-avoid-magic-numbers)
7575
76+ #ifdef HAVE_HTSLIB
7677 std::uint32_t n_threads{1 };
78+ #endif
7779
7880 CLI::App app{rlstrip (about_msg)};
7981 argv = app.ensure_utf8 (argv);
@@ -95,8 +97,7 @@ bound_pop::main(int argc, char *argv[]) -> int { // NOLINT (*-avoid-c-arrays)
9597 app.add_option (" -c,--ci-level" , c_level, " level for confidence intervals" );
9698 app.add_option (" -r,--seed" , seed, " seed for random number generator" );
9799 app.add_flag (" -p,--paired-end" , paired_end, " input is paired end read file" );
98- app.add_flag (" -Q,--quick" , quick_mode,
99- " quick mode, estimate without bootstrapping" );
100+ app.add_flag (" -q,--quick" , quick_mode, " no bootstraps when making estimates" );
100101 app.add_flag (" -v,--verbose" , verbose, " print moments and boostraps with output" );
101102 // clang-format on
102103
0 commit comments