|
1 | | -/* Copyright (C) 2013-2024 University of Southern California and |
| 1 | +/* Copyright (C) 2013-2025 University of Southern California and |
2 | 2 | * Andrew D. Smith and Timothy Daley |
3 | 3 | * |
4 | 4 | * Authors: Timothy Daley and Andrew Smith |
5 | 5 | * |
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. |
10 | 10 | * |
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. |
15 | 15 | * |
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/>. |
19 | 18 | */ |
20 | 19 |
|
21 | 20 | #ifndef SRC_GC_EXTRAP_HPP_ |
22 | 21 | #define SRC_GC_EXTRAP_HPP_ |
23 | 22 |
|
24 | | -int |
25 | | -gc_extrap_main(int argc, char *argv[]); |
| 23 | +namespace gc_extrap { |
| 24 | + |
| 25 | +static constexpr auto about_msg = R"( |
| 26 | +Estimate the size of the part of the genome to be covered by mapped reads. |
| 27 | +)"; |
| 28 | + |
| 29 | +static constexpr auto footer_msg = R"( |
| 30 | +This approach is described in Daley & Smith (2014). The method is the same as |
| 31 | +for lc_extrap: using rational function approximation to a power-series |
| 32 | +expansion for the number of "unobserved" bases in the initial sample. The |
| 33 | +gc_extrap method is adapted to deal with individual nucleotides rather than |
| 34 | +distinct reads. |
| 35 | +)"; |
| 36 | + |
| 37 | +auto |
| 38 | +main(int argc, char *argv[]) -> int; |
| 39 | + |
| 40 | +}; // namespace gc_extrap |
26 | 41 |
|
27 | 42 | #endif // SRC_GC_EXTRAP_HPP_ |
0 commit comments