-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework diversity command to use new tagging filters
- Loading branch information
Showing
7 changed files
with
294 additions
and
388 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,13 +19,14 @@ | |
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
Contact: | ||
Lucas Czech <[email protected]> | ||
Department of Plant Biology, Carnegie Institution For Science | ||
260 Panama Street, Stanford, CA 94305, USA | ||
Lucas Czech <[email protected]> | ||
University of Copenhagen, Globe Institute, Section for GeoGenetics | ||
Oster Voldgade 5-7, 1350 Copenhagen K, Denmark | ||
*/ | ||
|
||
#include "CLI/CLI.hpp" | ||
|
||
#include "options/diversity_processor.hpp" | ||
#include "options/file_output.hpp" | ||
#include "options/poolsizes.hpp" | ||
#include "options/table_output.hpp" | ||
|
@@ -51,17 +52,11 @@ class DiversityOptions | |
VariantFilterNumericalOptions filter_numerical; | ||
VariantTransformSubsampleOptions transform_subsample; | ||
WindowOptions window; | ||
PoolsizesOptions poolsizes; | ||
|
||
// Using defaults from PoPoolation, see Variance-sliding.pl | ||
CliOption<std::string> measure = "all"; | ||
// CliOption<size_t> min_count = 2; | ||
// CliOption<size_t> min_read_depth = 4; | ||
// CliOption<size_t> max_read_depth = 1000000; | ||
// CliOption<double> min_read_depth_fraction = 0.6; | ||
|
||
// Compatibility | ||
CliOption<bool> with_popoolation_bugs = false; | ||
// Specific settings | ||
DiversityProcessorOptions diversity_processor; | ||
CliOption<bool> no_extra_columns = false; | ||
CliOption<bool> no_nan_windows = false; | ||
CliOption<bool> popoolation_format = false; | ||
|
||
// Output options | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters