Skip to content

Commit

Permalink
Increase default subsampling size
Browse files Browse the repository at this point in the history
  • Loading branch information
eblerjana authored Jan 2, 2024
1 parent e981195 commit 7c171f3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/commands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,8 @@ int run_single_command(string precomputed_prefix, string readfile, string reffil
if (nr_paths > 500) cerr << "Warning: panel is large and PanGenie might take a long time genotyping. Try reducing the panel size prior to genotyping." << endl;
// handle case when sampling_size is not set
if (sampling_size == 0) {
if (nr_paths > 90) {
sampling_size = 45;
if (nr_paths > 220) {
sampling_size = 110;
} else {
sampling_size = nr_paths;
}
Expand Down Expand Up @@ -932,8 +932,8 @@ int run_genotype_command(string precomputed_prefix, string readfile, string outn
if (nr_paths > 500) cerr << "Warning: panel is large and PanGenie might take a long time genotyping. Try reducing the panel size prior to genotyping." << endl;
// handle case when sampling_size is not set
if (sampling_size == 0) {
if (nr_paths > 90) {
sampling_size = 45;
if (nr_paths > 220) {
sampling_size = 110;
} else {
sampling_size = nr_paths;
}
Expand Down Expand Up @@ -1073,4 +1073,4 @@ int run_genotype_command(string precomputed_prefix, string readfile, string outn
cerr << "#######################################" << endl << endl;
return 0;

}
}

0 comments on commit 7c171f3

Please sign in to comment.