Skip to content

Commit

Permalink
Fix missing data treatment in window average available loci setting #26
Browse files Browse the repository at this point in the history
  • Loading branch information
lczech committed Jul 16, 2024
1 parent 5bc391e commit 5b8bcb8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ include( "${CMAKE_CURRENT_LIST_DIR}/tools/cmake/DownloadDependency.cmake" )
# These are replaced by tools/cmake/update_dependencies.sh to the hashes that are currently checked out.
# Thus, do not replace the hashes manually!
SET( CLI11_COMMIT_HASH "5cb3efabce007c3a0230e4cc2e27da491c646b6c" ) #CLI11_COMMIT_HASH#
SET( genesis_COMMIT_HASH "ca0afb161a540ce2eebda24e3f511cde86dbeaf0" ) #genesis_COMMIT_HASH#
SET( genesis_COMMIT_HASH "7c49b5e897645d6ab4673e199987b02ea81c855e" ) #genesis_COMMIT_HASH#

# Call the github download function, which takes four arguments:
# - LIBPATH : Path to the libracy dir where dependencies are stored.
Expand Down
2 changes: 1 addition & 1 deletion libs/genesis
4 changes: 2 additions & 2 deletions src/options/window_average.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ CLI::Option* WindowAverageOptions::add_window_average_opt_to_app(
"Denominator to use when computing the average of a metric in a window: "
"\n(1) `window-length`: Simply use the window length, which likely underestimates the metric, "
"in particular in regions with low coverage and high missing data."
"\n(2) `available-loci`: Use the number of positions for which there was data at all, "
"independent of all filter settings."
"\n(2) `available-loci`: Use the number of positions for which there was data at all "
"(that is, absent or missing data is excluded), independent of all other filter settings."
"\n(3) `valid-loci`: Use the number of positions that passed all quality and numerical "
"filters (that is, excluding the SNP-related filters). This uses all positions of high "
"quality, and is the recommended policy when the input contains data for all positions."
Expand Down

0 comments on commit 5b8bcb8

Please sign in to comment.